Function at 0x489cd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d91b7
push eax
mov eax, 0x3298
mov dword fs:[0], esp
call fcn.004d2ec0
mov edx, dword [0x4eb4c0]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x38], ecx
xor ebp, ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x10], edx
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x12aa]
mov word [esp + 0x12a8], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [esp + 0x32b8]
mov dword [esp + 0x32b0], ebp
test al, 1
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x44], 0x1000
mov dword [esp + 0x3c], ebp
je 0x489f82
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x262]
mov word [esp + 0x260], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or eax, 0xffffffff
mov ebx, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x38]
mov edi, dword [0x4db688]
lea ecx, [esp + 0x260]
push 0x823
mov dword [eax + 0x94], ebp
mov edx, dword [0x6deea8]
push ecx
push 0x46
push edx
mov byte [esp + 0x32c0], bl
call edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x260]
push eax
push 0x4fa9d4
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x40], ebx
call fcn.004afc20
mov edx, dword [esp + 0x1c]
mov ebp, dword [0x4db3c0]
push edx
mov esi, eax
call ebp
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0048def0
lea ecx, [esp + 0x40]
push ecx
call fcn.0048e1d0
mov edx, dword [esp + 0x54]
add esp, 0x1c
lea ecx, [esp + 0x18]
mov eax, dword [edx + 0x8c]
lea esi, [edx + 0x84]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.0043a730
mov eax, dword [0x6deea8]
lea edx, [esp + 0x260]
push 0x823
push edx
push 0x47
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], ebx
call edi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x260]
push ecx
push 0x4fa9d4
push edx
call fcn.004afc20
mov ebx, eax
mov eax, dword [esp + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
push ecx
push ebx
call fcn.0048def0
lea edx, [esp + 0x40]
push edx
call fcn.0048e1d0
mov eax, dword [esi + 8]
add esp, 0x1c
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
push ebx
push eax
mov ecx, esi
call fcn.0043a730
mov eax, dword [0x6deea8]
lea edx, [esp + 0x260]
push 0x823
push edx
push 0xc35b
push eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x44], ebx
call edi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x260]
push ecx
push 0x4fa9d4
push edx
call fcn.004afc20
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
push ecx
push edi
call fcn.0048def0
mov eax, dword [esi + 8]
add esp, 0x18
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push ebx
push eax
call fcn.0043a730
mov dword [esp + 0x3c], 2
mov eax, dword [esp + 0x30]
mov edx, dword [str.GdiplusStartup]
mov byte [esp + 0x32b0], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x489f4f
add eax, 0xfffffff4
push eax
call dword [0x4db2cc]
test eax, eax
jg 0x489f4f
mov edx, dword [esp + 0x30]
lea eax, [edx - 0xc]
push eax
call fcn.004d2ea5
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00407750
lea ecx, [esp + 0x28]
mov byte [esp + 0x32b0], 2
call fcn.00407750
lea ecx, [esp + 0x24]
mov byte [esp + 0x32b0], 0
call fcn.00407750
mov esi, dword [esp + 0x50]
xor ebp, ebp
jmp 0x489f87
mov ebx, 1
test byte [esp + 0x32b8], 2
je 0x48a31e
mov eax, dword [0x4fdd30]
mov dword [esp + 0x40], ebp
cmp eax, ebp
jne 0x489fb7
lea eax, [esp + 0x40]
push eax
push 0x4fa9dc
push 0x80000001
call dword [0x4db02c]
lea ecx, [esp + 0x44]
push ebp
lea edx, [esp + 0x12ac]
push ecx
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x68]
push ecx
push edx
push ebp
xor edi, edi
push 0x4fa9dc
push eax
mov dword [esp + 0x6c], edi
call fcn.004ade90
add esp, 0x24
test eax, eax
jne 0x48a2d2
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x4c], ebx
jne 0x48a282
lea ecx, [esp + 0x58]
push ecx
call dword [0x4db410]
add esp, 4
test eax, eax
je 0x48a282
mov eax, dword [0x4eb4c0]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x58]
add edi, 4
test edx, edx
mov byte [esp + 0x32b0], 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x14
jne 0x48a055
xor ebx, ebx
jmp 0x48a062
lea eax, [esp + 0x58]
push eax
call dword [0x4db2d0]
mov ebx, eax
push ebx
lea ecx, [esp + 0x28]
call fcn.004076f0
test eax, eax
je 0x48a09a
mov edi, dword [esp + 0x24]
lea eax, [ebx + ebx]
mov ecx, eax
lea esi, [esp + 0x58]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x24]
mov word [eax + edx], bp
lea eax, [esp + 0x10]
lea ecx, [esp + 0x12a8]
push eax
push 0x4fa9d4
push ecx
mov dword [esp + 0x40], 2
call fcn.004afc20
mov edx, dword [0x4eb4c0]
mov edi, eax
mov eax, 0x4fa9d0
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], edx
je 0x48a122
push eax
call dword [0x4db31c]
mov esi, eax
cmp esi, ebp
je 0x48a122
push esi
lea ecx, [esp + 0x18]
call fcn.00407580
test eax, eax
je 0x48a122
mov ecx, dword [esp + 0x14]
lea eax, [esi + 1]
cmp eax, ebp
mov esi, ecx
jne 0x48a0fd
cmp ecx, ebp
jne 0x48a117
push eax
push ecx
push 0xffffffffffffffff
push 0x4fa9d0
push ebp
push ebp
call dword [0x4db320]
cmp eax, ebp
jle 0x48a117
mov word [esi + eax*2 - 2], bp
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00410780
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [0x4db3e8]
mov edx, dword [str.GdiplusStartup]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48a16d
mov esi, dword [0x4db2cc]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x48a173
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004d2ea5
add esp, 4
jmp 0x48a173
mov esi, dword [0x4db2cc]
xor eax, eax
lea ecx, [esp + 0x28]
test bl, bl
push ecx
push 0x4fa9d4
setne al
push edi
mov dword [esp + 0x2c], eax
call fcn.004afc20
lea edx, [esp + 0x3c]
push edx
push 0x4fa9d4
push eax
call fcn.004afc20
lea ecx, [esp + 0x44]
push ecx
push 0x4fa9d4
push eax
call fcn.004afc20
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
inc edx
inc ecx
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x64], ecx
call fcn.0048e1d0
mov eax, dword [esp + 0x60]
add esp, 0x28
lea edx, [esp + 0x18]
lea ecx, [eax + 0x84]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.0043a730
mov eax, dword [esp + 0x30]
mov edx, dword [str.GdiplusStartup]
mov byte [esp + 0x32b0], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48a21a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x48a21a
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.004d2ea5
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [str.GdiplusStartup]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48a245
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x48a245
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.004d2ea5
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [str.GdiplusStartup]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48a270
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x48a270
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.004d2ea5
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00407750
mov edi, dword [esp + 0x48]
mov ebx, 1
lea eax, [esp + 0x44]
push ebp
lea ecx, [esp + 0x12ac]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x60]
push edx
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x68]
push eax
push ecx
push edi
push 0x4fa9dc
push edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], 0x104
mov dword [esp + 0x68], 0x1000
call fcn.004ade90
add esp, 0x24
test eax, eax
je 0x489ff9
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x48a2e1
push eax
call dword [0x4db028]
cmp dword [esp + 0x3c], ebp
jne 0x48a301
mov edi, dword [esp + 0x38]
push ebx
mov ecx, edi
call fcn.00489cd0
add edi, 0x94
push 0x80000001
push edi
jmp 0x48a310
mov eax, dword [esp + 0x38]
push 0x80000001
add eax, 0x94
push eax
push 0x4fc18c
push ebp
call fcn.004adb30
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [str.GdiplusStartup]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48a34d
add eax, 0xfffffff4
push eax
call dword [0x4db2cc]
test eax, eax
jg 0x48a34d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d2ea5
add esp, 4
mov ecx, dword [esp + 0x32a8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x32a4
ret 4