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

Disassembly:
push 0xffffffffffffffff
push 0x479d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [0x4ae2d8]
push esi
mov esi, ecx
mov ecx, eax
inc eax
mov dword [esp + 0x50], 0x4ae2d8
test ecx, ecx
mov dword [0x4ae2d8], eax
je 0x437dfb
mov eax, 1
jmp 0x437dfd
xor eax, eax
mov byte [esp + 0x54], al
xor ecx, ecx
test al, al
mov dword [esp + 0x80], ecx
jne 0x4380de
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
push ebx
push ebp
push edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x28]
xor edi, edi
inc ecx
cmp eax, edi
mov dword [esp + 0x10], ecx
je 0x437e4c
mov edx, dword [esi + 0x2c]
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
lea eax, [esp + 0x2c]
jmp 0x437e59
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x74]
push eax
call fcn.00438fc0
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x54], ebx
cmp eax, edi
mov dword [esp + 0x58], ecx
jne 0x437e75
mov dword [esi + 0x44], edi
mov dword [esi + 0x3c], edi
jmp 0x437ed9
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x64]
push eax
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov edi, dword [esi + 0x34]
mov ebp, dword [esp + 0x64]
lea eax, [edi + ebp - 1]
cdq
idiv edi
mov ecx, eax
mov eax, ebx
cdq
idiv edi
mov dword [esi + 0x44], ecx
mov edi, eax
cmp edi, ecx
jge 0x437eac
cmp ebx, ebp
jl 0x437ea8
inc edi
cmp edi, ecx
jl 0x437eb6
xor edi, edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], edi
jmp 0x437ed9
cmp edi, 1
jge 0x437ec0
mov edi, 1
mov eax, dword [esi + 0x3c]
sub ecx, edi
cmp eax, ecx
jle 0x437ece
mov dword [esi + 0x3c], ecx
jmp 0x437ed9
test eax, eax
jge 0x437ed9
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x18]
push 1
push eax
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx]
push edi
push eax
push 4
call dword [edx + 0x16c]
push edi
push 4
mov ecx, esi
call fcn.004381c0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x437f15
mov edx, dword [esi + 0x2c]
mov ecx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea eax, [esp + 0x34]
jmp 0x437f3e
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1e0]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x3c]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x38]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x7c], edx
jne 0x437f58
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
jmp 0x437fbc
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x6c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov edi, dword [esi + 0x38]
mov ebp, dword [esp + 0x70]
lea eax, [edi + ebp - 1]
cdq
idiv edi
mov ecx, eax
mov eax, ebx
cdq
idiv edi
mov dword [esi + 0x48], ecx
mov edi, eax
cmp edi, ecx
jge 0x437f8f
cmp ebx, ebp
jl 0x437f8b
inc edi
cmp edi, ecx
jl 0x437f99
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
jmp 0x437fbc
cmp edi, 1
jge 0x437fa3
mov edi, 1
mov eax, dword [esi + 0x40]
sub ecx, edi
cmp eax, ecx
jle 0x437fb1
mov dword [esi + 0x40], ecx
jmp 0x437fbc
test eax, eax
jge 0x437fbc
mov dword [esi + 0x40], 0
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x18]
push 1
push edx
mov edx, dword [esi + 0x40]
mov eax, dword [ecx]
push edi
push edx
push 8
call dword [eax + 0x16c]
push edi
push 8
mov ecx, esi
call fcn.004381c0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x437ff6
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x44]
jmp 0x43801f
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 0x1e0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
lea eax, [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x54]
mov eax, dword [eax + 4]
cmp ecx, edx
jne 0x438030
cmp eax, ebx
je 0x43803b
cmp dword [esp + 0x10], 5
jl 0x437e27
mov edx, dword [esi + 0x3c]
mov edi, dword [esp + 0x24]
cmp edi, edx
je 0x43808b
mov al, byte [esi + 0x54]
test al, al
mov eax, dword [esi + 0x28]
je 0x438072
test eax, eax
je 0x438059
lea eax, [esi + 0x20]
jmp 0x43805b
xor eax, eax
sub edi, edx
mov ecx, dword [esi + 0x1c]
imul edi, dword [esi + 0x34]
mov ebx, dword [ecx]
push eax
push 0
push edi
call dword [ebx + 0x180]
jmp 0x43808b
test eax, eax
je 0x43807b
lea eax, [esi + 0x20]
jmp 0x43807d
xor eax, eax
mov ecx, dword [esi + 0x1c]
push eax
push 1
mov edx, dword [ecx]
call dword [edx + 0x10c]
mov edx, dword [esi + 0x40]
mov edi, dword [esp + 0x28]
cmp edi, edx
je 0x4380db
mov al, byte [esi + 0x55]
test al, al
mov eax, dword [esi + 0x28]
je 0x4380c2
test eax, eax
je 0x4380a9
lea eax, [esi + 0x20]
jmp 0x4380ab
xor eax, eax
sub edi, edx
mov ecx, dword [esi + 0x1c]
imul edi, dword [esi + 0x38]
mov ebx, dword [ecx]
push eax
push edi
push 0
call dword [ebx + 0x180]
jmp 0x4380db
test eax, eax
je 0x4380cb
lea eax, [esi + 0x20]
jmp 0x4380cd
xor eax, eax
mov ecx, dword [esi + 0x1c]
push eax
push 1
mov edx, dword [ecx]
call dword [edx + 0x10c]
pop edi
pop ebp
pop ebx
mov eax, dword [0x4ae2d8]
mov ecx, dword [esp + 0x78]
dec eax
pop esi
mov dword [0x4ae2d8], eax
mov dword fs:[0], ecx
add esp, 0x80
ret