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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc21b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov al, 5
cmp al, byte [ecx + 2]
mov ecx, dword [0x51ae08]
push edi
sbb edi, edi
and edi, dword [0x51ae1c]
xor ebx, ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ecx
cmp ecx, ebx
je 0x48814f
call fcn.0041acb0
mov byte [esp + 0x10], bl
cmp edi, ebx
je 0x488162
test byte [edi + 0x15], 2
mov byte [esp + 0x12], 1
jne 0x488166
mov byte [esp + 0x12], bl
xor edx, edx
mov eax, esi
mov byte [esp + 0x13], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x11], bl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x24], ebx
call fcn.0040e320
test al, al
je 0x4881a9
push 0x10
push ebx
push esi
call fcn.004cb90a
add esp, 0xc
jmp 0x4881b2
push esi
call fcn.004cae91
add esp, 4
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x5c]
mov eax, edi
mov dword [esp + 0x14], ecx
call fcn.0040e320
test al, al
je 0x4881da
push 0x10
push ebx
push edi
call fcn.004cb90a
add esp, 0xc
jmp 0x4881e3
push edi
call fcn.004cae91
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov ebx, esi
lea eax, [esp + 0x48]
mov dword [esp + 0x20], 1
call fcn.00414350
mov dword [esp + 0xfc], 0
mov esi, dword [esp + 0x4c]
push esi
call fcn.004ccb85
add esp, 4
push 0x73
push esi
mov ebx, eax
call fcn.004ca9cb
add esp, 8
test eax, eax
setne al
mov byte [esp + 0x64], al
test al, al
jne 0x48824b
push 0x7c
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x4884a3
mov edi, 2
push 0x7c
add ebx, edi
push ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x4c], edi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x488287
lea ecx, [ecx]
add eax, 2
push 0x7c
push eax
inc edi
call fcn.004ca9cb
add esp, 8
test eax, eax
jne 0x488270
mov dword [esp + 0x44], edi
lea edx, [edi*4]
push edx
call fcn.004c9c38
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x4889f0
cmp word [esi], 0
mov dword [esp + 0x14], 0
je 0x488498
cmp dword [esp + 0x14], edi
jge 0x488498
nop
movzx eax, word [esi]
cmp eax, 0x20
je 0x4882cd
cmp eax, 9
jne 0x4882d2
add esi, 2
jmp 0x4882c0
movzx eax, word [esi]
test ax, ax
je 0x488498
cmp eax, 0x7c
jne 0x4882eb
add esi, 2
jmp 0x488483
lea eax, [esi + 2]
push 0x7c
push eax
call fcn.004ca9cb
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x48830d
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [esp + 0x60], eax
push 0x73
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x48841f
push 0x78
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x488332
lea esi, [eax + 2]
mov ebx, 0x4ebd9c
mov eax, esi
call fcn.00409d30
test eax, eax
je 0x488347
xor edx, edx
mov word [eax], dx
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x488350
sub eax, edx
sar eax, 1
xor ebx, ebx
lea eax, [esi + eax*2 - 2]
xor edi, edi
lea ecx, [ebx + 1]
cmp esi, eax
ja 0x48838a
cmp word [eax], 0x73
jne 0x488381
inc edi
je 0x488381
mov edx, 0x30
mov word [eax], dx
or ebx, ecx
sub eax, 2
rol ecx, 1
cmp eax, esi
jae 0x48836e
push 0x10
push 0
push esi
call fcn.004cb270
add esp, 0xc
and eax, 0xffffff
cmp edi, 5
jge 0x488493
and edi, 0x80000001
jns 0x4883b2
dec edi
or edi, 0xfffffffe
inc edi
jne 0x488493
mov ecx, ebx
shr ecx, 1
mov edx, ebx
not ecx
not edx
xor ecx, edx
test cl, 1
jne 0x488493
mov ecx, ebx
shr ecx, 3
mov edx, ebx
shr edx, 2
not ecx
not edx
xor ecx, edx
test cl, 1
jne 0x488493
mov ecx, ebx
shr ecx, 5
mov edx, ebx
shr edx, 4
not ecx
not edx
xor ecx, edx
test cl, 1
jne 0x488493
test bl, 1
je 0x488409
or eax, 0x4000000
test bl, 4
je 0x488413
or eax, 0x2000000
test bl, 0x10
je 0x48844b
or eax, 0x1000000
jmp 0x48844b
mov eax, esi
call fcn.0040e320
test al, al
je 0x488439
push 0x10
push 0
push esi
call fcn.004cb90a
add esp, 0xc
jmp 0x488442
push esi
call fcn.004cae91
add esp, 4
mov dword [esp + 0x2c], edx
and eax, 0xffffff
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
xor ecx, ecx
test esi, esi
jle 0x48846f
lea esp, [esp]
cmp dword [edi + ecx*4], eax
sete dl
test dl, dl
jne 0x488477
inc ecx
cmp ecx, esi
jl 0x488460
mov dword [edi + esi*4], eax
inc esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x60]
test esi, esi
je 0x488498
mov edi, dword [esp + 0x44]
inc dword [esp + 0x14]
cmp word [esi], 0
jne 0x4882b5
jmp 0x488498
mov byte [esp + 0x10], 1
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov ebx, edi
lea eax, [esp + 0x48]
call fcn.00414350
push eax
call fcn.004ccb85
add esp, 4
mov esi, eax
push 0x73
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x4885c9
push 0x78
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x4884de
lea esi, [eax + 2]
mov ebx, 0x4ebd9c
mov eax, esi
call fcn.00409d30
test eax, eax
je 0x4884f3
xor ecx, ecx
mov word [eax], cx
mov eax, esi
lea edx, [eax + 2]
jmp 0x488500
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x488500
sub eax, edx
sar eax, 1
xor ebx, ebx
lea eax, [esi + eax*2 - 2]
xor edi, edi
lea ecx, [ebx + 1]
cmp esi, eax
ja 0x48853a
cmp word [eax], 0x73
jne 0x488531
inc edi
je 0x488531
mov edx, 0x30
mov word [eax], dx
or ebx, ecx
sub eax, 2
rol ecx, 1
cmp eax, esi
jae 0x48851e
push 0x10
push 0
push esi
call fcn.004cb270
add esp, 0xc
and eax, 0xffffff
cmp edi, 5
jge 0x488560
and edi, 0x80000001
jns 0x48855e
dec edi
or edi, 0xfffffffe
inc edi
je 0x488565
mov byte [esp + 0x10], 1
mov ecx, ebx
shr ecx, 1
mov edx, ebx
not ecx
not edx
xor ecx, edx
test cl, 1
jne 0x4885a0
mov ecx, ebx
shr ecx, 3
mov edx, ebx
shr edx, 2
not ecx
not edx
xor ecx, edx
test cl, 1
jne 0x4885a0
mov ecx, ebx
shr ecx, 5
mov edx, ebx
shr edx, 4
not ecx
not edx
xor ecx, edx
test cl, 1
je 0x4885a5
mov byte [esp + 0x10], 1
test bl, 1
je 0x4885af
or eax, 0x4000000
test bl, 4
je 0x4885b9
or eax, 0x2000000
test bl, 0x10
je 0x4885c3
or eax, 0x1000000
mov dword [esp + 0x18], eax
jmp 0x4885d1
and dword [esp + 0x18], 0xffffff
cmp byte [esp + 0x12], 0
je 0x4887a9
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x17], 0
jne 0x4885e9
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ebx, 5
xor edi, edi
mov ecx, esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], str.xywh
mov dword [esp + 0x7c], edi
call fcn.0041b2d0
test al, al
je 0x4887a9
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x98], 0x50d2a0
mov dword [esp + 0x9c], edi
call fcn.0041b2d0
test al, al
je 0x4887a9
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xc4]
push edx
mov ecx, esi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xd8], 0x50d2a4
mov dword [esp + 0xdc], edi
call fcn.0041b2d0
test al, al
je 0x4887a9
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xe4]
push ecx
mov ecx, esi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xb8], 0x50d2a8
mov dword [esp + 0xbc], edi
call fcn.0041b2d0
test al, al
je 0x4887a9
mov eax, dword [esp + 0x88]
cmp eax, 1
jne 0x4886e2
mov edx, dword [esp + 0x80]
mov dword [esp + 0x38], edx
jmp 0x488702
cmp eax, ebx
jne 0x4886f8
mov esi, dword [esp + 0x80]
call fcn.0041ac40
mov dword [esp + 0x2c], edx
jmp 0x4886fe
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
cmp eax, 1
jne 0x488717
mov eax, dword [esp + 0xa0]
jmp 0x488733
cmp eax, ebx
jne 0x48872d
mov esi, dword [esp + 0xa0]
call fcn.0041ac40
mov dword [esp + 0x2c], edx
jmp 0x488733
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
cmp eax, 1
jne 0x488750
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x34], ecx
jmp 0x488770
cmp eax, ebx
jne 0x488766
mov esi, dword [esp + 0xc0]
call fcn.0041ac40
mov dword [esp + 0x2c], edx
jmp 0x48876c
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe8]
cmp eax, 1
jne 0x488789
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x40], edx
jmp 0x4887a9
cmp eax, ebx
jne 0x48879f
mov esi, dword [esp + 0xe0]
call fcn.0041ac40
mov dword [esp + 0x2c], edx
jmp 0x4887a5
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], eax
mov esi, dword [ebp + 0x14]
lea esp, [esp]
movzx eax, word [esi]
cmp eax, 0x20
je 0x4887bd
cmp eax, 9
jne 0x4887c2
add esi, 2
jmp 0x4887b0
cmp word [esi], 0x2a
jne 0x48892c
lea esp, [esp]
push 3
push 0x50d2ac
add esi, 2
call fcn.004a4b10
add esp, 4
push eax
push esi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4887fd
add esi, 6
mov byte [esp + 0x13], 1
jmp 0x4888d6
push 6
push 0x50d40c
call fcn.004a4b10
add esp, 4
push eax
push esi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x488827
add esi, 0xc
mov byte [esp + 0x58], 1
jmp 0x4888d6
push 9
push 0x50d2f0
call fcn.004a4b10
add esp, 4
push eax
push esi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x488851
add esi, 0x12
mov byte [esp + 0x11], 1
jmp 0x4888d6
cmp word [esi], 0
je 0x4888d6
push 1
push 0x50d42c
push esi
xor ebx, ebx
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x488875
add esi, 2
or ebx, 0xffffffff
jmp 0x48888f
push 1
push 0x50a8e8
push esi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x48888f
add esi, 2
lea ebx, [eax + 1]
mov eax, esi
call fcn.0040e320
test al, al
je 0x4888a9
push 0x10
push 0
push esi
call fcn.004cb270
add esp, 0xc
jmp 0x4888b2
push esi
call fcn.004cae86
add esp, 4
test eax, eax
jns 0x4888ba
xor eax, eax
jmp 0x4888c6
cmp eax, 0xff
jle 0x4888c6
mov eax, 0xff
test ebx, ebx
js 0x4888d1
mov word [esp + 0x1e], ax
jg 0x4888d6
mov word [esp + 0x1c], ax
test esi, esi
je 0x48892c
movzx eax, word [esi]
test ax, ax
je 0x48892c
movzx edx, ax
mov ecx, 0x4ebd9c
mov eax, 0x20
nop
cmp dx, ax
je 0x488910
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4888f0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x4888e2
jmp 0x48892c
movzx eax, word [esi]
cmp eax, 0x20
je 0x48891d
cmp eax, 9
jne 0x488922
add esi, 2
jmp 0x488910
cmp word [esi], 0x2a
je 0x4887d0
cmp byte [esp + 0x10], 0
jne 0x4889d4
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x20]
je 0x488992
mov eax, dword [esp + 0x18]
mov ecx, eax
movzx edx, al
shr ecx, 0x10
and ecx, 0xff
shl edx, 0x10
or ecx, edx
mov edx, dword [esp + 0x14]
and eax, 0xff00ff00
or ecx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
test esi, esi
jle 0x488996
mov edi, edi
mov ecx, dword [edx + eax*4]
movzx edi, byte [edx + eax*4 + 2]
movzx ebx, cl
shl ebx, 0x10
or edi, ebx
and ecx, 0xff00ff00
or edi, ecx
mov dword [edx + eax*4], edi
inc eax
cmp eax, esi
jl 0x488970
jmp 0x488996
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push esi
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.00488ab0
add esp, 0x30
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4889e5
push eax
call fcn.004ca991
add esp, 4
cmp byte [esp + 0x11], 0
mov esi, dword [esp + 0x4c]
jne 0x488a00
cmp dword [ebp + 0xc], 0
je 0x488a00
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x488a35
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x488a1c
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401590
mov ecx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6a28
push ecx
call fcn.004aefb0
jmp 0x488a70
mov edx, dword [0x5165ec]
test byte [edx + 0x100], 1
jne 0x488a5c
mov eax, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4eb75c
push eax
call fcn.004aefb0
jmp 0x488a70
mov ecx, dword [ebp + 8]
push 0x4f5ac4
push 0
push 0x4eb75c
call fcn.0042dac0
mov edi, eax
test esi, esi
je 0x488a8f
mov ecx, dword [esp + 0x48]
push ecx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov ecx, dword [esp + 0xf4]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14