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

Disassembly:
sub esp, 0x50
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x144]
xor ebp, ebp
cmp eax, ecx
jle 0x43c241
push ebp
mov esi, 4
call fcn.00630b88
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x50
ret 0xc
push ebx
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x43c2de
mov ecx, dword [ebx + 0x3c]
shr ecx, 2
test cl, 1
je 0x43c2de
mov ecx, dword [0x74c4f0]
call fcn.004245b0
test eax, eax
jne 0x43c2de
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x58]
cmp eax, 0x15
jae 0x43c2a5
push 0xffff0000
push 0x6d3ea4
mov ecx, 0x74cdb0
call fcn.00463940
pop ebx
push ebp
mov esi, 8
call fcn.00630b88
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x50
ret 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
cmp eax, 0x14
jae 0x43c2de
push 0xffff0000
push 0x6d3e88
mov ecx, 0x74cdb0
call fcn.00463940
pop ebx
push ebp
mov esi, 8
call fcn.00630b88
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x50
ret 0xc
push 5
mov dword [esi + 0xc88], ebx
mov dword [esi + 0xc8c], ebx
call fcn.0044cdb0
add esp, 4
test al, al
jne 0x43c311
pop ebx
push ebp
mov esi, 4
call fcn.00630b88
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x50
ret 0xc
push 5
push 0x12
mov ecx, esi
call fcn.00441ed0
test al, al
jne 0x43c2f8
test ebx, ebx
je 0x43c28c
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x10]
test al, al
mov edi, dword [esp + 0x68]
mov ecx, 0x80
je 0x43c367
test edi, edi
je 0x43c360
cmp dword [edi + 0x58], ecx
je 0x43c370
mov esi, 8
pop edi
pop ebx
push ebp
call fcn.00630b88
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x50
ret 0xc
mov esi, 5
jmp 0x43c34b
test edi, edi
je 0x43c370
cmp dword [edi + 0x58], ecx
je 0x43c346
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x34]
mov edx, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x34]
push ecx
push edx
push eax
call fcn.00433ce0
add esp, 0x10
cmp eax, 0x14
mov dword [esp + 0x20], eax
jle 0x43c398
mov esi, 1
jmp 0x43c34b
mov ecx, esi
call fcn.0057f590
test al, al
je 0x43c346
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x64]
test al, al
je 0x43c346
test edi, edi
mov ebx, 4
je 0x43c3d5
cmp dword [edi + 0x60], ebx
jne 0x43c3d5
push 1
push 0
push edi
mov ecx, esi
call fcn.0043b160
test eax, eax
je 0x43c3d5
cmp eax, 1
je 0x43c4b2
mov ecx, esi
call fcn.00421630
cmp eax, 0x6d
jne 0x43c428
mov ecx, esi
call fcn.00440910
test al, al
jne 0x43c428
cmp dword [esi + 0x174], 0xffffffff
jne 0x43c428
test edi, edi
je 0x43c40f
cmp dword [edi + 0x60], ebx
jne 0x43c40f
push 0x179
call fcn.00437d80
add esp, 4
cmp edi, eax
jne 0x43c428
push 0x17a
call fcn.00437d80
mov edi, eax
add esp, 4
mov dword [esi + 0xc9c], eax
mov dword [esp + 0x68], edi
test edi, edi
je 0x43c45f
push 0x17a
call fcn.00437d80
add esp, 4
cmp edi, eax
jne 0x43c456
push 0x17a
call fcn.00437d80
mov edi, eax
add esp, 4
mov dword [esi + 0xc9c], eax
mov dword [esp + 0x68], edi
test edi, edi
je 0x43c45f
cmp dword [edi + 0x60], ebx
je 0x43c472
push 0x179
call fcn.00437d80
mov edi, eax
add esp, 4
mov dword [esp + 0x68], edi
push 0x179
call fcn.00437d80
add esp, 4
cmp edi, eax
jne 0x43c4b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x13], 0x10
jne 0x43c4b9
push 1
push 0
push 0x179
call fcn.00437d80
add esp, 4
push eax
mov ecx, esi
call fcn.0043b160
test eax, eax
je 0x43c516
cmp eax, 1
jne 0x43c516
mov esi, ebx
jmp 0x43c34b
push 1
push 0
push edi
mov ecx, esi
call fcn.0043b160
test eax, eax
je 0x43c516
cmp eax, 1
je 0x43c4b2
cmp eax, 2
jne 0x43c346
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
mov dword [esp + 0x70], 1
call fcn.004357c0
test al, al
je 0x43c503
mov ecx, esi
call fcn.00421690
cmp eax, 0x15
jne 0x43c503
push 0x17a
jmp 0x43c508
push 0x179
call fcn.00437d80
mov edi, eax
add esp, 4
mov dword [esp + 0x68], edi
cmp dword [edi], 0x179
mov ebx, dword [edi + 0x5c]
jne 0x43c5d8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x13], 0x10
je 0x43c537
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43c5d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x17], 1
je 0x43c555
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43c5d8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x1c], 0x20
je 0x43c56f
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43c5d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x16], 0x10
je 0x43c589
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43c5d8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
mov cl, byte [eax + 0x21]
test cl, cl
jns 0x43c5a4
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43c5d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x22], 1
je 0x43c5be
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43c5d8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x22], 2
je 0x43c5d8
mov ebx, 0xb
cmp dword [esp + 0x20], ebx
jg 0x43c391
mov ecx, esi
call fcn.00433930
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov edi, dword [esp + 0x6c]
mov dword [esi + 0xc98], ecx
mov edx, dword [eax + 0x3c]
shr edx, 2
test dl, 1
mov eax, 0
setne al
mov ecx, edi
inc eax
mov dword [esi + 0xc90], eax
call fcn.00433ab0
test al, al
je 0x43c621
push 0x21
jmp 0x43c630
mov ecx, edi
call fcn.00426340
lea ecx, [eax*4 + 0x21]
push ecx
call fcn.00630ca0
add esp, 4
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x14], 0
call fcn.00433ab0
test al, al
jne 0x43c734
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov dword [esp + 0x10], eax
je 0x43c734
mov ecx, dword [0x74c650]
lea edx, [ebp + 0x21]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov edi, dword [edx]
mov ebx, dword [edx + 4]
add edi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x30]
add ebx, eax
test edi, edi
jl 0x43c71a
cmp edi, dword [ecx + 0x74]
jge 0x43c71a
test ebx, ebx
jl 0x43c71a
cmp ebx, dword [ecx + 0x78]
jge 0x43c71a
push 1
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call fcn.00428300
test al, al
je 0x43c714
mov ecx, dword [0x74c650]
push ebx
push edi
call fcn.00427560
test eax, eax
mov dword [esp + 0x18], eax
jne 0x43c6ec
mov ecx, dword [0x74c650]
push ebx
push edi
call fcn.004275c0
test eax, eax
mov dword [esp + 0x18], eax
je 0x43c714
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
jne 0x43c714
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x28]
inc edx
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
mov ecx, dword [0x74c650]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
mov edi, dword [edx + 8]
add eax, 8
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x43c672
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov byte [ebp], 0x12
mov byte [ebp + 1], 5
mov eax, dword [esi + 0x28]
mov dword [ebp + 0x10], eax
mov edx, dword [ecx + 0x28]
mov dword [ebp + 0x14], edx
mov eax, dword [ecx + 0x3c]
shr eax, 2
not al
and al, 1
mov byte [ebp + 0x1f], al
mov dx, word [ebx]
mov word [ebp + 0x18], dx
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
mov word [ebp + 0x1a], ax
mov word [ebp + 0x1c], cx
sub ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
push ecx
sub eax, edx
push eax
call fcn.00433d30
add esp, 8
mov byte [ebp + 0x1e], al
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xa8]
mov edi, eax
call fcn.0058c5b0
mov edx, dword [eax]
push 0
push edi
mov ecx, eax
call dword [edx + 0xc]
test eax, eax
je 0x43c346
mov edi, dword [eax + 0x280]
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push edi
mov edi, dword [eax + 0x27c]
mov eax, dword [eax + 0x278]
push edi
push eax
call dword [edx + 0x1f8]
mov ecx, esi
mov byte [ebp + 0x20], al
call fcn.00440920
test al, al
je 0x43c7f2
movzx edi, byte [ebp + 0x20]
push edi
call fcn.00433130
add esp, 4
test al, al
je 0x43c913
mov byte [ebp + 0x20], 0x12
movzx eax, byte [ebp + 0x20]
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x44]
test al, al
je 0x43c93f
movzx eax, byte [ebp + 0x20]
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x11c]
test al, al
je 0x43c93f
call sub.WINMM.dll_timeGetTime
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x68], eax
call dword [edx + 0x5c]
test byte [eax + 0x13], 0x10
je 0x43c843
cmp dword [ebx], 0x179
jne 0x43c843
mov word [ebp + 0x18], 0x1f50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x17], 1
je 0x43c85e
cmp dword [ebx], 0x179
jne 0x43c85e
mov word [ebp + 0x18], 0x1f59
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x1c], 0x20
je 0x43c879
cmp dword [ebx], 0x179
jne 0x43c879
mov word [ebp + 0x18], 0x1f57
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x16], 0x10
je 0x43c894
cmp dword [ebx], 0x179
jne 0x43c894
mov word [ebp + 0x18], 0x1f58
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
mov cl, byte [eax + 0x21]
test cl, cl
jns 0x43c8b0
cmp dword [ebx], 0x179
jne 0x43c8b0
mov word [ebp + 0x18], 0x1f5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x22], 1
je 0x43c8cb
cmp dword [ebx], 0x179
jne 0x43c8cb
mov word [ebp + 0x18], 0x1f5b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x22], 2
je 0x43c8e6
cmp dword [ebx], 0x179
jne 0x43c8e6
mov word [ebp + 0x18], 0x1f5c
push 0
lea eax, [esp + 0x30]
push eax
push ebp
mov ecx, esi
call fcn.00442810
mov edi, eax
test edi, edi
je 0x43c949
cmp edi, 1
je 0x43c949
xor ecx, ecx
cmp edi, 2
setne cl
lea ecx, [ecx + ecx + 6]
mov esi, ecx
jmp 0x43c34b
push edi
call fcn.00433160
add esp, 4
test al, al
je 0x43c929
mov byte [ebp + 0x20], 0x13
jmp 0x43c7f2
push edi
call fcn.00433190
add esp, 4
test al, al
je 0x43c93f
mov byte [ebp + 0x20], 0x23
jmp 0x43c7f2
mov esi, 6
jmp 0x43c34b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x13], 0x10
je 0x43c97c
cmp dword [ebx], 0x179
jne 0x43c97c
call sub.WINMM.dll_timeGetTime
push eax
mov ebx, 0x17a
push ebx
call fcn.00437d80
add esp, 4
push eax
mov ecx, esi
call fcn.004463c0
jmp 0x43c98f
call sub.WINMM.dll_timeGetTime
push eax
push ebx
mov ecx, esi
call fcn.004463c0
mov ebx, 0x17a
cmp edi, 1
jne 0x43c9b1
mov dword [ebp + 0x14], 0
mov byte [ebp + 0x1f], 4
mov ax, word [esp + 0x2c]
mov word [ebp + 0x1a], ax
mov cx, word [esp + 0x30]
mov word [ebp + 0x1c], cx
cmp word [ebp + 0x18], 0x1f50
jne 0x43c9bd
mov word [ebp + 0x18], bx
cmp word [ebp + 0x18], 0x1f59
jne 0x43c9c9
mov word [ebp + 0x18], bx
cmp word [ebp + 0x18], 0x1f57
jne 0x43c9d5
mov word [ebp + 0x18], bx
cmp word [ebp + 0x18], 0x1f58
jne 0x43c9e1
mov word [ebp + 0x18], bx
cmp word [ebp + 0x18], 0x1f5d
jne 0x43c9ed
mov word [ebp + 0x18], bx
cmp word [ebp + 0x18], 0x1f5b
jne 0x43c9f9
mov word [ebp + 0x18], bx
cmp word [ebp + 0x18], 0x1f5c
jne 0x43ca05
mov word [ebp + 0x18], bx
cmp word [ebp + 0x18], 0x16c
jne 0x43ca13
mov word [ebp + 0x18], 0x179
mov edx, dword [0x739498]
mov ecx, 0x739498
call dword [edx + 8]
mov edi, dword [esp + 0x14]
push 0
mov dword [ebp + 2], eax
mov ecx, dword [0x74c754]
mov eax, dword [ecx]
lea edi, [edi*4 + 0x21]
push edi
push ebp
call dword [eax + 0x10]
call sub.WINMM.dll_timeGetTime
sub eax, dword [esp + 0x68]
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x5c]
inc dword [esi + 0x148]
call sub.WINMM.dll_timeGetTime
mov dword [esi + 0x180], eax
call sub.WINMM.dll_timeGetTime
mov dword [esi + 0xb54], eax
mov al, byte [0x74b1e8]
test al, al
je 0x43cae9
mov ecx, dword [0x74c754]
mov eax, dword [ecx]
push edi
push ebp
call dword [eax + 0x1c]
mov cl, byte [ebp + 0x1e]
mov byte [esp + 0x34], 0x12
mov byte [esp + 0x35], 6
mov byte [esp + 0x4a], cl
mov byte [esp + 0x5c], 0
call fcn.00631003
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x28]
push 0x29
mov byte [esp + 0x4f], 1
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0xa
test edx, edx
setne dl
dec dl
and edx, 0xb
mov byte [esp + 0x4d], dl
mov edx, dword [ecx + 0x28]
mov ecx, dword [0x74c754]
mov dword [esp + 0x48], edx
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
call dword [eax + 0x1c]
xor esi, esi
jmp 0x43c34b