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

Disassembly:
sub esp, 0x18c
mov eax, dword [0x4921c0]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x190]
push ebx
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [0x5490d4]
push esi
push edi
mov edi, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], ecx
cmp eax, 0xffffffff
jne 0x442a49
mov eax, dword [0x4eab8c]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [0x4ea660]
cdq
sub eax, edx
sar ebx, 1
mov ebp, eax
sar ebp, 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebp
jmp 0x442a5b
mov edx, dword [0x547cf0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov ebp, edx
mov ebx, eax
cmp dword [0x495fe4], 0
je 0x442a99
mov eax, dword [0x495ff4]
cdq
idiv dword [0x496014]
cmp dword [0x496008], 1
jne 0x442a7e
cdq
sub eax, edx
sar eax, 1
lea esi, [ebx + ebx*2]
cmp eax, esi
mov dword [esp + 0x38], esi
jl 0x442a99
lea eax, [ebp + ebp*2]
cmp dword [0x495ff8], eax
mov dword [esp + 0x34], eax
jge 0x442ae2
mov esi, 0x495d90
call fcn.004010f0
push 0
call dword [0x478058]
lea ebx, [ebx + ebx*2]
mov dword [0x495fa8], eax
lea eax, [ebp + ebp*2]
mov ecx, ebx
mov dword [esp + 0x38], ebx
mov ebx, 0x495fac
mov dword [esp + 0x34], eax
call fcn.00466ec0
mov eax, dword [0x495ff0]
mov ecx, dword [0x495fa8]
push eax
push ecx
call dword [0x478054]
mov esi, dword [esp + 0x38]
mov edx, dword [0x495fa8]
push 0xffffff
push edx
call dword [0x478038]
mov eax, dword [0x495fa8]
push 1
push eax
call dword [0x478044]
mov ebx, dword [0x58ce2c]
test ebx, ebx
jne 0x442b15
sub dword [esp + 0x1a4], ebp
jmp 0x442b1f
add edi, dword [0x4eab8c]
mov dword [esp + 0x4c], edi
xor edx, edx
xor eax, eax
test ebx, ebx
je 0x442c70
mov byte [esp + 0x90], 0x40
cmp byte [0x5496e8], dl
jne 0x442c50
nop
mov cl, byte [eax + 0x5370c8]
mov byte [esp + eax + 0x91], cl
inc eax
test cl, cl
jne 0x442b40
mov edx, 0xfffffc7c
mov eax, dword [esp + 0x1ac]
shl eax, 8
add eax, 0x498588
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1b0]
shl eax, 8
add eax, 0x498588
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1b4]
shl eax, 8
add eax, 0x498588
mov dword [esp + 0x54], eax
lea eax, [esp + 0x90]
test ebx, ebx
jne 0x442ba8
cmp byte [0x5496e8], bl
je 0x442ba8
mov eax, 0x5496e8
push eax
push 1
push 0
push 0
mov ecx, dword [esp + 0x44]
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push edx
push edx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
call dword [0x47803c]
mov edx, eax
mov dword [esp + 0x48], eax
mov eax, dword [0x495fa8]
push edx
push eax
call dword [0x478054]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x10]
push eax
mov dword [esp + 0x6c], eax
call dword [0x47828c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x18], ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x442c10
mov ebx, dword [esp + 0x10]
sub eax, ecx
cmp dword [0x58ce2c], 0
mov esi, eax
jne 0x442c87
mov eax, dword [0x54586c]
add eax, eax
lea ecx, [esi + 1]
cdq
idiv ecx
mov edx, dword [esp + 0x20]
mov ecx, eax
cmp ecx, edx
mov dword [esp + 0x14], ecx
jle 0x442cc2
sub eax, edx
jmp 0x442cb7
mov cl, byte [eax + 0x5496e8]
mov byte [esp + eax + 0x91], cl
inc eax
test cl, cl
jne 0x442c50
jmp 0x442b52
mov cl, byte [eax + 0x5370c8]
mov byte [esp + eax + 0x90], cl
inc eax
test cl, cl
jne 0x442c70
jmp 0x442b57
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x54586c]
cdq
sar ecx, 1
idiv ecx
cdq
sub eax, edx
sar eax, 1
cmp eax, ebx
mov dword [esp + 0x14], eax
jge 0x442cad
mov dword [esp + 0x14], ebx
mov ecx, ebx
jmp 0x442cc2
mov ecx, dword [esp + 0x14]
jle 0x442cc2
mov eax, ecx
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov ebp, eax
mov eax, dword [0x495ff4]
cdq
idiv dword [0x496014]
cmp dword [0x496008], 1
jne 0x442cdc
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
lea eax, [eax*8 + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, eax
add eax, eax
mov dword [esp + 0x2c], eax
test esi, esi
jle 0x4430b0
mov edx, dword [esp + 0x1c]
dec esi
lea eax, [edi + ebp]
shr esi, 1
lea eax, [eax + eax*2]
lea ecx, [ecx + ecx*2]
inc esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], esi
push 0
mov byte [0x495d90], 0
call dword [0x47805c]
mov edx, dword [esp + 0x34]
mov ebx, eax
xor eax, eax
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x90], edx
mov edx, dword [0x495fa8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x94], eax
call dword [0x4782c0]
push ebx
call dword [0x47806c]
cmp dword [0x58ce2c], 0
mov ecx, dword [0x495fa8]
push 2
jne 0x442d9c
mov eax, dword [esp + 0x2c]
push eax
push 0
push 0
jmp 0x442da8
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
push edx
push 0
push eax
push ecx
call dword [0x47804c]
xor ebx, ebx
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x58], ebx
jle 0x44308a
mov edx, dword [0x4935ec]
mov ecx, dword [esp + 0x1a4]
mov eax, edx
neg eax
mov dword [esp + 0x6c], eax
mov eax, dword [0x4937f0]
mov esi, eax
sub esi, ebp
sub eax, ecx
sub esi, ecx
dec eax
dec esi
imul eax, edx
imul esi, edx
add eax, edi
add eax, dword [0x58cb24]
add esi, edi
add esi, dword [0x58cb24]
add eax, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], eax
jmp 0x442e1b
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x1a4]
movzx eax, word [0x493b72]
imul eax, dword [0x493b9c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [0x493ba0]
sar eax, 2
sub edx, ebx
cmp dword [0x58ce2c], 0
jne 0x442eab
mov edi, dword [esp + 0x1c]
sub edx, ecx
dec edx
imul eax, edx
lea ecx, [edi + eax*4]
movzx eax, word [0x4957fa]
imul eax, dword [0x495824]
add eax, 7
cdq
add ecx, dword [0x493b94]
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [0x495828]
sub edx, ebx
sub edx, dword [esp + 0x1a4]
sar eax, 2
dec edx
imul eax, edx
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
jmp 0x442f01
sub edx, ebp
sub edx, ecx
dec edx
imul eax, edx
lea edi, [edi + edi*2]
lea ecx, [edi + eax*4]
movzx eax, word [0x4957fa]
imul eax, dword [0x495824]
add eax, 7
cdq
add ecx, dword [0x493b94]
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [0x495828]
sub edx, ebx
sub edx, ebp
sub edx, dword [esp + 0x1a4]
sar eax, 2
dec edx
imul eax, edx
lea edi, [edi + eax*4]
mov dword [esp + 0x40], esi
movzx eax, word [0x495fca]
imul eax, dword [0x495ff4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [0x495ff8]
sub edx, dword [esp + 0x24]
add edi, dword [0x49581c]
dec edx
sar eax, 2
imul eax, edx
mov edx, dword [0x495fec]
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x20]
mov esi, edx
sub esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
mov ebp, esi
sub ebp, dword [esp + 0x2c]
test eax, eax
jle 0x44305e
mov dword [esp + 0x5c], eax
movzx ebx, byte [ebp + 3]
movzx eax, byte [esi + 3]
lea eax, [ebx + eax*2]
movzx ebx, byte [esi + 6]
add eax, ebx
movzx ebx, byte [edx + 3]
add eax, ebx
movzx ebx, byte [esi]
add eax, ebx
movzx ebx, byte [ebp + 6]
lea eax, [ebx + eax*2]
movzx ebx, byte [edx + 6]
movzx edx, byte [edx]
add eax, ebx
add eax, edx
movzx edx, byte [ebp]
add eax, edx
sar eax, 4
cmp eax, 0xff
jle 0x442fa7
mov eax, 0xff
movzx edx, byte [ecx]
mov ebx, dword [esp + 0x54]
shl edx, 8
sub edx, eax
movzx edx, byte [edx + 0x498687]
add dl, byte [eax + ebx]
mov ebx, dword [esp + 0x60]
mov byte [ecx], dl
movzx edx, byte [ecx + 1]
inc ecx
shl edx, 8
sub edx, eax
movzx edx, byte [edx + 0x498687]
add dl, byte [eax + ebx]
inc ecx
mov byte [ecx - 1], dl
movzx edx, byte [ecx]
shl edx, 8
sub edx, eax
mov bl, byte [edx + 0x498687]
mov edx, dword [esp + 0x7c]
add bl, byte [eax + edx]
inc ecx
cmp dword [esp + 0x1a8], 0
mov byte [ecx - 1], bl
je 0x443025
mov ebx, dword [esp + 0x54]
movzx ebx, byte [eax + ebx]
mov byte [edi], bl
mov ebx, dword [esp + 0x60]
movzx ebx, byte [eax + ebx]
inc edi
mov byte [edi], bl
mov dl, byte [eax + edx]
inc edi
mov byte [edi], dl
mov edx, dword [esp + 0x40]
inc edi
mov byte [edx], al
inc edx
mov dword [esp + 0x40], edx
cmp eax, 0x40
jle 0x44303e
cmp dword [0x52b5bc], 0
je 0x44303e
shr byte [ecx], 2
shr byte [ecx + 1], 2
shr byte [ecx + 2], 2
mov edx, dword [esp + 0x3c]
add edx, 9
add esi, 9
add ebp, 9
sub dword [esp + 0x5c], 1
mov dword [esp + 0x3c], edx
jne 0x442f64
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
add dword [esp + 0x50], eax
add dword [esp + 0x44], eax
add dword [esp + 0x24], 3
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x18]
inc ebx
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x58], ebx
jl 0x442e10
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
add ebp, dword [esp + 0x14]
add dword [esp + 0x1c], eax
add dword [esp + 0x28], 2
sub esi, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], esi
jne 0x442d2c
mov ebx, dword [esp + 0x10]
cmp dword [0x58ce2c], 0
mov eax, dword [esp + 0x1a4]
mov ecx, dword [0x493b50]
push 0xcc0020
push eax
push edi
push ecx
jne 0x4430dc
mov edx, dword [esp + 0x80]
push ebx
push ebp
push eax
push edi
push edx
jmp 0x4430ec
mov edx, dword [esp + 0x30]
push ebp
push edx
push eax
mov eax, dword [esp + 0x8c]
push edi
push eax
call dword [0x478060]
mov ecx, dword [esp + 0x78]
mov edx, dword [0x495fa8]
push ecx
push edx
call dword [0x478054]
mov eax, dword [esp + 0x48]
push eax
call dword [0x47806c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
push ecx
push edx
call dword [0x4782a0]
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407ed0
add esp, 0x18c
ret 0x18