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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, eax
mov eax, dword [esp + 0x98]
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
mov ebp, dword [edi + 0x834]
mov esi, dword [edi + 0x82c]
imul ebp, eax
shl eax, 4
mov dword [esp + 0x28], eax
imul eax, esi
mov edx, ebx
shl edx, 4
add eax, edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xa0]
add eax, dword [edx]
mov ecx, esi
lea edx, [eax + 8]
mov dword [esp + 0x80], eax
lea eax, [eax + esi*8]
mov dword [esp + 0x88], eax
add eax, 8
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa4]
add eax, eax
add eax, eax
sar ecx, 1
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 4]
add eax, eax
imul eax, ecx
add ebp, ebx
mov dword [esp + 0x1c], ecx
imul ebp, ebp, 0x124
add ebp, dword [edi + 0x8b8]
lea ecx, [ebx*8]
add edx, ecx
add edx, eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 8]
add edx, ecx
add edx, eax
cmp dword [ebp], 2
mov dword [esp + 0x94], edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], ecx
jne 0x442794
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
add eax, ecx
add eax, esi
add eax, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x5c]
add ecx, esi
add ecx, dword [esp + 0x54]
mov esi, eax
sar eax, 3
add ecx, ebx
and esi, 0xf
movzx esi, word [esi*2 + 0x5267f0]
add esi, eax
mov eax, ecx
and eax, 0xf
movzx eax, word [eax*2 + 0x5267f0]
sar ecx, 3
add eax, ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
shl ecx, 4
mov eax, ebx
sar eax, 1
add eax, ecx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x14]
imul eax, esi
mov dword [esp + 0x28], ecx
mov ecx, edx
sar ecx, 1
add eax, ecx
add eax, dword [edi + 0x868]
and edx, 1
add eax, dword [esp + 0x18]
and ebx, 1
lea edx, [ebx + edx*2]
sub edx, 0
lea ecx, [edi + 0x600]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], 8
je 0x4425bc
sub edx, 1
push esi
push 8
push eax
lea eax, [edi + 0x600]
push eax
je 0x4425b1
sub edx, 1
je 0x4425a6
call dword [0x55bec0]
add esp, 0x10
jmp 0x4425c4
call dword [0x55beb0]
add esp, 0x10
jmp 0x4425c4
call dword [0x55bebc]
add esp, 0x10
jmp 0x4425c4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], edx
mov edx, ecx
sar edx, 1
add edx, dword [esp + 0x28]
mov ebx, eax
imul edx, esi
sar ebx, 1
add edx, ebx
add edx, dword [edi + 0x868]
mov ebx, dword [esp + 0x18]
lea edx, [edx + ebx + 8]
and eax, 1
and ecx, 1
mov dword [esp + 0x14], edx
lea eax, [ecx + eax*2]
sub eax, 0
lea edx, [edi + 0x640]
mov ebx, edx
mov dword [esp + 0x34], 8
je 0x442655
sub eax, 1
push esi
push 8
je 0x442644
sub eax, 1
je 0x442633
mov eax, dword [esp + 0x1c]
push eax
push edx
call dword [0x55bec0]
add esp, 0x10
jmp 0x44265d
mov ecx, dword [esp + 0x1c]
push ecx
push edx
call dword [0x55beb0]
add esp, 0x10
jmp 0x44265d
mov eax, dword [esp + 0x1c]
push eax
push edx
call dword [0x55bebc]
add esp, 0x10
jmp 0x44265d
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov ecx, edx
sar ecx, 1
lea eax, [ecx + eax + 8]
mov ecx, dword [esp + 0x58]
imul eax, esi
mov dword [esp + 0x6c], ebx
mov ebx, ecx
sar ebx, 1
add eax, ebx
add eax, dword [edi + 0x868]
and ecx, 1
add eax, dword [esp + 0x18]
and edx, 1
lea ecx, [edx + ecx*2]
sub ecx, 0
lea ebx, [edi + 0x680]
mov dword [esp + 0x38], 8
je 0x4426da
sub ecx, 1
push esi
push 8
push eax
lea eax, [edi + 0x680]
push eax
je 0x4426cf
sub ecx, 1
je 0x4426c4
call dword [0x55bec0]
add esp, 0x10
jmp 0x4426e0
call dword [0x55beb0]
add esp, 0x10
jmp 0x4426e0
call dword [0x55bebc]
add esp, 0x10
jmp 0x4426e0
mov ebx, eax
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x28]
mov edx, ecx
sar edx, 1
lea edx, [edx + eax + 8]
mov eax, dword [esp + 0x60]
imul edx, esi
mov dword [esp + 0x70], ebx
mov ebx, eax
sar ebx, 1
add edx, ebx
add edx, dword [edi + 0x868]
mov ebx, dword [esp + 0x18]
lea edx, [edx + ebx + 8]
and eax, 1
and ecx, 1
mov dword [esp + 0x18], edx
lea eax, [ecx + eax*2]
sub eax, 0
lea edx, [edi + 0x6c0]
mov ebx, edx
mov dword [esp + 0x3c], 8
je 0x442786
sub eax, 1
push esi
push 8
je 0x44276e
sub eax, 1
je 0x442756
mov eax, dword [esp + 0x20]
push eax
push edx
call dword [0x55bec0]
add esp, 0x10
mov dword [esp + 0x74], ebx
jmp 0x442812
mov ecx, dword [esp + 0x20]
push ecx
push edx
call dword [0x55beb0]
add esp, 0x10
mov dword [esp + 0x74], ebx
jmp 0x442812
mov eax, dword [esp + 0x20]
push eax
push edx
call dword [0x55bebc]
add esp, 0x10
mov dword [esp + 0x74], ebx
jmp 0x442812
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x74], ebx
jmp 0x442812
mov ecx, edx
and ecx, 3
movzx eax, word [ecx*2 + 0x5267e8]
mov ecx, edx
sar ecx, 1
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, ecx
and eax, 3
movzx eax, word [eax*2 + 0x5267e8]
sar ecx, 1
add eax, ecx
mov ecx, dword [esp + 0x28]
push ecx
shl ebx, 4
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x868]
push ebx
push eax
lea ecx, [edi + 0x600]
push ecx
mov ecx, dword [ebp + 8]
lea ebx, [esp + 0x40]
call fcn.00440400
mov ecx, dword [esp + 0x40]
lea edx, [eax + 8]
mov dword [esp + 0x78], eax
lea eax, [eax + ecx*8]
add esp, 0x10
mov dword [esp + 0x70], eax
add eax, 8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xa4]
sar eax, 1
lea ebx, [eax + ecx*8]
mov ecx, dword [esp + 0x24]
imul ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0x86c]
mov edx, ecx
sar edx, 1
add eax, edx
mov dword [esp + 0x28], edx
lea edx, [edi + 0x700]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
and ecx, 1
and edx, 1
add eax, ebx
add eax, dword [esp + 0x2c]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x20], ecx
sub ecx, 0
mov dword [esp + 0x40], 8
je 0x4428c1
sub ecx, 1
je 0x4428a7
sub ecx, 1
je 0x44288d
mov edx, dword [esp + 0x1c]
push edx
push 8
push eax
lea eax, [edi + 0x700]
push eax
call dword [0x55bec0]
add esp, 0x10
jmp 0x4428cd
mov ecx, dword [esp + 0x1c]
push ecx
push 8
push eax
lea eax, [edi + 0x700]
push eax
call dword [0x55beb0]
add esp, 0x10
jmp 0x4428cd
mov edx, dword [esp + 0x1c]
push edx
push 8
push eax
lea eax, [edi + 0x700]
push eax
call dword [0x55bebc]
add esp, 0x10
jmp 0x4428cd
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x870]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add eax, ebx
add eax, dword [esp + 0x2c]
sub edx, 0
mov dword [esp + 0x78], ecx
lea ecx, [edi + 0x740]
mov ebx, ecx
mov dword [esp + 0x44], 8
je 0x44293b
sub edx, 1
je 0x442927
sub edx, 1
mov edx, dword [esp + 0x1c]
push edx
push 8
push eax
push ecx
je 0x44291c
call dword [0x55bec0]
add esp, 0x10
jmp 0x442945
call dword [0x55beb0]
add esp, 0x10
jmp 0x442945
mov edx, dword [esp + 0x1c]
push edx
push 8
push eax
push ecx
call dword [0x55bebc]
add esp, 0x10
jmp 0x442945
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
push 0x300
mov dword [esp + 0x80], ebx
lea ebx, [edi + 0x300]
push 0
push ebx
mov dword [esp + 0x30], ebx
call fcn.0049e490
mov ecx, 5
add esp, 0xc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov edx, 1
shl edx, cl
test dword [ebp + 0x60], edx
je 0x44299d
lea ebx, [edi + 0x81c]
mov edi, dword [esp + 0x20]
call fcn.00441d60
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add dword [esp + 0x20], 0x80
sub ecx, 1
cmp ecx, 0xffffffff
mov dword [esp + 0x2c], ecx
jg 0x442973
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x58]
push eax
push ecx
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x7c]
mov edx, edi
mov ecx, ebx
call fcn.00446110
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret