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

Disassembly:
mov eax, dword [0x51c0b8]
sub esp, 0xc8
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x433cb0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x51c0b8], eax
lea edi, [esi + 0x48]
lea ebp, [esi + 0x108]
mov eax, edi
sub esp, 0xc
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], edx
fld dword [esp + 0x1c]
fsub dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, esp
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fsub dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
mov dword [edx], eax
fstp dword [esp + 0x38]
fld dword [esp + 0x24]
fsub dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [edx + 4], ecx
lea ecx, [esp + 0xb4]
push ecx
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
call fcn.0044f1c0
mov edx, dword [eax]
sub esp, 0xc
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 8]
mov eax, edi
mov dword [esp + 0x5c], edx
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], edx
fld dword [esp + 0x34]
fsub dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov edx, esp
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fsub dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x9c]
push ecx
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [edx + 8], eax
call fcn.0044f1c0
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 8]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
fld dword [esp + 0x28]
fsub dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
fsub dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
sub esp, 0xc
mov dword [esp + 0x3c], edx
mov eax, esp
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fsub dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea edx, [esp + 0xa8]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
push edx
mov dword [eax + 8], ecx
call fcn.0044f1c0
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov al, byte [esp + 0xdc]
fld dword [esp + 0x44]
fmul dword [esi + 0x14]
fld dword [esp + 0x58]
fmul dword [esi + 0x10]
test al, al
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esi + 0xc]
faddp st(1)
fstp dword [esp + 0x10]
je 0x433e8a
mov ecx, dword [esi + 0x1cc]
mov dword [esp + 0x38], ecx
jmp 0x433e94
mov edx, dword [esi + 0x1c8]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x38]
mov ebp, 1
cmp eax, ebp
mov dword [esp + 0x34], ebp
jbe 0x4340ec
lea ebp, [esi + 0x114]
lea edi, [ebp - 0xc0]
sub esp, 0xc
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], edx
fld dword [esp + 0x34]
fsub dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov edx, esp
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x90]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
fstp dword [esp + 0x94]
fld dword [esp + 0x3c]
fsub dword [esp + 0x30]
mov ecx, dword [esp + 0x94]
mov dword [edx + 4], ecx
lea ecx, [esp + 0xc0]
push ecx
fstp dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
mov dword [edx + 8], eax
call fcn.0044f1c0
mov edx, dword [eax]
sub esp, 0xc
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 8]
mov eax, edi
mov dword [esp + 0xbc], edx
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov ecx, ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x84], edx
fld dword [esp + 0x84]
fsub dword [esp + 0x78]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
mov edx, esp
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x6c]
fld dword [esp + 0x88]
fsub dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov dword [edx], eax
fstp dword [esp + 0x70]
fld dword [esp + 0x8c]
fsub dword [esp + 0x80]
mov ecx, dword [esp + 0x70]
mov dword [edx + 4], ecx
lea ecx, [esp + 0xcc]
push ecx
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x78]
mov dword [edx + 8], eax
call fcn.0044f1c0
mov edx, dword [eax]
mov dword [esp + 0x90], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x98], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x54], eax
mov eax, ebp
mov edx, dword [edi + 8]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x48], ecx
sub esp, 0xc
fld dword [esp + 0x54]
fsub dword [esp + 0x60]
mov edx, dword [eax + 4]
mov ecx, esp
mov dword [esp + 0x58], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x48]
fld dword [esp + 0x58]
fsub dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x5c], eax
mov dword [ecx], edx
fstp dword [esp + 0x4c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x68]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 4], eax
lea eax, [esp + 0xd8]
push eax
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov dword [ecx + 8], edx
call fcn.0044f1c0
mov ecx, dword [eax]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa0], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xa4], eax
fld dword [esp + 0xa4]
fmul dword [esi + 0x14]
fld dword [esp + 0x94]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [esp + 0xa8]
fmul dword [esi + 0xc]
faddp st(1)
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4340cd
fstp dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
jmp 0x4340cf
fstp st(0)
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
add ebp, 0xc
cmp eax, ecx
mov dword [esp + 0x34], eax
jb 0x433eaf
mov ebp, 1
lea ecx, [ebx + ebx*2 + 0x12]
mov dword [esi + 0x1d0], ebx
mov eax, esi
sub esp, 0xc
lea edx, [esi + ecx*4]
mov ecx, dword [esi + ecx*4]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
lea eax, [ebx + ebx*2 + 0x42]
mov edx, esp
lea ecx, [esi + eax*4]
mov eax, dword [esi + eax*4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov ecx, esi
call fcn.004337f0
mov eax, dword [0x4b0a50]
xor edi, edi
and eax, 0xff
xor esi, esi
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
je 0x434154
dec eax
jne 0x4341bc
mov esi, dword [0x4b0a4c]
jmp 0x4341b6
mov edx, dword [0x4b0a48]
mov al, byte [edx + 0x10]
test al, al
je 0x434187
mov ecx, dword [0x51da28]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp dword [esp + 0x10], edi
jge 0x43417d
mov dword [esp + 0x10], edi
cmp dword [esp + 0x14], edi
jge 0x434187
mov dword [esp + 0x14], edi
mov ecx, dword [0x4b0a48]
call fcn.0044c6c0
mov esi, eax
cmp esi, edi
je 0x4341bc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
imul edx, dword [0x4b0a58]
imul eax, dword [0x4b0a54]
shr edx, 3
add eax, esi
lea esi, [eax + edx]
mov dword [0x4b0a5c], ebp
xor ecx, ecx
cmp esi, edi
sete cl
push 0x49638c
push ecx
call fcn.00432060
add esp, 8
mov edx, esi
mov ecx, ebx
call fcn.00435260
mov eax, dword [0x4b0a50]
and eax, 0xff
dec eax
jne 0x4341fa
cmp dword [0x4b0a5c], edi
je 0x4341fa
mov ecx, dword [0x4b0a48]
call fcn.0044c780
mov dword [0x4b0a5c], edi
mov byte [0x496378], 1
call fcn.0044b350
call fcn.0044b3b0
call fcn.0044c0d0
call fcn.0044cbe0
mov cl, 1
call dword [0x51cf70]
call fcn.0044b350
call fcn.0042eb60
mov eax, dword [0x51c0b8]
mov byte [0x4b6468], 1
cmp eax, edi
mov byte [0x4b62f0], 1
je 0x43425d
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x51c0b8]
mov dword [0x51c0b8], edi
sub eax, ecx
mov dword [0x51c0b4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 4