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

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 4]
test eax, eax
je 0x440ba6
mov al, byte [ebp + 0x17e]
test al, al
je 0x440ba6
mov esi, dword [esp + 0xbc]
test esi, esi
je 0x440797
mov edi, dword [esp + 0xac]
lea eax, [esp + 0x98]
push eax
push edi
call dword [0x100750d4]
push esi
call dword [0x10075070]
mov esi, eax
push 1
push esi
push edi
call dword [0x100750d0]
push esi
call dword [0x10075060]
mov eax, dword [esp + 0xb8]
mov ebx, dword [eax + 8]
mov edx, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 4]
sub ebx, edx
sub esi, ecx
test ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
je 0x440ba6
test esi, esi
je 0x440ba6
mov eax, dword [ebp + 0x14c]
mov edi, dword [ebp + 0x1a0]
cmp eax, 0xffffffff
lea ecx, [esp + 0x48]
setne byte [esp + 0x1a]
test edi, edi
push ecx
mov ecx, ebp
setne byte [esp + 0x1f]
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.00442827
mov edx, dword [eax]
mov eax, dword [ebp + 0x14c]
mov dword [esp + 0x60], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xac]
mov dword [esp + 0x54], edx
push edi
mov dword [esp + 0x70], 0x28
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
mov word [esp + 0x7c], 1
mov word [esp + 0x7e], 0x18
call dword [0x10075054]
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
lea edx, [esp + 0x78]
push 0
push edx
push edi
mov dword [esp + 0x44], eax
call dword [0x10075098]
mov dword [esp + 0x48], eax
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [0x10075124]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
push 0xcc0020
push ecx
push edx
push edi
push esi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
push ebx
push 0
push 0
push eax
call dword [0x1007503c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x440b1c
lea ecx, [ebx + ebx*2]
lea eax, [ecx*8 + 0x1f]
mov ecx, dword [ebp + 0x10]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0xb8]
sar eax, 5
shl eax, 2
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0xc]
sub ecx, eax
test esi, esi
mov dword [esp + 0x20], ecx
jle 0x440b1c
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], esi
mov eax, ecx
mov esi, dword [esp + 0x30]
imul eax, dword [ebp + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
add esi, eax
mov eax, dword [ebp + 0x30]
mov edi, dword [edx]
imul eax, ecx
lea ebx, [edi + edi*2]
mov dword [esp + 0x34], edi
add eax, ebx
mov ebx, dword [ebp + 0x34]
add eax, ebx
mov ebx, edi
cmp ebx, dword [edx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ebx
jge 0x440aeb
jmp 0x440933
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x1b]
test dl, dl
je 0x440950
mov edx, dword [esp + 0x5c]
mov ebx, dword [ebp + 0x1a0]
add edx, edi
mov dl, byte [edx + ebx]
mov byte [esp + 0x1c], dl
jmp 0x440955
mov byte [esp + 0x1c], 0xff
mov edx, dword [esp + 0x1c]
xor ebx, ebx
mov bl, byte [ebp + 0x17c]
and edx, 0xff
inc ebx
imul ebx, edx
mov edx, dword [ebp + 0x28]
sar ebx, 8
test edx, edx
mov byte [esp + 0x1c], bl
je 0x440a2a
push ecx
push edi
mov ecx, ebp
call fcn.00474047
and eax, 0xff
mov ecx, ebp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
push eax
push edi
call fcn.00474047
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, ebp
call fcn.00473fd7
mov edi, dword [eax]
mov al, byte [ebp + 0x17d]
test al, al
mov dword [esp + 0x10], edi
je 0x4409d8
mov ebx, dword [esp + 0x13]
mov edx, dword [esp + 0x1c]
and ebx, 0xff
and edx, 0xff
inc ebx
imul ebx, edx
sar ebx, 8
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x4409f1
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x60]
jne 0x440a03
test ecx, ecx
jne 0x4409f7
cmp edi, dword [esp + 0x54]
jne 0x440a03
mov cl, byte [esp + 0x1a]
test cl, cl
jne 0x440ab6
test bl, bl
je 0x440ab6
cmp bl, 0xff
jne 0x440a4a
mov cl, byte [esp + 0x10]
mov dl, byte [esp + 0x11]
mov byte [esi], cl
mov cl, byte [esp + 0x12]
inc esi
mov byte [esi], dl
inc esi
mov byte [esi], cl
inc esi
jmp 0x440ab9
mov cl, byte [eax]
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x10], cl
inc eax
mov byte [esp + 0x11], dl
mov cl, byte [eax]
inc eax
mov byte [esp + 0x12], cl
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x4409dc
mov ecx, dword [esp + 0x1c]
and edi, 0xff
not bl
mov byte [esp + 0x4c], bl
xor ebx, ebx
mov edx, dword [esp + 0x4c]
mov bl, byte [esi]
and ecx, 0xff
and edx, 0xff
imul ebx, edx
imul edi, ecx
add ebx, edi
mov edi, dword [esp + 0x11]
sar ebx, 8
mov byte [esi], bl
inc esi
xor ebx, ebx
and edi, 0xff
mov bl, byte [esi]
imul edi, ecx
imul ebx, edx
add ebx, edi
sar ebx, 8
mov byte [esi], bl
inc esi
xor ebx, ebx
mov bl, byte [esi]
imul ebx, edx
mov edx, dword [esp + 0x12]
and edx, 0xff
imul edx, ecx
add ebx, edx
sar ebx, 8
mov byte [esi], bl
inc esi
jmp 0x440ab9
add esi, 3
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
inc ecx
mov edi, dword [edx + 8]
inc ebx
cmp ecx, edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ebx
jl 0x44092b
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
jmp 0x440af3
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x38]
inc ecx
dec eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
jne 0x4408ec
mov edi, dword [esp + 0xac]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0xb4]
push 0
push ecx
mov ecx, dword [esp + 0xb8]
push edx
push esi
push 0
push 0
push 0
push esi
push ebx
push eax
push ecx
push edi
call dword [0x100750cc]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
push edx
push esi
call dword [0x10075124]
mov eax, dword [esp + 0x48]
mov ebx, dword [0x10075060]
push eax
call ebx
push esi
call dword [0x10075058]
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x440b94
lea ecx, [esp + 0x98]
push ecx
call dword [0x10075070]
mov esi, eax
push 2
push esi
push edi
call dword [0x100750d0]
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x98
ret 0x1c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x98
ret 0x1c