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

Disassembly:
sub esp, 0x64
mov eax, 1
mov dword [esp + 0x10], edx
push ebx
mov ebx, dword [esp + 0x74]
push esi
push edi
sub eax, ebx
push ebp
mov ebx, edx
mov dword [esp + 0x1c], eax
mov eax, ecx
and eax, 0x7f00
and ecx, 0xff
shr eax, 6
mov esi, ecx
mov ebp, dword [eax + 0x49e820]
movsx edx, byte [ebp + 0x1c]
mov byte [0x4c5e90], 0
cmp edx, 1
jne 0x4440d0
mov ecx, dword [ebp + 0xc]
mov edi, 0x100
cmp byte [ecx + 0x3c], 3
sete dl
sub edi, esi
mov byte [0x4c5e90], dl
mov eax, dword [ecx + 0xb8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
imul eax, edi
cdq
and edx, 0xff
mov dword [esp + 0x34], edi
add eax, edx
mov edi, dword [esp + 0x7c]
sar eax, 8
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0xbc]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], edx
mov edx, dword [edi]
imul esi, dword [esp + 0x24]
sar esi, 8
mov dword [esp + 0x38], edx
neg esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x10], eax
js 0x443ee3
mov al, byte [ebp + 0x1c]
cmp al, 1
jne 0x443ee3
mov dword [ebx], ebp
mov dword [ebx + 4], 1
mov eax, dword [ebp + 8]
sar eax, 8
mov dword [ebx + 8], eax
mov esi, dword [ebx + 0x238]
mov edx, dword [ebx + 0x14]
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + 4]
mov dword [eax], esi
mov eax, dword [ebx + 8]
cdq
idiv dword [esp + 0x78]
lea esi, [esp + 0x24]
push esi
lea eax, [edx + edx*8]
shl eax, 4
mov edx, dword [ebx + 0x14]
add eax, 0x4ba190
mov dword [edx + 0xfc], eax
mov edx, dword [ebx + 0x14]
call fcn.00444630
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x10], ecx
mov ebp, dword [ebp]
mov ecx, dword [ebp + 0xc]
mov al, byte [ebp + 0x1c]
cmp al, 1
jne 0x443ecc
mov eax, dword [ecx + 0xb8]
mov edx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x2c], edx
mov esi, dword [ecx + 0xbc]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x10]
add ebx, 0x224
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jge 0x443e44
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jl 0x4440b2
mov ecx, dword [ebp + 0x2c]
cmp ecx, 2
jne 0x443f21
lea esi, [esp + 0x24]
lea edi, [esp + 0x4c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx - 0x210]
mov dword [ecx + 4], eax
jmp 0x443fab
mov al, byte [0x476ce4]
lea esi, [esp + 0x24]
lea edi, [esp + 0x4c]
mov ecx, 0xa
mov byte [0x473498], al
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x476ce4]
mov ecx, dword [esp + 0x2c]
test eax, eax
mov eax, dword [ebp + 0x28]
jne 0x443f5f
add eax, ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x24]
add eax, edx
mov dword [esp + 0x58], eax
jmp 0x443f70
sub ecx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
sub eax, dword [ebp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
xor eax, eax
mov dword [esp + edx*8 + 0x44], eax
lea ecx, [edx*8]
mov edx, dword [0x476ce4]
nop
mov dword [esp + ecx + 0x48], eax
nop
mov ecx, dword [ebx + edx*4 + 0x14]
lea eax, [ebx + edx*4 + 0x14]
mov edx, dword [ebx - 0x210]
mov dword [edx], ecx
mov edx, dword [ebx - 0x210]
mov eax, dword [eax]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x44450a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
add esi, dword [eax + 0xb8]
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x24], eax
add edi, dword [edx + 0xb8]
mov dword [esp + 0x54], edi
mov eax, dword [edx + 0xbc]
mov dword [esp + 0x4c], eax
mov dword [ebx], ebp
movsx ecx, byte [ebp + 0x1c]
mov dword [ebx + 4], ecx
mov eax, dword [ebp + 8]
sar eax, 8
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 0x238]
mov edx, dword [ebx + 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x23c]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov eax, dword [ebx + 8]
cdq
idiv dword [esp + 0x78]
mov ecx, dword [ebx + 0x14]
lea eax, [edx + edx*8]
shl eax, 4
add eax, 0x4ba190
mov dword [ecx + 0xfc], eax
mov eax, dword [ebx + 8]
cdq
idiv dword [esp + 0x78]
mov ecx, dword [ebx + 0x18]
nop
lea eax, [edx + edx*8]
lea edx, [esp + 0x24]
shl eax, 4
push edx
add eax, 0x4bb4b0
mov dword [ecx + 0xfc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x14]
call fcn.00444630
lea ecx, [esp + 0x4c]
mov edx, dword [ebx + 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00444630
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jg 0x444090
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x10], eax
add ebx, 0x224
mov ebp, dword [ebp]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jge 0x443fb7
jmp 0x44450a
mov eax, dword [ebx - 0x210]
mov dword [eax], 0
mov eax, dword [ebx - 0x210]
mov dword [eax + 4], 0
jmp 0x44452e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
nop
lea edi, [edx*4]
lea eax, [edx + edx*4]
mov dword [esp + 0x14], edi
mov edi, 0x100
mov edx, dword [esp + 0x14]
lea ecx, [eax*8]
sub edi, esi
mov eax, dword [ebp + edx + 0xc]
mov eax, dword [eax + 0xb8]
imul eax, edi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + ecx + 0x2c], eax
mov dword [esp + ecx + 0x30], 0
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x44414c
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x54], eax
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x58], edx
jmp 0x444162
mov eax, dword [esp + 0x54]
mov ecx, dword [ebp + 0x28]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x24]
neg eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x7c]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xbc]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
nop
mov edx, dword [eax + 0xbc]
mov eax, esi
imul eax, dword [esp + 0x24]
imul esi, edx
sar eax, 8
mov dword [esp + 0x4c], edx
neg eax
sar esi, 8
mov dword [esp + 0x28], eax
neg esi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], esi
dec eax
mov dword [esp + 0x10], eax
js 0x4442e4
mov al, byte [ebp + 0x1c]
cmp al, 2
jne 0x4442e4
mov dword [ebx], ebp
mov dword [ebx + 4], 2
mov eax, dword [ebp + 8]
sar eax, 8
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x238]
mov ecx, dword [ebx + 0x14]
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov esi, dword [ebx + 0x23c]
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 4], esi
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov eax, dword [ebx + 8]
cdq
idiv dword [esp + 0x78]
mov ecx, dword [ebx + 0x14]
lea eax, [edx + edx*8]
shl eax, 4
add eax, 0x4ba190
mov dword [ecx + 0xfc], eax
mov eax, dword [ebx + 8]
cdq
idiv dword [esp + 0x78]
mov ecx, dword [ebx + 0x18]
nop
lea eax, [edx + edx*8]
lea edx, [esp + 0x24]
shl eax, 4
push edx
add eax, 0x4bb4b0
mov dword [ecx + 0xfc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x14]
call fcn.00444630
lea ecx, [esp + 0x4c]
mov edx, dword [ebx + 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00444630
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jg 0x44428b
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x10], eax
add ebx, 0x224
mov ebp, dword [ebp]
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov edx, dword [eax + 0xb8]
add esi, edx
mov dword [esp + 0x2c], esi
mov edx, dword [eax + 0xbc]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], edx
add eax, dword [ecx + 0xb8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 0xbc]
dec eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], eax
test eax, eax
jge 0x4441dd
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x44450a
mov eax, dword [ebp + 0x2c]
cmp eax, 1
jne 0x4443b0
mov eax, dword [ebx - 0x210]
mov dword [esp + 0x44], eax
mov ecx, dword [ebx - 0x20c]
mov dword [esp + 0x48], ecx
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx - 0x210]
mov dword [eax + 4], edx
mov eax, dword [ebx - 0x210]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx - 0x20c]
mov dword [ecx + 4], esi
mov eax, dword [ebx - 0x20c]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov edx, dword [ebx - 0x210]
mov ecx, dword [ebx - 0x20c]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + 0xdc]
mov eax, dword [edi]
sub esi, eax
mov eax, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x34]
and eax, 0xfffffffe
imul esi, dword [eax*2 + 0x46f098]
mov eax, dword [0x46667c]
and eax, 0xfffffffe
shl eax, 0xf
add esi, eax
mov dword [edx + 0x34], esi
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0xd8]
mov eax, dword [edi]
sub edx, eax
mov edi, dword [esp + 0x30]
add edx, edi
mov eax, dword [esp + 0x34]
and eax, 0xfffffffe
imul edx, dword [eax*2 + 0x46f098]
mov eax, dword [0x46667c]
and eax, 0xfffffffe
shl eax, 0xf
add edx, eax
mov dword [ecx + 0x30], edx
jmp 0x44441e
mov eax, dword [esp + 0x80]
cmp eax, 1
jne 0x4443cb
lea esi, [esp + 0x4c]
lea edi, [esp + 0x24]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ebx - 0x210]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov esi, dword [ebx + 0x14]
mov ecx, dword [edx + ebx - 0x210]
mov dword [ecx + 4], esi
mov eax, dword [edx + ebx - 0x210]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov eax, ebx
sub eax, edx
mov ecx, dword [eax - 0x20c]
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov eax, dword [ecx + 0x38]
mov dword [ecx + 0x28], eax
mov edx, dword [ecx + 0x40]
mov dword [ecx + 0x30], edx
mov esi, dword [ecx + 0x44]
mov dword [ecx + 0x34], esi
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4444ef
mov al, byte [ebp + 0x1c]
cmp al, 1
jne 0x4444ef
mov dword [ebx], ebp
mov dword [ebx + 4], 1
mov eax, dword [ebp + 8]
sar eax, 8
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x238]
mov ecx, dword [ebx + 0x14]
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov eax, dword [ebx + 8]
cdq
idiv dword [esp + 0x78]
mov ecx, dword [ebx + 0x14]
lea eax, [edx + edx*8]
shl eax, 4
add eax, 0x4ba190
mov dword [ecx + 0xfc], eax
mov eax, dword [ebx + 8]
cdq
idiv dword [esp + 0x78]
mov ecx, dword [ebx + 0x18]
nop
lea eax, [edx + edx*8]
lea edx, [esp + 0x24]
shl eax, 4
push edx
add eax, 0x4bb4b0
mov dword [ecx + 0xfc], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x14]
call fcn.00444630
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x10], ecx
mov ebp, dword [ebp]
mov eax, dword [ebp + 0xc]
mov dl, byte [ebp + 0x1c]
mov dword [esp + 0x18], eax
cmp dl, 1
jne 0x4444d8
mov ecx, dword [eax + 0xb8]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x10]
add ebx, 0x224
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jge 0x44442a
mov eax, dword [ebx - 0x210]
mov dword [eax], 0
mov eax, dword [ebx - 0x210]
mov dword [eax + 4], 0
jmp 0x44452e
mov eax, dword [ebx - 0x210]
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebx - 0x210]
mov dword [eax + 4], ecx
mov edx, dword [ebx - 0x20c]
mov dword [edx], ecx
mov edx, dword [ebx - 0x20c]
mov dword [edx + 4], ecx
mov esi, dword [0x466678]
mov eax, dword [esp + 0x20]
shl esi, 0x10
mov edx, dword [esp + 0x78]
mov dword [eax + 0x10], esi
test edx, edx
jle 0x444616
mov edi, 0x4c1160
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
cmp ecx, 2
jne 0x4445d7
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x1c], 1
mov ebp, dword [ecx]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov bl, byte [edx + 0x3c]
mov edx, dword [edi]
test bl, bl
sete bl
cmp dword [ecx + 0x24], edx
mov cl, byte [ecx + 0x2c]
setg dl
shl byte [esp + 0x1c], cl
mov cl, byte [esp + 0x1c]
test cl, 0x50
je 0x4445a2
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
setge cl
test dl, dl
jne 0x4445bf
test bl, bl
je 0x4445d7
test cl, cl
jne 0x4445d7
jmp 0x4445bf
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 2
jne 0x4445d7
cmp byte [ebp + 0x1e], 0
setg cl
test dl, dl
jne 0x4445bf
test bl, bl
je 0x4445d7
test cl, cl
jne 0x4445d7
movsx edx, byte [0x473498]
shl edx, 2
mov ecx, eax
sub ecx, edx
mov ebx, dword [ecx + 0x18]
mov byte [ebx + 0x100], 0
mov ecx, dword [eax + 0x10]
cmp esi, ecx
jle 0x4445e2
mov esi, ecx
jmp 0x4445e5
mov dword [eax + 0x10], esi
mov ecx, dword [eax + 0x238]
mov ecx, dword [ecx + 0x4c]
cmp esi, ecx
jl 0x444600
mov edx, dword [eax + 0x14]
cmp dword [edx + 0x4c], ecx
jl 0x444600
mov byte [eax + 0xc], 1
jmp 0x444604
mov byte [eax + 0xc], 0
add edi, 4
add eax, 0x224
dec dword [esp + 0x14]
jne 0x444553
pop ebp
mov dword [0x4c10c8], esi
pop edi
pop esi
pop ebx
add esp, 0x64
ret 0xc