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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp ebx, 0x7fffffff
ja 0x445afb
test ebx, ebx
je 0x445afb
mov esi, dword [ebp + 8]
mov eax, 0x40000000
cdq
idiv dword [esi + 0x34]
inc eax
cmp ebx, eax
je 0x445afb
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x445776
cmp eax, 0xd
jne 0x4457d9
cmp dword [esi + 0x40], 0
push edi
jne 0x44585c
cmp byte [esi + 0x10], 0
jne 0x44585c
cmp byte [esi + 3], 0
jne 0x4457a4
push 1
push esi
call fcn.00444f10
add esp, 8
test eax, eax
jne 0x445844
push esi
call fcn.00443e40
add esp, 4
test eax, eax
je 0x445853
push 4
push dword [esi + 0x5c]
call fcn.00442b30
mov edi, eax
add esp, 8
test edi, edi
je 0x4457dd
push esi
call fcn.00444e20
push edi
push esi
call fcn.004442d0
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x54]
mov byte [esi + 0xa], 4
call fcn.00443770
add esp, 8
push esi
test eax, eax
je 0x445807
call fcn.00444e20
add esp, 4
mov eax, 5
pop edi
pop esi
pop ebx
pop ebp
ret
mov word [esi], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov byte [esi + 0x11], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
call fcn.004444f0
add esp, 4
test eax, eax
je 0x445853
push eax
push esi
call fcn.004442d0
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
ret
mov dword [ebp + 0xc], 0
jmp 0x445883
push ebx
push esi
call fcn.00444370
add esp, 8
cmp byte [esi + 0x10], 0
mov edi, eax
mov dword [ebp + 0xc], edi
je 0x44587b
cmp byte [esi + 0xa], 0
jne 0x44587b
mov byte [esi + 0xa], 1
test edi, edi
jne 0x445ac6
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x44]
jl 0x4458b6
cmp dword [esi + 0x6c], 0
je 0x4458b6
cmp byte [esi + 0x10], 0
jne 0x4458b6
lea eax, [ebp + 0xc]
push eax
push 1
push esi
call fcn.00444880
add esp, 0xc
test eax, eax
jne 0x4457d8
mov edi, dword [ebp + 0xc]
jmp 0x44594e
mov eax, dword [esi + 0xc4]
cmp ecx, eax
jl 0x4458e3
cmp eax, 0x100
jge 0x4458ce
mov eax, 0x100
jmp 0x4458d0
add eax, eax
push eax
push esi
call fcn.00444b70
add esp, 8
cmp dword [esi + 0xc4], 0
je 0x445906
movzx ecx, byte [esi + 0x10]
mov eax, dword [esi + 0x34]
push 1
lea ecx, [eax + ecx*8]
mov eax, dword [esi + 0x30]
add eax, 0x3c
add eax, ecx
push eax
call fcn.00453b00
mov edi, eax
add esp, 8
test edi, edi
jne 0x445910
pop edi
pop esi
mov eax, 7
pop ebx
pop ebp
ret
push 0x38
push 0
push edi
call fcn.004f2250
add esp, 0xc
cmp byte [esi + 0x10], 0
je 0x445934
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
add ecx, edi
xorps xmm0, xmm0
movq qword [ecx + eax + 0x38], xmm0
mov dword [edi], esi
mov eax, dword [esi + 0x78]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x3c]
inc dword [esi + 0x38]
mov dword [esi + 0x78], edi
cmp dword [esi + 0x38], eax
jle 0x44594e
inc eax
mov dword [esi + 0x3c], eax
mov dword [edi + 4], ebx
mov eax, dword [esi + 0x48]
mov edx, 1
test eax, eax
je 0x445981
cmp ebx, dword [esi + 0x1c]
jg 0x445981
mov ecx, ebx
and ecx, 7
shl edx, cl
mov ecx, dword [esi + 0x48]
mov eax, ebx
shr eax, 3
test byte [eax + ecx], dl
mov edx, 1
setne al
mov byte [edi + 0x24], al
jmp 0x445985
mov byte [edi + 0x24], 0
mov byte [edi + 0x27], 0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4459b1
cmp ebx, dword [esi + 0x20]
jg 0x4459b1
mov ecx, ebx
and ecx, 7
shl edx, cl
mov ecx, dword [esi + 0x4c]
mov eax, ebx
shr eax, 3
test byte [eax + ecx], dl
je 0x4459b1
push edi
call fcn.00444000
jmp 0x4459b7
push edi
call fcn.00444030
add esp, 4
push edi
call fcn.00443e90
mov eax, 1
mov word [edi + 0x2a], ax
mov eax, dword [esi + 0x30]
inc dword [esi + 0x40]
add esp, 4
test eax, eax
jle 0x4459ea
push eax
mov eax, dword [esi + 0x34]
add eax, 0x38
add eax, edi
push 0
push eax
call fcn.004f2250
add esp, 0xc
cmp dword [esi + 0x14], 0
je 0x445a04
lea eax, [edi + 0x38]
push eax
call fcn.004467d0
mov eax, dword [esi + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.00446040
add esp, 4
cmp eax, ebx
jl 0x445a77
cmp byte [esi + 0x10], 0
jne 0x445a77
mov eax, dword [esi + 0x34]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.004f6170
push edx
push eax
push dword [esi + 0x5c]
call fcn.00442b90
add esp, 0xc
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x445a55
push dword [esi + 0x34]
lea eax, [edi + 0x38]
push eax
push dword [esi + 0x5c]
call fcn.00442b70
add esp, 0xc
mov dword [ebp + 0xc], eax
test eax, eax
je 0x445a88
cmp eax, 0x20a
je 0x445a88
lea eax, [edi + 0x38]
push eax
mov dword [edi + 4], 0
call fcn.004467d0
mov eax, dword [ebp + 0xc]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [esi + 0x34]
lea eax, [edi + 0x38]
push 0
push eax
call fcn.004f2250
add esp, 0xc
mov eax, dword [esi + 0xc4]
dec eax
and eax, ebx
lea ecx, [eax*4]
mov eax, dword [esi + 0xc8]
mov eax, dword [ecx + eax]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc8]
mov dword [ecx + eax], edi
mov eax, dword [edi + 8]
test eax, eax
je 0x445aec
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], edi
lea eax, [edi + 0x38]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [edi + 0x2a]
test ax, ax
jne 0x445ae7
push edi
call fcn.00443da0
mov ecx, dword [ebp + 0x10]
add esp, 4
lea eax, [edi + 0x38]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
pop ebp
ret
inc eax
mov word [edi + 0x2a], ax
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 0x38]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
pop ebp
ret
pop esi
mov eax, 0xb
pop ebx
pop ebp
ret