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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x6c
mov edi, dword [eax]
mov eax, dword [edi + 4]
mov dword [ebp - 0x44], eax
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x3c], eax
add eax, eax
add eax, ebx
mov dword [ebp - 0x54], eax
movzx eax, word [eax + 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea eax, [ebx + eax*4]
mov esi, dword [eax + 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x40]
movzx eax, word [eax + ecx*2]
xchg al, ah
and eax, dword [esi + 0x18]
movzx eax, ax
add eax, dword [esi + 0x38]
mov dword [ebp - 0x4c], eax
mov al, dl
and al, 2
mov byte [ebp - 0x55], al
jne 0x440353
mov dword [ebp - 0x48], 0
jmp 0x4403a6
cmp byte [esi + 8], 0
je 0x44038c
mov eax, dword [ebp - 0x4c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00402fb9
movzx edx, word [esi + 0x14]
movzx eax, ax
mov ecx, 3
lea eax, [edx + eax + 1]
xor edx, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x24]
add eax, eax
div ecx
cmp dword [ebp - 0x48], eax
jl 0x44039f
mov eax, ebx
call fcn.0043f6e8
test eax, eax
mov dword [ebp - 0x34], eax
je 0x44034a
jmp 0x4405a4
mov dword [ebp - 0x48], 1
cmp byte [esi + 8], 0
jne 0x4403cd
lea eax, [ebp - 0x30]
mov dword [esp], ebx
mov dword [ebp - 0x30], 0
mov dword [esp + 4], eax
call fcn.0043f38f
test eax, eax
mov dword [ebp - 0x34], eax
jne 0x4405a4
test byte [ebx + 0x40], 0x20
jne 0x4403ef
cmp dword [ebx + 0x48], 0
jne 0x44040b
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov eax, edi
mov dword [esp], 0
call fcn.0040acad
jmp 0x44040b
mov eax, dword [ebp - 0x44]
mov edx, dword [ebx + 0x34]
mov ecx, ebx
mov eax, dword [eax + 8]
call fcn.0043f82b
test eax, eax
mov dword [ebp - 0x34], eax
je 0x4403d3
jmp 0x4405a4
mov eax, dword [esi + 0x48]
call fcn.0043820c
test eax, eax
mov dword [ebp - 0x34], eax
jne 0x4405a4
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x30]
mov eax, esi
call fcn.0043cd33
movzx ecx, word [ebp - 0x1e]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x40]
mov dword [esp], eax
mov eax, esi
call fcn.00426181
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4405a4
cmp byte [esi + 8], 0
je 0x44046a
mov eax, ebx
call fcn.0043d077
test eax, eax
mov dword [ebp - 0x34], eax
je 0x44052b
jmp 0x440558
movsx eax, byte [ebx + 0x44]
mov edi, dword [ebx + eax*4 + 0x78]
movzx ecx, word [edi + 0x16]
mov edx, dword [edi + 0x40]
movzx eax, word [edx + ecx*2 - 2]
xchg al, ah
and eax, dword [edi + 0x18]
movzx eax, ax
add eax, dword [edi + 0x38]
mov edx, eax
mov eax, dword [edi + 0x38]
add eax, 4
cmp edx, eax
jae 0x4404a4
mov eax, 0x105a4
call fcn.00425a2d
jmp 0x4405a4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], edx
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 4]
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [ebp - 0x50], eax
call dword [edi + 0x4c]
movzx eax, ax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x48]
call fcn.0043820c
test eax, eax
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x5c]
jne 0x440509
lea eax, [ebp - 0x34]
lea ecx, [edx - 4]
mov edx, dword [ebp - 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [esp], eax
mov eax, esi
call fcn.0043ce6c
movzx edx, word [edi + 0x16]
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x4c]
mov dword [esp], eax
mov eax, edi
dec edx
call fcn.00426181
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x440453
jmp 0x4405a4
movsx eax, byte [ebx + 0x44]
cmp dword [ebp - 0x3c], eax
jge 0x440558
movsx edx, byte [ebx + 0x44]
cmp dword [ebp - 0x3c], edx
mov eax, edx
jge 0x44054e
dec eax
mov byte [ebx + 0x44], al
mov eax, dword [ebx + edx*4 + 0x78]
call fcn.00439bb8
jmp 0x440534
mov eax, ebx
call fcn.0043d077
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4405a1
cmp dword [ebp - 0x48], 0
je 0x44058d
mov byte [ebx + 0x42], 2
movzx edx, word [esi + 0x16]
cmp dword [ebp - 0x40], edx
mov eax, edx
jl 0x440584
mov esi, dword [ebp - 0x54]
dec eax
mov dword [ebx + 0x3c], 0xffffffff
mov word [esi + 0x50], ax
jmp 0x4405a1
mov dword [ebx + 0x3c], 1
jmp 0x4405a1
mov eax, ebx
call fcn.0043a646
cmp byte [ebp - 0x55], 0
mov dword [ebp - 0x34], eax
je 0x4405a1
mov byte [ebx + 0x42], 3
mov eax, dword [ebp - 0x34]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret