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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
mov ecx, dword [ebp + 8]
push ebx
mov al, 5
cmp al, byte [ecx + 2]
mov ecx, dword [0x4f0b10]
push esi
sbb esi, esi
and esi, dword [0x4f0b24]
xor ebx, ebx
push edi
mov edi, 5
mov dword [esp + 0x44], ecx
cmp ecx, ebx
je 0x47ecd9
call fcn.0041a480
cmp esi, ebx
je 0x47ece7
test byte [esi + 0x15], 2
je 0x47ece7
mov al, 1
jmp 0x47ece9
xor al, al
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x15], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
test al, al
je 0x47eebe
cmp byte [esi + 0x17], bl
jne 0x47ed1d
mov esi, dword [esi + 0xc]
mov esi, dword [esi]
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x78], str.xywh
mov dword [esp + 0x7c], ebx
call fcn.0041aa90
test al, al
je 0x47eebe
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x58], 0x4e4114
mov dword [esp + 0x5c], ebx
call fcn.0041aa90
test al, al
je 0x47eebe
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xb8], 0x4e4118
mov dword [esp + 0xbc], ebx
call fcn.0041aa90
test al, al
je 0x47eebe
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x98], 0x4e411c
mov dword [esp + 0x9c], ebx
call fcn.0041aa90
test al, al
je 0x47eebe
mov eax, dword [esp + 0xc8]
cmp eax, 1
jne 0x47ee00
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x30], ecx
jmp 0x47ee20
cmp eax, edi
jne 0x47ee16
mov esi, dword [esp + 0xc0]
call fcn.0041a410
mov dword [esp + 0x2c], edx
jmp 0x47ee1c
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
cmp eax, 1
jne 0x47ee33
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], edx
jmp 0x47ee50
cmp eax, edi
jne 0x47ee46
mov esi, dword [esp + 0x60]
call fcn.0041a410
mov dword [esp + 0x2c], edx
jmp 0x47ee4c
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x88]
cmp eax, 1
jne 0x47ee65
mov eax, dword [esp + 0x80]
jmp 0x47ee81
cmp eax, edi
jne 0x47ee7b
mov esi, dword [esp + 0x80]
call fcn.0041a410
mov dword [esp + 0x2c], edx
jmp 0x47ee81
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
cmp eax, 1
jne 0x47ee9e
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x34], ecx
jmp 0x47eebe
cmp eax, edi
jne 0x47eeb4
mov esi, dword [esp + 0xa0]
call fcn.0041a410
mov dword [esp + 0x2c], edx
jmp 0x47eeba
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov esi, dword [ebp + 0x18]
or eax, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4c], bl
mov dword [esp + 0x18], ebx
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], 1
mov dword [esp + 0x48], ebx
mov byte [esp + 0xc], bl
mov byte [esp + 0xf], bl
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x47eefa
cmp al, 9
jne 0x47eefd
inc esi
jmp 0x47eef0
cmp byte [esi], 0x2a
jne 0x47f34c
jmp 0x47ef14
mov esi, dword [esp + 0x10]
inc esi
push 0x4e4120
mov dword [esp + 0x14], esi
call fcn.0049be50
add esp, 4
push 3
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47ef43
add esi, 3
mov byte [esp + 0x16], 1
jmp 0x47f1fb
push 0x4e412c
call fcn.0049be50
add esp, 4
push 0xd
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47eff7
mov al, byte [esi + 0xd]
add esi, 0xd
test al, al
je 0x47efe8
cmp al, 0x20
je 0x47efe8
cmp al, 9
je 0x47efe8
push 0x3b
lea edx, [esp + 0xd8]
push esi
push edx
call fcn.004bd1c0
add esp, 0xc
mov edi, 0x4d9558
lea eax, [esp + 0xd4]
mov byte [esp + 0x10f], 0
call fcn.004099e0
test eax, eax
je 0x47efa9
mov byte [eax], 0
cmp byte [esp + 0xd4], 0
je 0x47efe8
lea eax, [esp + 0xd4]
call fcn.0040dd50
movzx eax, al
neg eax
sbb eax, eax
and eax, 6
add eax, 0xa
push eax
lea ecx, [esp + 0xd8]
push 0
push ecx
call fcn.004bc2a6
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x47f1fb
mov byte [esp + 0xc], 1
mov byte [esp + 0xf], 1
jmp 0x47f1fb
push 0x4e4144
call fcn.0049be50
add esp, 4
push 9
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f021
add esi, 9
mov byte [esp + 0x17], 1
jmp 0x47f1fb
push 0x4e4158
call fcn.0049be50
add esp, 4
push 0xc
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f04b
add esi, 0xc
mov byte [esp + 0x15], 1
jmp 0x47f1fb
push 0x4e4170
call fcn.0049be50
add esp, 4
push 6
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f075
add esi, 6
mov byte [esp + 0x4c], 1
jmp 0x47f1fb
push 0x4e4180
call fcn.0049be50
add esp, 4
push 5
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f0b2
add esi, 5
mov ecx, esi
lea ebx, [esp + 0x40]
call fcn.0048fdd0
test al, al
jne 0x47f1fb
mov byte [esp + 0xc], 1
jmp 0x47f1fb
push 0x4e4190
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f0f8
add esi, 0xa
mov ecx, esi
lea ebx, [esp + 0x1c]
call fcn.0048fdd0
test al, al
jne 0x47f0eb
mov byte [esp + 0xc], 1
jmp 0x47f1fb
and dword [esp + 0x1c], 0xffffff
jmp 0x47f1fb
push 0x4e41a4
call fcn.0049be50
add esp, 4
push 7
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f2bd
push 0x4e41b4
add esi, 7
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f147
add esi, 0xa
mov byte [esp + 0xd], 1
mov byte [esp + 0xe], al
jmp 0x47f198
push 0x4e41c8
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f16b
mov byte [esp + 0xd], 1
jmp 0x47f190
push 0x4dc2bc
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47f0a8
mov byte [esp + 0xd], al
add esi, 4
mov byte [esp + 0xe], 1
cmp byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
jne 0x47f1fb
cmp dword [esp + 0x18], 0
jne 0x47f1fb
push 0x207
lea edx, [esp + 0x114]
push esi
push edx
call fcn.004bd1c0
add esp, 0xc
mov edi, 0x4d9558
lea eax, [esp + 0x110]
mov byte [esp + 0x317], 0
call fcn.004099e0
test eax, eax
je 0x47f1e0
mov byte [eax], 0
cmp byte [esp + 0xd], 0
je 0x47f234
lea esi, [esp + 0x110]
call fcn.0041a410
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x10]
test esi, esi
je 0x47f31c
mov dl, byte [esi]
test dl, dl
je 0x47f31c
lea ecx, [ecx]
mov ecx, 0x4d9558
mov al, 0x20
cmp dl, al
je 0x47f2fc
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x47f217
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x47f210
jmp 0x47f31c
push 0x207
lea eax, [esp + 0x114]
push esi
push eax
call fcn.004bd1c0
add esp, 0xc
cmp byte [esp + 0x110], 0x3c
mov byte [esp + 0x317], 0
jne 0x47f1fb
mov edi, 0x4e41d8
lea eax, [esp + 0x111]
call fcn.004099e0
test eax, eax
je 0x47f1fb
push 0
mov byte [eax], 0
lea ecx, [esp + 0x114]
sub eax, ecx
push 0
lea edx, [esi + eax + 1]
push 0
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x125]
push 0
push ecx
mov dword [esp + 0x2c], edx
call fcn.004a43b0
add esp, 0x1c
cmp dword [esp + 0x28], 1
mov dword [esp + 0x18], eax
jne 0x47f1f7
mov byte [esp + 0xc], 1
jmp 0x47f1f7
cmp byte [esi], 0
je 0x47f1fb
call fcn.0040dda0
mov dword [esp + 0x24], eax
test eax, eax
jns 0x47f2e0
mov dword [esp + 0x24], 0
jmp 0x47f1f7
mov esi, dword [esp + 0x10]
cmp eax, 0xff
jle 0x47f1fb
mov dword [esp + 0x24], 0xff
jmp 0x47f1fb
mov eax, esi
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x20
je 0x47f30c
cmp cl, 9
jne 0x47f30f
inc eax
jmp 0x47f300
cmp byte [eax], 0x2a
mov dword [esp + 0x10], eax
je 0x47ef10
cmp byte [esp + 0x16], 0
je 0x47f343
mov eax, dword [ebp + 0x14]
mov edx, eax
movzx ecx, al
shr edx, 0x10
and edx, 0xff
shl ecx, 0x10
or edx, ecx
and eax, 0xff00
or edx, eax
mov dword [ebp + 0x14], edx
cmp byte [esp + 0xc], 0
jne 0x47f3a1
xor ebx, ebx
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edi, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x58]
push edi
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push esi
call fcn.0047f480
add esp, 0x34
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x47f3a7
mov byte [esp + 0xf], 1
jmp 0x47f3a7
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp byte [esp + 0x17], 0
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
jne 0x47f3bb
test esi, esi
je 0x47f3bb
push esi
call ebx
cmp byte [esp + 0x15], 0
jne 0x47f3c9
test edi, edi
je 0x47f3c9
push edi
call ebx
cmp dword [esp + 0x18], 0
je 0x47f3e5
cmp byte [esp + 0xd], 0
je 0x47f3de
cmp byte [esp + 0xe], 0
je 0x47f3e5
mov ecx, dword [esp + 0x18]
push ecx
call ebx
cmp byte [esp + 0xf], 0
je 0x47f437
mov edx, dword [0x4ec48c]
test byte [edx + 0xe0], 1
jne 0x47f41a
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9598
push eax
call fcn.004a5c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
push 0x4d6959
push 0
push 0x4d9598
call fcn.0042d070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esp + 0x20], 0
je 0x47f45c
cmp dword [esp + 0x44], 0
je 0x47f457
mov eax, dword [esp + 0x20]
cdq
push 0x18
push edx
push eax
mov eax, dword [esp + 0x50]
call fcn.00401570
cmp dword [esp + 0x20], 0
mov eax, dword [ebp + 8]
sete cl
movzx edx, cl
push edx
push eax
call fcn.0042d120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14