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

Disassembly:
sub esp, 0x40
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x570]
mov ecx, dword [esi + 0x56c]
xor ebp, ebp
cmp eax, ecx
jle 0x43e111
push ebp
mov esi, 4
call fcn.0065db48
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x40
ret 0xc
push ebx
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x43e1ae
mov ecx, dword [ebx + 0x3c]
shr ecx, 2
test cl, 1
je 0x43e1ae
mov ecx, dword [0x77d8e8]
call fcn.004252f0
test eax, eax
jne 0x43e1ae
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x58]
cmp eax, 0x15
jae 0x43e175
push 0xffff0000
push 0x701074
mov ecx, 0x77e198
call fcn.004659a0
pop ebx
push ebp
mov esi, 8
call fcn.0065db48
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x40
ret 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
cmp eax, 0x14
jae 0x43e1ae
push 0xffff0000
push 0x701058
mov ecx, 0x77e198
call fcn.004659a0
pop ebx
push ebp
mov esi, 8
call fcn.0065db48
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x40
ret 0xc
push 5
mov dword [esi + 0x14f4], ebx
mov dword [esi + 0x14f8], ebx
call fcn.0044ecc0
add esp, 4
test al, al
jne 0x43e1e1
pop ebx
push ebp
mov esi, 4
call fcn.0065db48
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x40
ret 0xc
push 5
push 0x12
mov ecx, esi
call fcn.00443d40
test al, al
jne 0x43e1c8
test ebx, ebx
je 0x43e15c
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x10]
test al, al
mov edi, dword [esp + 0x58]
mov ecx, 0x80
je 0x43e237
test edi, edi
je 0x43e230
cmp dword [edi + 0x58], ecx
je 0x43e240
mov esi, 8
pop edi
pop ebx
push ebp
call fcn.0065db48
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x40
ret 0xc
mov esi, 5
jmp 0x43e21b
test edi, edi
je 0x43e240
cmp dword [edi + 0x58], ecx
je 0x43e216
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.00435d50
add esp, 0x10
cmp eax, 0x14
mov dword [esp + 0x20], eax
jle 0x43e268
mov esi, 1
jmp 0x43e21b
mov ecx, esi
call fcn.00426fd0
test al, al
je 0x43e216
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x64]
test al, al
je 0x43e216
test edi, edi
mov ebx, 4
je 0x43e2a5
cmp dword [edi + 0x60], ebx
jne 0x43e2a5
push 1
push 0
push edi
mov ecx, esi
call fcn.0043d090
test eax, eax
je 0x43e2a5
cmp eax, 1
je 0x43e382
mov ecx, esi
call fcn.004222a0
cmp eax, 0x6d
jne 0x43e2f8
mov ecx, esi
call fcn.00442800
test al, al
jne 0x43e2f8
cmp dword [esi + 0x59c], 0xffffffff
jne 0x43e2f8
test edi, edi
je 0x43e2df
cmp dword [edi + 0x60], ebx
jne 0x43e2df
push 0x179
call fcn.00439e00
add esp, 4
cmp edi, eax
jne 0x43e2f8
push 0x17a
call fcn.00439e00
mov edi, eax
add esp, 4
mov dword [esi + 0x1508], eax
mov dword [esp + 0x58], edi
test edi, edi
je 0x43e32f
push 0x17a
call fcn.00439e00
add esp, 4
cmp edi, eax
jne 0x43e326
push 0x17a
call fcn.00439e00
mov edi, eax
add esp, 4
mov dword [esi + 0x1508], eax
mov dword [esp + 0x58], edi
test edi, edi
je 0x43e32f
cmp dword [edi + 0x60], ebx
je 0x43e342
push 0x179
call fcn.00439e00
mov edi, eax
add esp, 4
mov dword [esp + 0x58], edi
push 0x179
call fcn.00439e00
add esp, 4
cmp edi, eax
jne 0x43e389
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x13], 0x10
jne 0x43e389
push 1
push 0
push 0x179
call fcn.00439e00
add esp, 4
push eax
mov ecx, esi
call fcn.0043d090
test eax, eax
je 0x43e3e6
cmp eax, 1
jne 0x43e3e6
mov esi, ebx
jmp 0x43e21b
push 1
push 0
push edi
mov ecx, esi
call fcn.0043d090
test eax, eax
je 0x43e3e6
cmp eax, 1
je 0x43e382
cmp eax, 2
jne 0x43e216
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
mov dword [esp + 0x60], 1
call fcn.00437810
test al, al
je 0x43e3d3
mov ecx, esi
call fcn.00422300
cmp eax, 0x15
jne 0x43e3d3
push 0x17a
jmp 0x43e3d8
push 0x179
call fcn.00439e00
mov edi, eax
add esp, 4
mov dword [esp + 0x58], edi
cmp dword [edi], 0x179
mov ebx, dword [edi + 0x5c]
jne 0x43e4a8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x13], 0x10
je 0x43e407
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43e4a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x17], 1
je 0x43e425
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43e4a8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x1c], 0x20
je 0x43e43f
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43e4a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x16], 0x10
je 0x43e459
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43e4a8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
mov cl, byte [eax + 0x21]
test cl, cl
jns 0x43e474
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43e4a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x22], 1
je 0x43e48e
mov ebx, 0xb
cmp dword [edi], 0x179
jne 0x43e4a8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x22], 2
je 0x43e4a8
mov ebx, 0xb
cmp dword [esp + 0x20], ebx
jg 0x43e261
mov ecx, esi
call fcn.004359b0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x28]
mov edi, dword [esp + 0x5c]
mov dword [esi + 0x1504], 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 + 0x14fc], eax
call fcn.00435b20
test al, al
je 0x43e4f1
push 0x17
jmp 0x43e500
mov ecx, edi
call fcn.00427180
lea ecx, [eax*4 + 0x17]
push ecx
call fcn.0065dc60
add esp, 4
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x14], 0
call fcn.00435b20
test al, al
jne 0x43e604
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov dword [esp + 0x10], eax
je 0x43e604
mov ecx, dword [0x77da48]
lea edx, [ebp + 0x17]
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 0x43e5ea
cmp edi, dword [ecx + 0x74]
jge 0x43e5ea
test ebx, ebx
jl 0x43e5ea
cmp ebx, dword [ecx + 0x78]
jge 0x43e5ea
push 1
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call fcn.00429020
test al, al
je 0x43e5e4
mov ecx, dword [0x77da48]
push ebx
push edi
call fcn.00428280
test eax, eax
mov dword [esp + 0x18], eax
jne 0x43e5bc
mov ecx, dword [0x77da48]
push ebx
push edi
call fcn.004282e0
test eax, eax
mov dword [esp + 0x18], eax
je 0x43e5e4
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
jne 0x43e5e4
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 [0x77da48]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov edi, dword [edx + 8]
add eax, 8
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x43e542
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov byte [ebp], 0x12
mov byte [ebp + 1], 5
mov eax, dword [esi + 0x28]
mov dword [ebp + 6], eax
mov edx, dword [ecx + 0x28]
mov dword [ebp + 0xa], edx
mov eax, dword [ecx + 0x3c]
shr eax, 2
not al
and al, 1
mov byte [ebp + 0x15], al
mov dx, word [ebx]
mov word [ebp + 0xe], dx
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
mov word [ebp + 0x10], ax
mov word [ebp + 0x12], cx
sub ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
push ecx
sub eax, edx
push eax
call fcn.00435da0
add esp, 8
mov byte [ebp + 0x14], al
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xa8]
mov edi, eax
call fcn.005b6e90
mov edx, dword [eax]
push 0
push edi
mov ecx, eax
call dword [edx + 0xc]
test eax, eax
je 0x43e216
mov edi, dword [eax + 0x280]
mov ecx, dword [esi + 0x5c]
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 + 0x16], al
call fcn.00442810
test al, al
je 0x43e6c2
movzx edi, byte [ebp + 0x16]
push edi
call fcn.00435180
add esp, 4
test al, al
je 0x43e7e3
mov byte [ebp + 0x16], 0x12
movzx eax, byte [ebp + 0x16]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x44]
test al, al
je 0x43e80f
movzx eax, byte [ebp + 0x16]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x11c]
test al, al
je 0x43e80f
call sub.WINMM.dll_timeGetTime
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x58], eax
call dword [edx + 0x5c]
test byte [eax + 0x13], 0x10
je 0x43e713
cmp dword [ebx], 0x179
jne 0x43e713
mov word [ebp + 0xe], 0x1f50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x17], 1
je 0x43e72e
cmp dword [ebx], 0x179
jne 0x43e72e
mov word [ebp + 0xe], 0x1f59
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x1c], 0x20
je 0x43e749
cmp dword [ebx], 0x179
jne 0x43e749
mov word [ebp + 0xe], 0x1f57
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x16], 0x10
je 0x43e764
cmp dword [ebx], 0x179
jne 0x43e764
mov word [ebp + 0xe], 0x1f58
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
mov cl, byte [eax + 0x21]
test cl, cl
jns 0x43e780
cmp dword [ebx], 0x179
jne 0x43e780
mov word [ebp + 0xe], 0x1f5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
test byte [eax + 0x22], 1
je 0x43e79b
cmp dword [ebx], 0x179
jne 0x43e79b
mov word [ebp + 0xe], 0x1f5b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x22], 2
je 0x43e7b6
cmp dword [ebx], 0x179
jne 0x43e7b6
mov word [ebp + 0xe], 0x1f5c
push 0
lea eax, [esp + 0x30]
push eax
push ebp
mov ecx, esi
call fcn.00444690
mov edi, eax
test edi, edi
je 0x43e819
cmp edi, 1
je 0x43e819
xor ecx, ecx
cmp edi, 2
setne cl
lea ecx, [ecx + ecx + 6]
mov esi, ecx
jmp 0x43e21b
push edi
call fcn.004351b0
add esp, 4
test al, al
je 0x43e7f9
mov byte [ebp + 0x16], 0x13
jmp 0x43e6c2
push edi
call fcn.004351e0
add esp, 4
test al, al
je 0x43e80f
mov byte [ebp + 0x16], 0x23
jmp 0x43e6c2
mov esi, 6
jmp 0x43e21b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 0x13], 0x10
je 0x43e84c
cmp dword [ebx], 0x179
jne 0x43e84c
call sub.WINMM.dll_timeGetTime
push eax
mov ebx, 0x17a
push ebx
call fcn.00439e00
add esp, 4
push eax
mov ecx, esi
call fcn.004481f0
jmp 0x43e85f
call sub.WINMM.dll_timeGetTime
push eax
push ebx
mov ecx, esi
call fcn.004481f0
mov ebx, 0x17a
cmp edi, 1
jne 0x43e881
mov dword [ebp + 0xa], 0
mov byte [ebp + 0x15], 4
mov ax, word [esp + 0x2c]
mov word [ebp + 0x10], ax
mov cx, word [esp + 0x30]
mov word [ebp + 0x12], cx
cmp word [ebp + 0xe], 0x1f50
jne 0x43e88d
mov word [ebp + 0xe], bx
cmp word [ebp + 0xe], 0x1f59
jne 0x43e899
mov word [ebp + 0xe], bx
cmp word [ebp + 0xe], 0x1f57
jne 0x43e8a5
mov word [ebp + 0xe], bx
cmp word [ebp + 0xe], 0x1f58
jne 0x43e8b1
mov word [ebp + 0xe], bx
cmp word [ebp + 0xe], 0x1f5d
jne 0x43e8bd
mov word [ebp + 0xe], bx
cmp word [ebp + 0xe], 0x1f5b
jne 0x43e8c9
mov word [ebp + 0xe], bx
cmp word [ebp + 0xe], 0x1f5c
jne 0x43e8d5
mov word [ebp + 0xe], bx
cmp word [ebp + 0xe], 0x16c
jne 0x43e8e3
mov word [ebp + 0xe], 0x179
mov edx, dword [0x7695d0]
mov ecx, 0x7695d0
call dword [edx + 8]
mov edi, dword [esp + 0x14]
push 0
mov dword [ebp + 2], eax
mov ecx, dword [0x77db4c]
mov eax, dword [ecx]
lea edi, [edi*4 + 0x17]
push edi
push ebp
call dword [eax + 0x10]
call sub.WINMM.dll_timeGetTime
sub eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x5c]
inc dword [esi + 0x570]
call sub.WINMM.dll_timeGetTime
mov dword [esi + 0x5a8], eax
call sub.WINMM.dll_timeGetTime
mov dword [esi + 0x13d0], eax
mov al, byte [0x77c5e8]
test al, al
je 0x43e9b9
mov ecx, dword [0x77db4c]
mov eax, dword [ecx]
push edi
push ebp
call dword [eax + 0x1c]
mov cl, byte [ebp + 0x14]
mov byte [esp + 0x34], 0x12
mov byte [esp + 0x35], 6
mov byte [esp + 0x40], cl
mov byte [esp + 0x4e], 0
call fcn.0065e083
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x28]
push 0x1b
mov byte [esp + 0x45], 1
mov byte [esp + 0x42], 0
mov dword [esp + 0x46], eax
mov dword [esp + 0x4e], 0xa
test edx, edx
setne dl
dec dl
and edx, 0xb
mov byte [esp + 0x43], dl
mov edx, dword [ecx + 0x28]
mov ecx, dword [0x77db4c]
mov dword [esp + 0x3e], edx
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
call dword [eax + 0x1c]
xor esi, esi
jmp 0x43e21b