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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x84
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x70], ecx
mov esi, edx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
mov eax, esi
call fcn.00495990
mov edi, eax
test esi, esi
jbe 0x49623f
mov eax, edi
lea ebx, [edi + esi*4]
xor ebp, ebp
mov esi, esi
mov edx, dword [eax]
movzx ecx, byte [edx + 0x20]
mov ecx, dword [esp + ecx*4 + 0x1c]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x496229
mov dword [edx + 0x14], ecx
mov edx, dword [eax]
movzx ecx, byte [edx + 0x20]
mov dword [esp + ecx*4 + 0x1c], edx
mov edx, dword [eax]
add eax, 4
mov dword [edx + 0x14], ebp
cmp eax, ebx
jb 0x496210
mov eax, dword [0x504988]
mov edx, dword [0x5247e8]
mov edx, dword [eax + edx + 4]
mov dword [esp], edx
call dword [eax + 0x140]
lea edx, [esi + esi + 2]
mov ebx, eax
mov dword [ebx + 8], edx
add edx, edx
mov dword [ebx + 4], 0
add edx, edx
mov eax, dword [0x504988]
mov dword [esp], edx
call dword [eax + 0x130]
mov dword [ebx], eax
mov eax, dword [0x504988]
mov edx, dword [0x5247e8]
mov edx, dword [eax + edx + 4]
mov dword [esp], edx
call dword [eax + 0x140]
lea edx, [esi + esi + 2]
mov ebp, eax
mov dword [ebp + 8], edx
add edx, edx
mov dword [ebp + 4], 0
add edx, edx
mov eax, dword [0x504988]
mov dword [esp], edx
call dword [eax + 0x130]
mov edx, dword [esp + 0xa4]
mov dword [ebp], eax
test esi, esi
mov dword [esp + 0x6c], edx
jbe 0x4963c7
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x74]
xor eax, eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
test edx, edx
je 0x496300
xor edi, edi
jmp 0x496305
mov edi, 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4964d3
mov edx, dword [0x504988]
mov ecx, dword [0x5247e8]
mov esi, dword [eax]
mov ecx, dword [edx + ecx + 4]
mov dword [esp], ecx
call dword [edx + 0x140]
mov edx, dword [esp + 0x70]
mov ebx, eax
mov eax, dword [edx]
mov ecx, 3
mov dword [ebx + 0xc], eax
mov dword [edx], ebx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov eax, dword [0x504988]
mov dword [esp], 0xc
call dword [eax + 0x130]
lea edx, [esi*8]
mov ecx, dword [esp + 0x4c]
lea edx, [edx + esi*4]
mov dword [ebx], eax
movzx esi, word [ecx + edx]
mov edi, 1
mov word [eax], si
movzx eax, word [ecx + edx + 2]
mov esi, dword [ebx]
mov word [esi + 2], ax
movzx ecx, word [ecx + edx + 4]
mov ebx, dword [ebx]
mov word [ebx + 4], cx
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], edi
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x1c], edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4963ac
mov dword [eax + 0x14], 0
inc ebp
mov eax, dword [esp + 0x50]
cmp ebp, eax
jb 0x4962df
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x44]
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [0x504988]
mov dword [esp], eax
call dword [edx + 0x134]
mov dword [ebp], 0
mov eax, dword [0x504988]
mov edx, dword [0x5247e8]
mov edx, dword [eax + edx + 4]
mov dword [esp + 4], ebp
mov dword [esp], edx
call dword [eax + 0x144]
mov eax, dword [ebx]
mov edx, dword [0x504988]
mov dword [esp], eax
call dword [edx + 0x134]
mov dword [ebx], 0
mov eax, dword [0x504988]
mov edx, dword [0x5247e8]
mov edx, dword [eax + edx + 4]
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x144]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49645f
mov esi, esi
lea edi, [edi]
mov ebx, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [0x504988]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
call dword [eax + 0x144]
mov eax, ebx
test ebx, ebx
jne 0x496440
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00462ff0
mov dword [esp + 0x30], 0
test esi, esi
jbe 0x4964a1
mov ebx, edi
lea ebp, [edi + esi*4]
xor esi, esi
mov esi, esi
mov eax, dword [ebx]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [0x504988]
call dword [eax + 0x144]
mov dword [ebx], esi
add ebx, 4
cmp ebx, ebp
jb 0x496480
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00462ff0
mov dword [esp], edi
mov eax, dword [0x504988]
mov dword [esp + 0x2c], 0
call dword [eax + 0x134]
add esp, 0x84
mov eax, 1
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 1
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
test edx, edx
je 0x497090
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0xc]
mov edx, dword [ebx + 4]
test edx, edx
je 0x496501
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x497080
xor esi, esi
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x496515
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x497070
xor ebx, ebx
add esi, ebx
cmp esi, 2
jl 0x496ac0
mov ebx, dword [eax + 8]
mov esi, dword [ebx + 4]
test esi, esi
je 0x496537
mov esi, dword [esi + 0x18]
test esi, esi
je 0x497060
xor esi, esi
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x49654b
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x497050
xor ebx, ebx
add esi, ebx
cmp esi, 2
jl 0x496ac0
mov eax, 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
test eax, eax
jbe 0x49658f
mov edx, dword [esp + 0x44]
lea eax, [edx + eax*4]
mov ebx, eax
mov eax, edx
lea esi, [esi]
mov edx, dword [eax]
add eax, 4
mov ecx, dword [edx + 0x18]
cmp eax, ebx
mov dword [edx + 0x1c], ecx
jb 0x496580
mov eax, edi
inc edi
test eax, eax
jne 0x4965b0
mov eax, dword [esp + 0x34]
xor edx, edx
mov ecx, 3
div ecx
mov esi, edx
jmp 0x4965f4
cmp eax, 1
jne 0x4965d0
mov eax, dword [esp + 0x34]
xor edx, edx
inc eax
mov ecx, 3
div ecx
mov esi, edx
jmp 0x4965f4
cmp eax, 2
jne 0x4965f0
mov eax, dword [esp + 0x34]
xor edx, edx
add eax, 2
mov ecx, 3
div ecx
mov esi, edx
jmp 0x4965f4
mov esi, dword [esp + 0x38]
test esi, esi
jne 0x496610
mov eax, dword [esp + 0x54]
mov eax, dword [esp + eax*4 + 0x1c]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
jmp 0x49664b
cmp esi, 1
jne 0x496630
mov eax, dword [esp + 0x54]
mov eax, dword [esp + eax*4 + 0x1c]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
jmp 0x49664b
cmp esi, 2
jne 0x49664b
mov eax, dword [esp + 0x54]
mov eax, dword [esp + eax*4 + 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
xor edx, edx
mov eax, esi
mov ecx, 3
mov ebx, dword [esp + 0x54]
div ecx
mov ebx, dword [esp + ebx*4 + 0x1c]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [ebx]
lea eax, [ebx*8]
lea eax, [eax + ebx*4]
add ecx, eax
lea eax, [esi + 1]
mov ebx, 3
movzx edx, word [ecx + edx*2]
mov ebp, dword [esp + 0x60]
mov ebp, dword [ebp]
mov word [ebp], dx
xor edx, edx
div ebx
lea eax, [esi + 2]
mov ebx, 3
movzx edx, word [ecx + edx*2]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x78], edx
xor edx, edx
div ebx
mov eax, dword [ebp]
mov ebx, dword [esp + 0x54]
cmp edi, 4
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x78]
mov word [eax + 2], di
movzx ecx, word [ecx + edx*2]
mov eax, dword [ebp]
mov word [eax + 4], cx
mov dword [ebp + 4], 3
mov ebp, dword [esp + ebx*4 + 0x1c]
mov edi, dword [esp + 0x7c]
jge 0x4966f0
mov dword [ebp + 0x1c], 1
jmp 0x496767
movzx eax, byte [ebp + 0x20]
mov dword [ebp + 0x18], 1
mov edx, dword [esp + eax*4 + 0x1c]
cmp edx, ebp
je 0x496a90
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x496714
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x496721
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x10], edx
xor edx, edx
xor eax, eax
mov ebx, edx
mov esi, esi
lea edi, [edi]
mov edx, dword [ebp + eax*4 + 4]
mov eax, dword [edx + 4]
test eax, eax
je 0x49674a
cmp eax, ebp
je 0x49674a
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x496a10
mov eax, dword [edx + 8]
test eax, eax
je 0x49675c
mov edx, dword [eax + 0x18]
test edx, edx
je 0x496a10
inc ebx
mov eax, ebx
movzx eax, al
cmp eax, 3
jl 0x496730
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, edx
mov edx, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], edi
call fcn.00497400
mov edx, dword [esp + 0x3c]
cmp edi, 4
lea ebp, [eax + edx + 1]
jge 0x4967d0
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
test eax, eax
je 0x4967ab
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4969e0
xor edx, edx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
test eax, eax
je 0x4967c3
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4969d0
xor eax, eax
add edx, eax
test edx, edx
jg 0x49680a
jmp 0x496940
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
test eax, eax
je 0x4967e6
mov eax, dword [eax + 0x18]
test eax, eax
je 0x496a00
xor edx, edx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
test eax, eax
je 0x4967fe
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4969f0
xor eax, eax
add edx, eax
test edx, edx
jle 0x496940
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax]
mov ebx, dword [edx]
movzx ecx, word [ecx + 2]
mov word [ebx], cx
mov eax, dword [eax]
mov ecx, dword [edx]
movzx eax, word [eax]
mov ebx, dword [esp + 0x4c]
mov word [ecx + 2], ax
mov dword [edx + 4], 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
mov eax, edx
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x1c]
call fcn.00497400
add ebp, eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
test al, 1
je 0x496869
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx]
movzx ebx, word [ecx + eax*2 - 4]
mov word [ecx + eax*2], bx
inc dword [edx + 4]
mov eax, dword [esp + 0x40]
cmp ebp, eax
jbe 0x496879
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], esi
cmp edi, 4
jl 0x496569
mov eax, dword [0x504988]
mov edx, dword [0x5247e8]
mov edx, dword [eax + edx + 4]
mov dword [esp], edx
call dword [eax + 0x140]
mov edx, dword [esp + 0x70]
mov ebx, eax
mov eax, dword [edx]
mov ecx, dword [esp + 0x5c]
mov dword [ebx + 0xc], eax
mov dword [edx], ebx
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
mov dword [ebx + 4], 0
lea ecx, [ecx + eax - 2]
mov dword [ebx + 8], ecx
add ecx, ecx
mov eax, dword [0x504988]
add ecx, ecx
mov dword [esp], ecx
call dword [eax + 0x130]
mov edx, dword [esp + 0x5c]
mov dword [ebx], eax
mov eax, dword [edx + 4]
cmp eax, 2
jbe 0x496914
mov dword [esp + 0x74], ebp
mov ebp, edx
lea esi, [esi]
mov edx, dword [ebp]
mov ecx, dword [ebx]
movzx edx, word [edx + eax*2 - 2]
mov eax, dword [ebx + 4]
mov word [ecx + eax*2], dx
inc dword [ebx + 4]
mov eax, dword [ebp + 4]
dec eax
mov dword [ebp + 4], eax
cmp eax, 2
ja 0x4968f0
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x60]
mov edx, dword [ebx]
mov ecx, dword [eax + 4]
mov esi, dword [ebx + 4]
add ecx, ecx
lea edi, [edx + esi*2]
add ecx, ecx
mov esi, dword [eax]
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
mov dword [ebx + 4], eax
jmp 0x4963ad
mov eax, dword [esp + 0x40]
cmp ebp, eax
jbe 0x496950
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], esi
cmp edi, 4
jl 0x496569
mov eax, dword [0x504988]
mov edx, dword [0x5247e8]
mov edx, dword [eax + edx + 4]
mov dword [esp], edx
call dword [eax + 0x140]
mov edx, dword [esp + 0x70]
mov ebx, eax
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov dword [edx], ebx
mov eax, dword [ecx + 4]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov ecx, dword [ecx + 4]
mov eax, dword [0x504988]
add ecx, ecx
add ecx, ecx
mov dword [esp], ecx
call dword [eax + 0x130]
mov edi, eax
mov eax, dword [esp + 0x60]
mov dword [ebx], edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4963ad
mov eax, 1
jmp 0x4967c5
mov edx, 1
jmp 0x4967ad
mov eax, 1
jmp 0x496800
mov edx, 1
jmp 0x4967e8
test eax, eax
je 0x49675c
movzx edx, byte [eax + 0x20]
mov ecx, dword [esp + edx*4 + 0x1c]
cmp ecx, eax
je 0x496a70
mov edx, dword [eax + 0x10]
test edx, edx
je 0x496a31
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [eax + 0x14]
test edx, edx
je 0x496a3e
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
movzx edx, byte [eax + 0x20]
dec edx
movzx ecx, dl
mov byte [eax + 0x20], dl
mov edx, dword [esp + ecx*4 + 0x1c]
mov dword [eax + 0x10], edx
test edx, edx
je 0x496a57
mov dword [edx + 0x14], eax
movzx edx, byte [eax + 0x20]
xor ecx, ecx
mov dword [esp + edx*4 + 0x1c], eax
mov dword [eax + 0x14], ecx
jmp 0x49675c
mov ecx, dword [ecx + 0x10]
mov dword [esp + edx*4 + 0x1c], ecx
movzx edx, byte [eax + 0x20]
mov edx, dword [esp + edx*4 + 0x1c]
test edx, edx
je 0x496a3e
xor ecx, ecx
mov dword [edx + 0x14], ecx
jmp 0x496a3e
mov edx, dword [edx + 0x10]
mov dword [esp + eax*4 + 0x1c], edx
movzx eax, byte [ebp + 0x20]
mov eax, dword [esp + eax*4 + 0x1c]
test eax, eax
je 0x496721
mov dword [eax + 0x14], 0
jmp 0x496721
mov ebx, dword [eax + 4]
mov dword [esp + 0x68], ebx
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x496ad9
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x497040
mov esi, dword [esp + 0x68]
mov dword [esp + 0x68], esi
xor esi, esi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x68]
mov esi, dword [esi + 8]
test esi, esi
je 0x496b05
mov dword [esp + 0x78], edi
mov edi, dword [esi + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x497020
mov dword [esp + 0x78], edi
xor edi, edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x64]
add edi, dword [esp + 0x3c]
cmp edi, 2
mov edi, dword [esp + 0x78]
jl 0x496ba0
test edx, edx
je 0x496b43
mov dword [esp + 0x78], edi
mov edi, dword [edx + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x497000
mov dword [esp + 0x78], edi
xor edi, edi
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x78]
test ecx, ecx
je 0x496b68
mov dword [esp + 0x78], edi
mov edi, dword [ecx + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496fe0
mov dword [esp + 0x78], edi
xor edi, edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x64]
add edi, dword [esp + 0x3c]
cmp edi, 2
mov edi, dword [esp + 0x78]
jl 0x496ba0
mov eax, 2
jmp 0x49655d
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x68], eax
je 0x496bbd
mov eax, dword [eax + 0x18]
test eax, eax
je 0x496fd0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x496bf1
mov dword [esp + 0x78], edi
mov edi, dword [eax + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496fb0
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x64]
add edi, dword [esp + 0x3c]
cmp edi, 2
mov edi, dword [esp + 0x78]
jl 0x496ca0
test ebx, ebx
je 0x496c37
mov dword [esp + 0x78], edi
mov edi, dword [ebx + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496f90
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x78]
test esi, esi
je 0x496c64
mov dword [esp + 0x78], edi
mov edi, dword [esi + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496f70
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x64]
add edi, dword [esp + 0x3c]
cmp edi, 2
mov edi, dword [esp + 0x78]
jl 0x496ca0
xor eax, eax
jmp 0x49655d
test ebx, ebx
je 0x496cb7
mov dword [esp + 0x78], edi
mov edi, dword [ebx + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496f50
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
test esi, esi
je 0x496ce4
mov dword [esp + 0x78], edi
mov edi, dword [esi + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496f30
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496d21
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov edi, dword [edi + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496f10
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x78]
test eax, eax
je 0x496d4e
mov dword [esp + 0x78], edi
mov edi, dword [eax + 0x18]
test edi, edi
mov edi, dword [esp + 0x78]
je 0x496ef0
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x34]
add edi, dword [esp + 0x64]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x3c]
add esi, dword [esp + 0x38]
cmp esi, edi
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
jle 0x496e00
test ebx, ebx
je 0x496d9b
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x496ea0
xor eax, eax
mov dword [esp + 0x3c], eax
test esi, esi
je 0x496db0
mov esi, dword [esi + 0x18]
test esi, esi
je 0x496e90
xor ebx, ebx
test edx, edx
je 0x496dc1
mov edx, dword [edx + 0x18]
test edx, edx
je 0x496e80
xor edx, edx
test ecx, ecx
je 0x496dd2
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x496e70
xor eax, eax
mov ecx, dword [esp + 0x3c]
add edx, eax
add ecx, ebx
cmp ecx, edx
jle 0x496df0
mov eax, 2
jmp 0x49655d
mov eax, 1
jmp 0x49655d
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x496e13
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x496ee0
xor esi, esi
test eax, eax
je 0x496e24
mov eax, dword [eax + 0x18]
test eax, eax
je 0x496ed0
xor ebx, ebx
test edx, edx
je 0x496e35
mov edx, dword [edx + 0x18]
test edx, edx
je 0x496ec0
xor edx, edx
test ecx, ecx
je 0x496e46
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x496eb0
xor eax, eax
add edx, eax
add esi, ebx
cmp esi, edx
jle 0x496e60
xor eax, eax
jmp 0x49655d
mov eax, 1
jmp 0x49655d
mov eax, 1
jmp 0x496dd4
mov edx, 1
jmp 0x496dc3
mov ebx, 1
jmp 0x496db2
mov eax, 1
mov dword [esp + 0x3c], eax
jmp 0x496da1
mov eax, 1
jmp 0x496e48
mov edx, 1
jmp 0x496e37
mov ebx, 1
jmp 0x496e26
mov esi, 1
jmp 0x496e15
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x78]
jmp 0x496d64
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x78]
jmp 0x496d37
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x78]
jmp 0x496cfa
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
jmp 0x496ccd
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
jmp 0x496c7a
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x78]
jmp 0x496c4d
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
jmp 0x496c07
mov eax, 1
mov dword [esp + 0x64], eax
jmp 0x496bd3
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
jmp 0x496b76
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x78]
jmp 0x496b51
mov dword [esp + 0x78], edi
mov edi, 1
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
jmp 0x496b13
mov esi, 1
mov dword [esp + 0x64], esi
jmp 0x496ae7
mov ebx, 1
jmp 0x49654d
mov esi, 1
jmp 0x496539
mov ebx, 1
jmp 0x496517
mov esi, 1
jmp 0x496503
mov ebx, eax
mov eax, dword [esp + ebx*4 + 0x20]
inc ebx
test eax, eax
je 0x497092
mov dword [esp + 0x54], ebx
jmp 0x4964ec