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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x5a05c4]
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x70]
xor eax, ebp
mov dword [esp + 0x158], eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
push 1
push ecx
push ebx
call dword [ebx + 0xc]
add esp, 0xc
mov edi, eax
test eax, eax
jne 0x4a71c5
lea eax, [esp + 0xf0]
push 0x11
push 0x20
push eax
push ebx
call fcn.004a6855
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x4a71c5
mov eax, 0xfffffffa
mov cl, byte [esp + eax + 0xf6]
cmp cl, byte [eax + 0x568022]
jne 0x4a71c0
inc eax
jne 0x4a70e8
cmp byte [esp + 0xf6], 0
mov edi, 4
jne 0x4a71c5
lea esi, [esp + 0xfc]
mov edx, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
add eax, 0x20
adc ecx, 0
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
mov ecx, esi
mov edx, 0x14
call fcn.00474594
cmp eax, dword [esi - 4]
mov edi, 3
jne 0x4a71c5
mov eax, dword [esp + 8]
mov edi, 2
test eax, eax
jne 0x4a71c5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4a71ef
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
add ecx, esi
adc eax, edi
setb dl
add ecx, 0x20
adc eax, 0
test dl, dl
jne 0x4a71c0
cmp ecx, esi
sbb eax, edi
mov edi, 0x11
jb 0x4a71c5
xor eax, eax
lea esi, [esp + 0x110]
mov dword [esi + 4], eax
mov dword [esi], eax
push 2
push esi
push ebx
call dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je 0x4a71f3
mov edi, eax
jmp 0x4a71c5
mov edi, 0x11
test edi, edi
je 0x4a71d7
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004a6b14
add esp, 8
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.00527311
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x4a71c5
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
add edi, dword [esp + 0x70]
mov edx, eax
adc esi, dword [esp + 0x74]
cmp ecx, edi
sbb edx, esi
jb 0x4a7364
add edi, 0x20
mov edx, edi
adc esi, 0
mov dword [esp + 0x14], edi
add edx, dword [esp + 0x18]
adc dword [esp + 8], esi
cmp ecx, edi
mov edi, eax
sbb edi, esi
mov edi, dword [esp + 0x14]
jb 0x4a7364
cmp ecx, edx
sbb eax, dword [esp + 8]
jb 0x4a7364
push esi
push edi
push ebx
call fcn.004a6810
add esp, 0xc
mov edi, eax
test eax, eax
mov eax, dword [ebp + 0x14]
jne 0x4a71c5
lea ecx, [esp + 0x68]
push eax
push dword [esp + 0x1c]
push ecx
call fcn.004d40af
add esp, 0xc
test eax, eax
mov edi, 2
je 0x4a71c5
push dword [esp + 0x18]
push dword [esp + 0x6c]
push ebx
call fcn.004a68b4
add esp, 0xc
mov edi, eax
test eax, eax
jne 0x4a744d
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
call fcn.00474594
cmp eax, dword [esp + 0x34]
mov edi, 0x10
jne 0x4a744d
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x60]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea edx, [esp + 0x58]
call fcn.004a8382
mov edi, eax
test eax, eax
jne 0x4a73a8
mov eax, dword [esp + 0x58]
xor eax, 0x17
or eax, dword [esp + 0x5c]
jne 0x4a73a8
lea edi, [esp + 0x90]
push edi
call fcn.004d40a0
add esp, 4
xor eax, eax
lea esi, [esp + 0x110]
xorps xmm0, xmm0
lea edx, [esp + 0x60]
mov ecx, ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x14]
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
push eax
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
push dword [eax + 0x30]
push 1
push edi
call fcn.004a84c5
add esp, 0x18
mov edx, dword [ebp + 0x14]
mov ecx, esi
mov edi, eax
call fcn.004a6c00
test edi, edi
je 0x4a736e
push dword [ebp + 0x14]
lea eax, [esp + 0x94]
push eax
call fcn.004d40e9
add esp, 8
jmp 0x4a73a8
mov edi, 6
jmp 0x4a71c5
push dword [ebp + 0x14]
lea eax, [esp + 0x6c]
push eax
call fcn.004d40e9
add esp, 8
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], eax
mov dword [ecx], eax
mov dword [esp + 0x6c], edx
mov dword [ecx + 4], edx
lea edx, [esp + 0x58]
call fcn.004a8382
mov edi, eax
test edi, edi
jne 0x4a744d
mov eax, dword [esp + 0x58]
mov edi, 4
xor eax, 1
or eax, dword [esp + 0x5c]
jne 0x4a744d
mov edi, 8
mov esi, dword [esp + 0x2c]
push esi
call fcn.004d40a0
add esp, 4
add esi, 8
dec edi
mov dword [esp + 0x2c], esi
jne 0x4a73cb
xorps xmm0, xmm0
lea ecx, [esp + 0x60]
lea edx, [esp + 0xe8]
mov dword [esp + 0xe4], 0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
je 0x4a7462
mov esi, 8
lea edi, [esp + 0x110]
push dword [ebp + 0x14]
push edi
call fcn.004d40e9
add esp, 8
add edi, 8
dec esi
jne 0x4a7424
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 8]
mov edi, 0xb
test eax, eax
cmove edi, eax
test ecx, ecx
cmovne edi, ecx
push dword [ebp + 0x14]
lea eax, [esp + 0x6c]
push eax
call fcn.004d40e9
add esp, 8
jmp 0x4a71c5
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, eax
xor edx, 2
or edx, ecx
jne 0x4a74e3
lea edi, [esp + 0x60]
lea esi, [esp + 0x90]
mov ecx, edi
mov edx, esi
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0x90]
or eax, dword [esp + 0x94]
je 0x4a74b9
mov ecx, edi
call fcn.004a92fb
test eax, eax
mov dword [esp + 8], eax
je 0x4a7484
jmp 0x4a7418
lea ecx, [esp + 0x60]
lea edx, [esp + 0xe8]
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, eax
mov dword [esp + 0x18], 0
xor edx, 3
or edx, ecx
jne 0x4a7582
mov ecx, ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
lea esi, [esp + 0x90]
xorps xmm0, xmm0
lea edx, [esp + 0x60]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
lea eax, [esp + 0x110]
push ebx
push esi
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
push dword [edi + 0x30]
push 8
push eax
call fcn.004a84c5
add esp, 0x18
mov ecx, dword [esi + 4]
mov edx, ebx
mov edi, eax
mov dword [esp + 0x18], ecx
mov ecx, esi
call fcn.004a6c00
test edi, edi
mov dword [esp + 8], edi
jne 0x4a7418
lea ecx, [esp + 0x60]
lea edx, [esp + 0xe8]
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, eax
xor edx, 4
or edx, ecx
jne 0x4a75ff
mov ecx, dword [ebp + 8]
lea esi, [esp + 0xc0]
lea ebx, [esp + 0x110]
lea edx, [esp + 0x60]
lea eax, [ecx + 0x38]
push dword [ebp + 0x10]
push esi
push eax
push dword [esp + 0x24]
push ebx
push 0x40000000
call fcn.004a861c
add esp, 0x18
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
add dword [edx + 0x38], eax
adc dword [edx + 0x3c], ecx
lea ecx, [esp + 0x60]
lea edx, [esp + 0xe8]
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, eax
or edx, ecx
je 0x4a8178
xor eax, 5
or eax, ecx
jne 0x4a80ce
lea ecx, [esp + 0x60]
lea edx, [esp + 0xe4]
call fcn.004a6fec
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0xe4]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x90]
mov dword [ecx + 0x40], eax
lea ecx, [esp + 0x60]
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov eax, esi
or eax, ebx
je 0x4a7a5d
lea ecx, [esp + 0x60]
lea edx, [esp + 0x88]
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov eax, ecx
mov edi, edx
sub eax, edx
mov edx, 0
sbb edx, dword [esp + 0x8c]
jb 0x4a80ce
cmp esi, 0x100
sbb ebx, 0
jb 0x4a76e7
mov dword [esp + 0x64], eax
add dword [esp + 0x60], edi
jmp 0x4a791b
add esi, 0xfffffff2
cmp esi, 7
ja case.0x4a76ef.16
jmp dword [esi*4 + 0x568024]
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], 0x10
lea edx, [eax + 7]
shr edx, 3
sub ecx, edx
jb 0x4a7418
mov esi, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
add edx, esi
test eax, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x60], edx
je 0x4a793c
mov edx, dword [esp + 0x2c]
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x14], 0
test ecx, ecx
jne 0x4a7749
mov bl, byte [edx]
inc edx
mov ecx, 8
dec ecx
movzx esi, bl
shr esi, cl
and esi, 1
add dword [esp + 0x14], esi
dec eax
jne 0x4a773d
mov dword [esp + 0x34], 0
jmp 0x4a791b
mov eax, dword [esp + 0x14]
mov dword [esp + 8], 0x10
add eax, 7
shr eax, 3
sub ecx, eax
jb 0x4a7418
mov edx, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
add eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x60], eax
jmp 0x4a791b
test ecx, ecx
je 0x4a80ce
dec ecx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x60]
lea ebx, [eax + 1]
mov dword [esp + 0x60], ebx
mov al, byte [eax]
test al, al
mov byte [esp + 0x1c], al
je 0x4a794e
lea ecx, [esp + 0x60]
lea edx, [esp + 0x80]
call fcn.004a6fec
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x18]
jae 0x4a80ce
mov ebx, dword [esp + eax*8 + 0x110]
mov edi, dword [esp + eax*8 + 0x114]
jmp 0x4a794f
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xe4]
lea ecx, [eax + 0x64]
jmp 0x4a781b
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xe4]
lea ecx, [eax + 0x5c]
push dword [ebp + 0x10]
push dword [esp + 0x1c]
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004a954c
add esp, 0x10
jmp 0x4a790f
mov esi, dword [esp + 0xc]
lea edi, [esi + 0x54]
push dword [esi + 0x54]
mov eax, dword [ebp + 0x10]
mov ebx, eax
push eax
call dword [eax + 4]
add esp, 8
xor eax, eax
mov dword [esi + 0x54], eax
push dword [esi + 0x58]
push ebx
call dword [ebx + 4]
add esp, 8
xor eax, eax
lea ecx, [esp + 0x60]
mov dword [esi + 0x58], eax
mov edx, dword [esp + 0xe4]
push ebx
mov esi, edi
push edi
call fcn.004a9350
add esp, 8
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0x64]
mov dword [esp + 8], 0x10
test eax, eax
je 0x4a7418
dec eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
lea ecx, [eax + 1]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x60]
cmp byte [eax], 0
je 0x4a78fc
lea ecx, [esp + 0x60]
lea edx, [esp + 0x7c]
call fcn.004a6fec
test eax, eax
jne 0x4a8185
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x18]
jae 0x4a7418
mov ecx, dword [esp + eax*8 + 0x110]
mov eax, dword [esp + eax*8 + 0x114]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0xe4]
push dword [ebp + 0x10]
push esi
call fcn.004a9403
add esp, 8
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
lea ecx, [esp + 0x60]
lea edx, [esp + 0x90]
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
je 0x4a7678
jmp 0x4a7418
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 0
jmp 0x4a791b
dec edi
mov eax, edi
test al, 1
jne 0x4a80ce
mov esi, dword [esp + 0xe4]
lea eax, [esi*4 + 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [esp + 8], 2
mov dword [ecx + 0x74], eax
je 0x4a7418
test edi, edi
mov eax, edi
je 0x4a79b4
push edi
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [ecx + 0x78], eax
je 0x4a7418
push edi
push ebx
push eax
call fcn.0052acc0
add esp, 0xc
jmp 0x4a79bc
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x74]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 8], ecx
xor ecx, ecx
test esi, esi
mov dword [eax], ecx
je 0x4a7a37
cmp edi, 2
mov ecx, edi
jb 0x4a80ce
mov edx, dword [esp + 8]
mov ecx, edi
cmp byte [edi + edx - 2], 0
jne 0x4a80ce
mov edx, dword [esp + 8]
mov ecx, edi
cmp byte [edi + edx - 1], 0
jne 0x4a80ce
mov ecx, dword [esp + 8]
xor edx, edx
add ecx, 0xfffffffe
cmp edx, edi
mov ebx, edi
je 0x4a80ce
add eax, 4
add edx, ecx
cmp word [edx + 2], 0
lea edx, [edx + 2]
jne 0x4a7a17
sub edx, dword [esp + 8]
add edx, 2
mov ebx, edx
shr ebx, 1
dec esi
mov dword [eax], ebx
jne 0x4a7a08
cmp edx, edi
mov eax, edi
jmp 0x4a7a3b
mov eax, edi
test edi, edi
mov dword [esp + 8], 0x10
jne 0x4a7418
cmp byte [esp + 0x1c], 0
jne 0x4a791b
sub dword [esp + 0x64], edi
jmp 0x4a76de
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], 0x10
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xc0]
jne 0x4a7418
lea edi, [esp + 0x60]
lea ebx, [esp + 0x90]
mov ecx, edi
mov edx, ebx
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov eax, dword [esp + 0x90]
or eax, dword [esp + 0x94]
je 0x4a7ac5
mov ecx, edi
call fcn.004a92fb
test eax, eax
mov dword [esp + 8], eax
je 0x4a7a8c
jmp 0x4a7418
mov esi, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov ecx, 4
mov eax, dword [esi + 4]
shl eax, 2
add ecx, eax
push ecx
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
test eax, eax
mov dword [esi + 0x6c], eax
mov dword [esp + 8], 2
je 0x4a7418
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4a7b35
shl eax, 2
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [ecx + 0x70], eax
je 0x4a7418
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x40]
lea eax, [eax*8 + 8]
jmp 0x4a7b45
mov eax, dword [esp + 0xc]
mov dword [eax + 0x70], 0
mov eax, 8
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [ecx + 0x44], eax
je 0x4a7418
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x40]
lea eax, [esi + 7]
shr eax, 3
je 0x4a7b8f
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [ecx + 0x48], eax
je 0x4a7418
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x40]
jmp 0x4a7b9a
mov eax, dword [esp + 0xc]
mov dword [eax + 0x48], 0
test esi, esi
je 0x4a7bda
lea eax, [esi + 7]
shr eax, 3
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [ecx + 0x4c], eax
je 0x4a7418
shl esi, 2
push esi
mov eax, dword [ebp + 0x10]
push eax
call dword [eax]
add esp, 8
mov ecx, dword [esp + 0xc]
test eax, eax
mov dword [ecx + 0x50], eax
jne 0x4a7be6
jmp 0x4a7418
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x4a7c24
dec eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xd8]
lea ecx, [eax + 1]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x44], ecx
cmp byte [eax], 0
je 0x4a7c3e
xor eax, eax
mov dword [esp + 0x38], 0
inc eax
mov dword [esp + 0x48], eax
jmp 0x4a7c61
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jmp 0x4a7c61
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], 0
add eax, 7
mov dword [esp + 0x38], ecx
shr eax, 3
add eax, ecx
mov dword [esp + 0x44], eax
cmp dword [esp + 0x18], 0
je 0x4a80db
xor edi, edi
mov byte [esp + 0x13], 0x80
mov dword [esp + 0x50], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
cmp byte [esp + 0x13], 0
je 0x4a7ccc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
jmp 0x4a7d01
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x13], 0x80
mov dword [esp + 0x24], 0
mov ecx, dword [edx + 0x48]
dec eax
shr eax, 3
mov byte [ecx + eax], bl
mov ecx, dword [edx + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x28], 0
mov byte [ecx + eax], dl
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x44]
mov dword [eax + edx*8 + 4], esi
mov dword [eax + edx*8], ebx
mov eax, dword [ecx + 0x50]
xor ecx, ecx
cmp dword [esp + 0x2c], 0
mov dword [eax + edx*4], ecx
je 0x4a7d8c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, edx
shr eax, 3
movzx esi, byte [ecx + eax]
mov ecx, edx
mov edx, 0x80
and cl, 7
shr edx, cl
test edx, esi
je 0x4a7d8c
cmp dword [esp + 0x34], 0
je 0x4a7e87
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov ecx, ebx
shr ecx, 3
movzx esi, byte [esi + ecx]
mov ecx, ebx
and cl, 7
shl esi, cl
mov ecx, esi
movzx esi, byte [esp + 0x13]
test cl, 0x80
mov ecx, 0
cmovne esi, ecx
inc ebx
mov ecx, esi
mov dword [esp + 0x54], ebx
jmp 0x4a7e8b
cmp dword [esp + 0x30], 0
je 0x4a7ddc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4], edi
je 0x4a7e7d
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edx, 0x80
mov eax, ecx
and cl, 7
mov dword [esp + 0x24], esi
shr edx, cl
shr eax, 3
jmp 0x4a7ebc
mov dword [esp + 8], 0x10
mov eax, dword [esp + 0xc]
cmp edi, dword [eax + 4]
jae 0x4a7418
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x6c]
mov dword [eax + edi*4], ecx
mov dword [esp + 0x88], 1
cmp dword [esp + 0xc8], 0
je 0x4a8083
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x88]
call fcn.004a6fec
test eax, eax
jne 0x4a8185
mov eax, dword [esp + 0x88]
test eax, eax
mov dword [esp + 0x50], eax
jne 0x4a809c
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x1c]
movzx ecx, byte [ecx + edi]
add ecx, dword [eax + edi*4]
mov eax, dword [edx + 0x24]
add ebx, dword [eax + ecx*8]
adc esi, dword [eax + ecx*8 + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
jb 0x4a7418
inc edi
jmp 0x4a7de4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
jmp 0x4a7edd
mov cl, byte [esp + 0x13]
or cl, byte [esp + 0x24]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x70]
je 0x4a7f64
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [ecx + esi*4], edi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + eax]
test edx, eax
je 0x4a7edd
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x4a8052
dec dword [esp + 0x30]
je 0x4a7f74
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x90]
call fcn.004a8382
test eax, eax
mov dword [esp + 8], eax
jne 0x4a7418
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add esi, dword [esp + 0x90]
adc eax, dword [esp + 0x94]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
jb 0x4a80ce
cmp dword [esp + 0x48], 0
je 0x4a806e
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
mov ecx, dword [ecx + 0x50]
inc esi
mov dword [esp + 0x4c], esi
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x28]
or al, byte [esp + 0x13]
mov dword [esp + 0x28], eax
jmp 0x4a8052
mov eax, dword [esp + 0x14]
mov dword [ecx + eax*4], 0xffffffff
jmp 0x4a804a
mov ebx, dword [esp + 0xc]
mov dword [esp + 8], 0x10
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x24]
movzx edx, byte [edx + edi]
add edx, dword [ecx + edi*4]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov edx, dword [ebx + 0x6c]
mov ebx, dword [ebx + 0x44]
mov esi, dword [edx + edi*4]
mov edx, dword [ebx + esi*8]
mov esi, dword [ebx + esi*8 + 4]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x1c], edx
sub ebx, edx
mov edx, esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x40]
sbb esi, edx
cmp ecx, ebx
mov ebx, eax
sbb ebx, esi
jb 0x4a7418
add dword [esp + 0x1c], ecx
adc dword [esp + 0x20], eax
jb 0x4a7418
cmp dword [esp + 0x50], 1
jne 0x4a8014
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4a8014
mov edx, dword [esp + 0x14]
mov ecx, edx
shr ecx, 3
movzx eax, byte [eax + ecx]
mov ecx, edx
and cl, 7
shl eax, cl
test al, 0x80
je 0x4a8014
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x50]
mov eax, dword [eax + edi*4]
jmp 0x4a803a
cmp dword [esp + 0x48], 0
je 0x4a80b9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
mov ecx, dword [ecx + 0x50]
inc esi
mov dword [esp + 0x4c], esi
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x28]
or al, byte [esp + 0x13]
mov dword [esp + 0x28], eax
inc edi
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x14]
shr byte [esp + 0x13], 1
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jne 0x4a7cbb
jmp 0x4a818e
cmp dword [esp + 0x38], 0
je 0x4a8052
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
jns 0x4a8052
jmp 0x4a7f35
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor eax, eax
inc eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
jmp 0x4a80b0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
jmp 0x4a7da3
cmp dword [esp + 0x38], 0
je 0x4a8049
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
jns 0x4a8049
jmp 0x4a801f
mov dword [esp + 8], 0x10
jmp 0x4a7418
mov eax, dword [esp + 0xc]
xor edi, edi
mov eax, dword [eax + 0x44]
mov dword [eax + 4], edi
mov dword [eax], edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x6c]
mov dword [eax + edi*4], edx
cmp dword [esp + 0xc8], 0
setne al
cmp edi, dword [ecx + 4]
jae 0x4a815e
lea ebx, [esp + 0x88]
test al, 1
mov dword [esp + 8], 0x10
je 0x4a7418
lea ecx, [esp + 0xc8]
mov edx, ebx
call fcn.004a6fec
test eax, eax
jne 0x4a8185
cmp dword [esp + 0x88], 0
jne 0x4a7418
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x6c]
mov dword [eax + edi*4 + 4], edx
inc edi
cmp dword [esp + 0xc8], 0
setne al
cmp edi, dword [ecx + 4]
jb 0x4a810e
cmp dword [esp + 0xcc], 0
je 0x4a8178
test al, al
mov dword [esp + 8], 0x10
jne 0x4a7418
mov dword [esp + 8], 0
jmp 0x4a7418
mov dword [esp + 8], eax
jmp 0x4a7418
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 8], 0x10
mov ecx, dword [esi + 0x48]
lea eax, [ebx - 1]
shr eax, 3
cmp dword [esp + 0x30], 0
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x4c]
mov byte [ecx + eax], dl
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x44]
mov dword [eax + ebx*8 + 4], ecx
mov dword [eax + ebx*8], edx
jne 0x4a7418
jmp 0x4a80e9