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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
cmp dword [esi + 0x80], 0
push ebx
push edi
jne 0x47ab5e
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esi + 0xb8], 0
jne 0x47ab54
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0047ae90
test al, al
je 0x47ab54
push esi
call fcn.0047d9b0
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
push edi
push ebx
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.004817e0
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
cmp dword [ebp + 0x10], eax
je 0x47ad31
cmp dword [ebp + 0x14], eax
je 0x47ad31
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov eax, ebx
sub eax, dword [ebp + 8]
mov ecx, edi
sub ecx, dword [ebp + 0xc]
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
sub ebx, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
sub edi, dword [esp + 0x20]
add edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
add edx, ecx
cmp byte [ebp + 0x18], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
je 0x47aced
lea esp, [esp]
mov eax, dword [esp + 0x68]
sub eax, 0
je 0x47ad12
sub eax, 1
je 0x47ac6a
sub eax, 1
jne 0x47ad12
lea edi, [esp + 0x14]
lea eax, [esp + 0x48]
call fcn.00481910
jmp 0x47ac77
lea edi, [esp + 0x14]
lea eax, [esp + 0x48]
call fcn.004818c0
test al, al
je 0x47ad12
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push edi
push ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47aca5
sub edi, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
sub ebx, dword [esp + 0x1c]
jmp 0x47acab
mov ecx, dword [esi + 0x80]
movzx edx, di
mov edi, dword [esi + 0xb4]
movzx eax, bx
shl edx, 0x10
or edx, eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 4]
push ecx
push edx
push edi
call fcn.0047e010
lea ecx, [esi + 0xa0]
mov ebx, eax
call fcn.0047e050
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jmp 0x47ac40
mov ecx, dword [ebp + 0x10]
movzx edx, di
movzx eax, bx
shl edx, 0x10
or edx, eax
lea ebx, [esi + 0xa0]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
call fcn.0047dbb0
movzx edx, word [esp + 8]
movzx eax, word [esp + 0xc]
mov ecx, dword [ebp + 0x10]
shl edx, 0x10
or edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
jmp 0x47ae16
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x2c], ecx
cmp byte [ebp + 0x18], al
je 0x47add5
jmp 0x47ad50
mov eax, dword [esp + 0x68]
sub eax, 0
je 0x47adfd
sub eax, 1
je 0x47ad7a
sub eax, 1
jne 0x47adfd
lea edi, [esp + 0x14]
lea eax, [esp + 0x48]
call fcn.00481910
jmp 0x47ad87
lea edi, [esp + 0x14]
lea eax, [esp + 0x48]
call fcn.004818c0
test al, al
je 0x47adf5
movzx edx, word [esp + 0x18]
movzx eax, word [esp + 0x14]
mov edi, dword [esi + 0xb4]
shl edx, 0x10
or edx, eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 4]
push ecx
push edx
push edi
call fcn.0047e010
lea ecx, [esi + 0xa0]
mov ebx, eax
call fcn.0047e050
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x10]
mov dword [eax], ebx
mov ebx, dword [esp + 0xc]
jmp 0x47ad50
movzx ecx, di
movzx edx, bx
shl ecx, 0x10
or ecx, edx
lea ebx, [esi + 0xa0]
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], ecx
call fcn.0047dbb0
jmp 0x47adf9
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 0x80]
movzx ecx, di
movzx edx, bx
shl ecx, 0x10
or ecx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x2c]
lea ebx, [esi + 0xa0]
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0x201
mov dword [esp + 0x3c], 0x78
call fcn.0047dbb0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0x202
call fcn.0047dbb0
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
mov ecx, esi
mov byte [esi + 0xd8], 1
call edx
mov eax, dword [esi + 0x48]
push 0
push 5
push 5
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
mov dword [esi + 0x78], eax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14