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

Disassembly:
sub esp, 0x28
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43ea1b
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x43ea1b
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x18], ecx
mov ecx, 0xc75780
lea eax, [ebp + ebp*2]
mov dword [esp + 0x10], 0
lea edx, [eax + eax*8]
lea eax, [ebp + edx*8]
lea eax, [eax + eax*2]
lea ebx, [esi + eax*8]
lea eax, [ebx + 0xf0]
push eax
push 0
push 0x1458
call fcn.0045c4f0
lea ecx, [ebp + ebp*4]
mov edx, esi
shl ecx, 4
add edx, ecx
mov ecx, 0xc75780
lea edi, [edx + ebp + 0x131370]
push edi
push 0
push 0x50
mov dword [esp + 0x48], edi
call fcn.0045c4f0
push edi
mov edi, dword [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
push edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, 0xc75780
call fcn.0045c440
mov eax, dword [esp + 0x3c]
mov ecx, 0x12b1550
push eax
push 0xa
call fcn.0045e150
push 0x5e6f30
lea eax, [ebx + 0xf0]
push 0x1458
push eax
mov ecx, 0x12b1550
call fcn.0045e7c0
mov ecx, dword [ebx + 0xfc]
mov edx, dword [esi + 0x48]
shl ecx, 2
push 0x5e6f30
lea eax, [edx*4 + 0x68d4fc]
push ecx
push eax
mov ecx, 0x12b1550
call fcn.0045e850
mov ecx, dword [ebx + 0xfc]
mov edx, dword [esi + 0x48]
shl ecx, 2
push 0x5e6f30
lea eax, [edx*4 + 0x6f4d3c]
push ecx
push eax
mov ecx, 0x12b1550
call fcn.0045e850
mov edx, dword [esi + 0x48]
mov ecx, dword [ebx + 0xfc]
shl edx, 4
shl ecx, 4
push 0x5e6f30
add edx, 0x75c680
push ecx
push edx
mov ecx, 0x12b1550
call fcn.0045e850
mov eax, dword [ebx + 0x140]
mov ecx, dword [esi + 0x90]
push 0x5e6f30
push eax
push ecx
mov ecx, 0x12b1550
call fcn.0045e850
cmp dword [ebx + 0x104], 2
jne 0x43eb5f
push ebp
mov ecx, esi
call fcn.0043ed30
mov eax, dword [esi + 0x48]
mov ecx, dword [ebx + 0xfc]
add ecx, eax
mov dword [esp + 0x40], eax
mov edx, dword [eax*4 + 0x68d4fc]
cmp eax, ecx
mov dword [esp + 0x3c], edx
jge 0x43ec6b
mov ecx, eax
lea edi, [eax*4 - 4]
shl ecx, 4
add ecx, 0x75c688
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
mov dword [edi + 0x621a3c], ebp
test edx, edx
mov dl, byte [ecx + 7]
je 0x43ebbf
test dl, dl
je 0x43ebe4
test dl, 4
jne 0x43ebc4
movsx edx, word [ecx]
add edx, eax
mov edx, dword [edx*4 + 0x68d4fc]
jmp 0x43ebca
test dl, 4
je 0x43ebe4
mov edx, dword [edi + 0x68d4fc]
mov dword [edi + 0x68d500], edx
movsx edx, word [ecx]
add edx, eax
mov edx, dword [edx*4 + 0x6f4d3c]
mov dword [edi + 0x6f4d40], edx
jmp 0x43ec4b
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esi + 0x90]
add eax, edx
mov edx, dword [edi + 0x6f4d40]
push eax
add ecx, dword [edi + 0x68d500]
push ecx
push edx
mov ecx, 0xc75780
call fcn.0045c440
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov dword [edi + 0x68d500], eax
mov eax, dword [edi + 0x6f4d40]
add ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
push ecx
push ebp
mov ecx, esi
call fcn.0043ed90
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov edx, dword [esi + 0x48]
inc eax
add edx, dword [ebx + 0xfc]
add edi, 4
add ecx, 0x10
mov dword [esp + 0x40], eax
cmp eax, edx
mov dword [esp + 0x14], ecx
jl 0x43eb97
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x44]
add edi, eax
mov dword [esi + 0x44], edi
mov ecx, dword [0x689278]
add ecx, 0x50
push ecx
push ebp
mov ecx, esi
call fcn.0043eca0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8