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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cc7db
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 [0x4f0b10]
push edi
sbb edi, edi
and edi, dword [0x4f0b24]
xor ebx, ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ecx
cmp ecx, ebx
je 0x47fd4f
call fcn.0041a480
mov byte [esp + 0x10], bl
cmp edi, ebx
je 0x47fd62
test byte [edi + 0x15], 2
mov byte [esp + 0x12], 1
jne 0x47fd66
mov byte [esp + 0x12], bl
xor edx, edx
mov eax, esi
mov byte [esp + 0x13], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x11], bl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
call fcn.0040dd50
test al, al
je 0x47fda9
push 0x10
push ebx
push esi
call fcn.004bc27b
add esp, 0xc
jmp 0x47fdb2
push esi
call fcn.004bb6c1
add esp, 4
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x60]
mov eax, edi
mov dword [esp + 0x14], ecx
call fcn.0040dd50
test al, al
je 0x47fdda
push 0x10
push ebx
push edi
call fcn.004bc27b
add esp, 0xc
jmp 0x47fde3
push edi
call fcn.004bb6c1
add esp, 4
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0x58]
mov dword [esp + 0x28], 1
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
call fcn.00413c90
mov dword [esp + 0xfc], ebx
mov esi, dword [esp + 0x58]
push esi
call fcn.004bd800
add esp, 4
push 0x73
push esi
mov edi, eax
call fcn.004bb121
add esp, 8
test eax, eax
setne al
mov byte [esp + 0x64], al
test al, al
jne 0x47fe46
push 0x7c
push esi
call fcn.004bb121
add esp, 8
test eax, eax
je 0x48007d
push 0x7c
inc edi
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], 2
call fcn.004bb121
mov edi, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x47fe7b
inc eax
push 0x7c
push eax
inc edi
call fcn.004bb121
add esp, 8
cmp eax, ebx
jne 0x47fe66
mov dword [esp + 0x14], edi
lea edx, [edi*4]
push edx
call fcn.004ba2ed
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x480605
cmp byte [esi], 0
mov dword [esp + 0x40], 0
je 0x480073
jmp 0x47feb0
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x14]
jge 0x480073
mov edi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x47feca
cmp al, 9
jne 0x47fecd
inc esi
jmp 0x47fec0
mov al, byte [esi]
test al, al
je 0x480073
cmp al, 0x7c
jne 0x47fee1
inc esi
jmp 0x48005f
lea ecx, [esi + 1]
push 0x7c
push ecx
call fcn.004bb121
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x47feff
mov byte [eax], 0
inc eax
mov dword [esp + 0x48], eax
push 0x73
push esi
call fcn.004bb121
add esp, 8
test eax, eax
je 0x480001
push 0x78
push esi
call fcn.004bb121
add esp, 8
test eax, eax
je 0x47ff24
lea esi, [eax + 1]
mov edi, 0x4d9558
mov eax, esi
call fcn.004099e0
test eax, eax
je 0x47ff37
mov byte [eax], 0
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47ff40
sub eax, edx
xor ebx, ebx
lea eax, [eax + esi - 1]
xor edi, edi
lea ecx, [ebx + 1]
cmp esi, eax
ja 0x47ff6c
cmp byte [eax], 0x73
jne 0x47ff65
inc edi
je 0x47ff65
mov byte [eax], 0x30
or ebx, ecx
dec eax
rol ecx, 1
cmp eax, esi
jae 0x47ff58
push 0x10
push 0
push esi
call fcn.004bbb06
add esp, 0xc
and eax, 0xffffff
cmp edi, 5
jge 0x48006e
and edi, 0x80000001
jns 0x47ff94
dec edi
or edi, 0xfffffffe
inc edi
jne 0x48006e
mov edx, ebx
shr edx, 1
mov ecx, ebx
not edx
not ecx
xor edx, ecx
test dl, 1
jne 0x48006e
mov edx, ebx
shr edx, 3
mov ecx, ebx
shr ecx, 2
not edx
not ecx
xor edx, ecx
test dl, 1
jne 0x48006e
mov edx, ebx
shr edx, 5
mov ecx, ebx
shr ecx, 4
not edx
not ecx
xor edx, ecx
test dl, 1
jne 0x48006e
test bl, 1
je 0x47ffeb
or eax, 0x4000000
test bl, 4
je 0x47fff5
or eax, 0x2000000
test bl, 0x10
je 0x48002d
or eax, 0x1000000
jmp 0x48002d
mov eax, esi
call fcn.0040dd50
test al, al
je 0x48001b
push 0x10
push 0
push esi
call fcn.004bc27b
add esp, 0xc
jmp 0x480024
push esi
call fcn.004bb6c1
add esp, 4
mov dword [esp + 0x2c], edx
and eax, 0xffffff
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x48004f
jmp 0x480040
cmp dword [edi + ecx*4], eax
sete dl
test dl, dl
jne 0x480057
inc ecx
cmp ecx, esi
jl 0x480040
mov dword [edi + esi*4], eax
inc esi
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x480073
inc dword [esp + 0x40]
cmp byte [esi], 0
jne 0x47feb0
jmp 0x480073
mov byte [esp + 0x10], 1
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
xor ebx, ebx
mov eax, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x58]
call fcn.00413c90
push eax
call fcn.004bd800
add esp, 4
mov esi, eax
push 0x73
push esi
call fcn.004bb121
add esp, 8
test eax, eax
je 0x4801ab
push 0x78
push esi
call fcn.004bb121
add esp, 8
cmp eax, ebx
je 0x4800ba
lea esi, [eax + 1]
mov edi, esi
cmp esi, ebx
je 0x4800e9
mov dl, byte [esi]
test dl, dl
je 0x4800e9
mov ecx, 0x4d9558
mov al, 0x20
lea ecx, [ecx]
cmp dl, al
je 0x4800e6
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4800d0
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x4800c6
jmp 0x4800e9
mov byte [edi], 0
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4800f0
sub eax, edx
xor ebx, ebx
lea eax, [eax + esi - 1]
xor edi, edi
lea ecx, [ebx + 1]
cmp esi, eax
ja 0x48011c
cmp byte [eax], 0x73
jne 0x480115
inc edi
je 0x480115
mov byte [eax], 0x30
or ebx, ecx
dec eax
rol ecx, 1
cmp eax, esi
jae 0x480108
push 0x10
push 0
push esi
call fcn.004bbb06
add esp, 0xc
and eax, 0xffffff
cmp edi, 5
jge 0x480142
and edi, 0x80000001
jns 0x480140
dec edi
or edi, 0xfffffffe
inc edi
je 0x480147
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 0x480182
mov ecx, ebx
shr ecx, 3
mov edx, ebx
shr edx, 2
not ecx
not edx
xor ecx, edx
test cl, 1
jne 0x480182
mov ecx, ebx
shr ecx, 5
mov edx, ebx
shr edx, 4
not ecx
not edx
xor ecx, edx
test cl, 1
je 0x480187
mov byte [esp + 0x10], 1
test bl, 1
je 0x480191
or eax, 0x4000000
test bl, 4
je 0x48019b
or eax, 0x2000000
test bl, 0x10
je 0x4801a5
or eax, 0x1000000
mov dword [esp + 0x18], eax
jmp 0x4801b3
and dword [esp + 0x18], 0xffffff
cmp byte [esp + 0x12], 0
je 0x4803ae
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x17], 0
jne 0x4801cb
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
mov dword [esp + 0x80], 5
mov dword [esp + 0x78], str.xywh
mov dword [esp + 0x7c], 0
call fcn.0041aa90
test al, al
je 0x4803ae
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
mov dword [esp + 0xa0], 5
mov dword [esp + 0x98], 0x4e4114
mov dword [esp + 0x9c], 0
call fcn.0041aa90
test al, al
je 0x4803ae
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xc4]
push edx
mov ecx, esi
mov dword [esp + 0xe0], 5
mov dword [esp + 0xd8], 0x4e4118
mov dword [esp + 0xdc], 0
call fcn.0041aa90
test al, al
je 0x4803ae
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xe4]
push ecx
mov ecx, esi
mov dword [esp + 0xc0], 5
mov dword [esp + 0xb8], 0x4e411c
mov dword [esp + 0xbc], 0
call fcn.0041aa90
test al, al
je 0x4803ae
mov eax, dword [esp + 0x88]
cmp eax, 1
jne 0x4802df
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], edx
xor edi, edi
jmp 0x480304
cmp eax, 5
jne 0x4802f8
mov esi, dword [esp + 0x80]
call fcn.0041a410
mov dword [esp + 0x2c], edx
xor edi, edi
jmp 0x480300
xor edi, edi
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
cmp eax, 1
jne 0x480319
mov eax, dword [esp + 0xa0]
jmp 0x480336
cmp eax, 5
jne 0x480330
mov esi, dword [esp + 0xa0]
call fcn.0041a410
mov dword [esp + 0x2c], edx
jmp 0x480336
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc8]
cmp eax, 1
jne 0x480353
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x34], ecx
jmp 0x480374
cmp eax, 5
jne 0x48036a
mov esi, dword [esp + 0xc0]
call fcn.0041a410
mov dword [esp + 0x2c], edx
jmp 0x480370
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe8]
cmp eax, 1
jne 0x48038d
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x44], edx
jmp 0x4803ae
cmp eax, 5
jne 0x4803a4
mov esi, dword [esp + 0xe0]
call fcn.0041a410
mov dword [esp + 0x2c], edx
jmp 0x4803aa
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
mov esi, dword [ebp + 0x14]
mov al, byte [esi]
cmp al, 0x20
je 0x4803bb
cmp al, 9
jne 0x4803be
inc esi
jmp 0x4803b1
cmp byte [esi], 0x2a
mov bl, byte [esp + 0x13]
jne 0x480546
push 0x4e4120
inc esi
call fcn.0049be50
add esp, 4
push 3
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4803f3
add esi, 3
mov bl, 1
jmp 0x480505
push 0x4e41dc
call fcn.0049be50
add esp, 4
push 6
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48041d
add esi, 6
mov byte [esp + 0x50], 1
jmp 0x480505
push 0x4e4144
call fcn.0049be50
add esp, 4
push 9
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x480447
add esi, 9
mov byte [esp + 0x11], 1
jmp 0x480505
cmp byte [esi], 0
je 0x480505
push 1
push 0x4e41ec
push esi
xor edi, edi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48046c
inc esi
or edi, 0xffffffff
jmp 0x480484
push 1
push 0x4e2ea0
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x480484
inc esi
lea edi, [eax + 1]
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x480492
cmp cl, 9
jne 0x480495
inc eax
jmp 0x480486
mov cl, byte [eax]
test cl, cl
je 0x4804d8
cmp cl, 0x2d
je 0x4804a5
cmp cl, 0x2b
jne 0x4804a6
inc eax
cmp byte [eax], 0x30
jne 0x4804d8
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x4804b8
cmp cl, 0x58
jne 0x4804d8
movsx eax, byte [eax + 2]
push eax
call fcn.004bb8ab
add esp, 4
test eax, eax
je 0x4804d8
push 0x10
push 0
push esi
call fcn.004bbb06
add esp, 0xc
jmp 0x4804e1
push esi
call fcn.004bb6b6
add esp, 4
test eax, eax
jns 0x4804e9
xor eax, eax
jmp 0x4804f5
cmp eax, 0xff
jle 0x4804f5
mov eax, 0xff
test edi, edi
js 0x480500
mov word [esp + 0x1e], ax
jg 0x480505
mov word [esp + 0x1c], ax
test esi, esi
je 0x480546
mov dl, byte [esi]
test dl, dl
je 0x480546
nop
mov ecx, 0x4d9558
mov al, 0x20
cmp dl, al
je 0x480530
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x480517
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x480510
jmp 0x480546
mov al, byte [esi]
cmp al, 0x20
je 0x48053a
cmp al, 9
jne 0x48053d
inc esi
jmp 0x480530
cmp byte [esi], 0x2a
je 0x4803cb
cmp byte [esp + 0x10], 0
jne 0x4805e9
mov esi, dword [esp + 0x24]
test bl, bl
je 0x4805a7
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 0x4805ab
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 0x480585
jmp 0x4805ab
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push esi
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.004806c0
add esp, 0x30
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4805fa
push eax
call fcn.004ba14c
add esp, 4
cmp byte [esp + 0x11], 0
mov esi, dword [esp + 0x58]
jne 0x480613
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x480613
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x480647
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x48062f
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401570
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d69c8
push eax
call fcn.004a5c20
jmp 0x480683
mov ecx, dword [0x4ec48c]
test byte [ecx + 0xe0], 1
jne 0x48066f
mov edx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9220
push edx
call fcn.004a5c20
jmp 0x480683
mov ecx, dword [ebp + 8]
push 0x4d6959
push 0
push 0x4d9220
call fcn.0042d070
mov ebx, eax
test esi, esi
je 0x4806a2
mov eax, dword [esp + 0x54]
push eax
push 0
push esi
call fcn.004c16a0
add esp, 0xc
push esi
call fcn.004ba14c
add esp, 4
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14