Function at 0x4a0b80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ed241
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x1fc]
push edi
test eax, eax
mov dword [esp + 0x34], eax
jne 0x4a0bc1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test eax, eax
jne 0x4a0be3
mov ecx, dword [ebp + 0xd0]
push ebp
add ecx, 0x264
call fcn.004f4880
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xcc]
test eax, eax
jne 0x4a0bf1
xor edi, edi
jmp 0x4a0bf7
mov edi, dword [ebp + 0xc4]
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x1c], edi
test eax, eax
jne 0x4a0c06
xor eax, eax
jmp 0x4a0c09
mov eax, dword [ebp + 0x60]
mov ebx, dword [esp + 0x78]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], 0
mov esi, dword [eax + ebx*4]
mov dword [esp + 0x10], esi
call fcn.004918b0
add edi, esi
mov ecx, ebp
push edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], edi
call fcn.004ee940
test al, 2
je 0x4a1145
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], 1
push ecx
push 0
push 0
push ebx
mov ecx, ebp
mov dword [esp + 0x4c], 0
call fcn.004ec7d0
cmp eax, 1
jne 0x4a0c7f
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a0c7f
test byte [eax + 0xe], 0x20
jne 0x4a0c7f
mov dword [esp + 0x44], 0
cmp dword [esp + 0x7c], 1
jne 0x4a0c91
push edi
call fcn.004eadc0
add esp, 4
add esi, eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov ebp, esi
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x14], ebx
jle 0x4a20ca
jmp 0x4a0cb1
xor ebx, ebx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x1f8]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x68]
shr eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xcc]
cmp eax, ebx
jne 0x4a0ce3
mov dword [esp + 0x20], ebx
jmp 0x4a0ced
mov edx, dword [edi + 0xc4]
mov dword [esp + 0x20], edx
cmp dword [edi + 0x68], ebx
jne 0x4a0cf8
mov dword [esp + 0x10], ebx
jmp 0x4a0cff
mov eax, dword [edi + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
and eax, 1
cmp eax, 1
mov dword [esp + 0x48], eax
jne 0x4a0d10
mov ebx, eax
cmp ebx, dword [esp + 0x38]
jge 0x4a112b
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4a0d85
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [ecx + ebx*4]
mov ecx, edi
add eax, esi
inc eax
push eax
call fcn.004ee1f0
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4a0d85
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4a0d85
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jge 0x4a1118
mov edx, dword [esp + 0x10]
lea esi, [edx + ebx*4]
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, edi
push eax
call fcn.004ee940
cmp eax, 1
je 0x4a1118
mov eax, dword [esp + 0x38]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x4a0d5b
jmp 0x4a1118
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4a0e70
mov ecx, dword [esp + 0x1c]
mov dl, byte [ecx + ebp]
lea eax, [ecx + ebp]
xor ecx, ecx
cmp dl, 1
sete cl
test ecx, ecx
mov dword [esp + 0x40], ecx
jne 0x4a0e70
push eax
call fcn.004eadc0
mov esi, dword [esp + 0x78]
add esp, 4
mov edi, eax
mov ecx, esi
push 0
push edi
push ebp
call fcn.004ec630
mov edx, edi
mov ecx, esi
neg edx
push edx
push ebp
call fcn.004ec550
mov eax, dword [esp + 0x70]
lea ecx, [esi + 0xbc]
push eax
push edi
push ebp
call fcn.0050c4e0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4a0dfa
xor eax, eax
jmp 0x4a0dfd
mov eax, dword [eax + 8]
shr ecx, 3
dec ecx
test ecx, ecx
jl 0x4a0e7c
lea esi, [ecx*8]
inc ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + eax + 4]
sub ecx, edi
cmp ecx, ebp
jge 0x4a0e48
mov ecx, dword [esp + 0x84]
push 8
push esi
call fcn.004922f0
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x4a0e3c
xor eax, eax
jmp 0x4a0e60
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
jmp 0x4a0e60
mov ecx, dword [esi + eax]
sub ecx, edi
cmp ebp, ecx
jle 0x4a0e53
mov ecx, ebp
mov dword [esi + eax], ecx
mov ecx, dword [esi + eax + 4]
sub ecx, edi
mov dword [esi + eax + 4], ecx
mov ecx, dword [esp + 0x7c]
sub esi, 8
dec ecx
mov dword [esp + 0x7c], ecx
jne 0x4a0e11
jmp 0x4a0e7c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a1123
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 0x58]
mov ecx, dword [ecx + 0x68]
test ecx, ecx
jne 0x4a0e8e
xor eax, eax
jmp 0x4a0e91
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], eax
lea esi, [eax + edx]
mov eax, dword [esp + 0x48]
cmp eax, 1
push esi
jne 0x4a0ee2
call fcn.004eadc0
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
add esp, 4
mov ebp, eax
mov ecx, edi
mov dword [esp + 0x2c], ebp
push ebp
push ebx
call fcn.004ec550
mov eax, dword [esp + 0x70]
add edi, 0xbc
push eax
push ebp
push esi
push ebx
mov ecx, edi
call fcn.0050c360
jmp 0x4a0f24
mov ecx, dword [esp + 0x28]
call fcn.004ee210
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebp, eax
push ebp
push edi
mov dword [esp + 0x34], ebp
call fcn.004ec550
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov bl, byte [esi]
push ecx
push ebp
push esi
push edi
lea edi, [edx + 0xbc]
mov ecx, edi
mov byte [esi], 0x21
call fcn.0050c360
mov byte [esi], bl
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4a0f36
xor ecx, ecx
jmp 0x4a0f39
mov ecx, dword [ecx + 8]
push ebp
push ebx
shr eax, 2
push eax
push ecx
call fcn.00503670
mov eax, dword [edi + 0x10]
add esp, 0x10
test eax, eax
jne 0x4a0f59
mov dword [esp + 0x1c], 0
jmp 0x4a0f60
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x88]
mov edx, 1
add ecx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
jmp 0x4a0f88
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x4a0f9b
add ecx, 0x80
add ebp, 0x80
jmp 0x4a0fc9
cmp edx, 2
jne 0x4a0fae
add ecx, 0x94
add ebp, 0x94
jmp 0x4a0fc9
cmp edx, 3
jne 0x4a0fc1
add ecx, 0xa8
add ebp, 0xa8
jmp 0x4a0fc9
lea eax, [ebp + 0x58]
add ecx, 0x58
mov ebp, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x7c], ebp
test eax, eax
jne 0x4a0fd8
xor ebx, ebx
jmp 0x4a0fdb
mov ebx, dword [ecx + 8]
shr eax, 2
cmp edx, 4
mov edi, eax
jne 0x4a1082
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a0ff4
xor ecx, ecx
jmp 0x4a0ff7
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x78]
shr eax, 2
push edx
push eax
push ecx
call fcn.00409f20
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x4a107e
xor ecx, ecx
xor esi, esi
test edi, edi
mov dword [esp + 0x5c], ecx
jle 0x4a10c6
mov eax, dword [ebx]
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x4a1055
mov edx, dword [esp + 0x88]
cmp eax, edx
jl 0x4a104d
mov ecx, edx
mov edx, dword [esp + 0x78]
sub eax, ecx
lea ecx, [esp + 0x4c]
add eax, edx
push eax
call fcn.00491be0
mov ecx, dword [esp + 0x5c]
inc esi
add ebx, 4
cmp esi, edi
jl 0x4a1020
test ecx, ecx
jle 0x4a10c6
mov eax, ecx
push ecx
shr eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
lea ecx, [ebp*4]
push eax
push ecx
mov ecx, dword [esp + 0x88]
call fcn.004920d0
jmp 0x4a10c6
mov ebp, dword [esp + 0x7c]
test edi, edi
jle 0x4a10c6
mov esi, dword [esp + 0x88]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x78]
mov eax, dword [ebx]
cmp eax, esi
jl 0x4a10b8
cmp eax, dword [esp + 0x30]
jge 0x4a10b8
sub eax, esi
mov ecx, ebp
add eax, edi
push eax
call fcn.00491be0
cmp dword [esp + 0x18], 4
jne 0x4a10b8
inc dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
add ebx, 4
dec eax
mov dword [esp + 0x7c], eax
jne 0x4a1095
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x4a0f80
mov eax, dword [ecx + 0x68]
test eax, eax
jne 0x4a10e7
xor eax, eax
jmp 0x4a10ea
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
mov edx, dword [esp + 0x30]
shr ecx, 2
push edx
push ecx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x84]
add esp, 0xc
add eax, edx
mov dword [esp + 0x78], eax
mov ebp, eax
cmp ebx, 0xffffffff
jne 0x4a0d10
jmp 0x4a112b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4a0caf
jmp 0x4a20ca
push 0xd4
call fcn.005bd3d9
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
xor ebp, ebp
cmp esi, ebp
je 0x4a1223
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x1f8]
mov eax, dword [edx]
mov edi, dword [eax + 0xd0]
mov eax, dword [0x6707bc]
mov dword [esi], eax
mov ecx, dword [0x6707bc]
mov dword [esi + 4], ecx
mov edx, dword [0x6707bc]
mov dword [esi + 8], edx
lea ebx, [esi + 0x18]
push edi
mov ecx, ebx
mov byte [esp + 0x6c], 4
call fcn.0040ea40
mov dword [ebx], 0x5f7bac
push edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x6c], 5
call fcn.0040ec70
lea ecx, [esi + 0x58]
mov byte [esp + 0x68], 6
call fcn.004918b0
lea ecx, [esi + 0x6c]
mov byte [esp + 0x68], 7
call fcn.004918b0
lea ecx, [esi + 0x80]
mov byte [esp + 0x68], 8
call fcn.004918b0
lea ecx, [esi + 0x94]
mov byte [esp + 0x68], 9
call fcn.004918b0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x68], 0xa
call fcn.004918b0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x68], 0xb
call fcn.004918b0
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0xd0], edi
mov dword [esp + 0x14], esi
jmp 0x4a1227
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x34]
mov byte [esp + 0x68], 0
cmp eax, ebp
mov dword [esp + 0x3c], ebp
jle 0x4a1475
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1f8]
mov ebp, dword [ecx + edx*4]
test byte [ebp + 0x10], 1
je 0x4a138c
mov eax, dword [ebp + 0xcc]
test eax, eax
jne 0x4a126e
mov dword [esp + 0x20], 0
jmp 0x4a1278
mov eax, dword [ebp + 0xc4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
inc ecx
call fcn.004eb610
mov esi, eax
mov bl, byte [esi]
mov dword [esp + 0x44], esi
cmp bl, 1
je 0x4a1460
push esi
call fcn.004eadc0
add esp, 4
cmp bl, 0x21
mov dword [esp + 0x2c], eax
jne 0x4a1385
mov ebx, dword [esp + 0x14]
mov edi, esi
push eax
push esi
mov edx, dword [ebx + 0xcc]
lea ecx, [ebx + 0xbc]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
sub edi, edx
mov byte [esi], 0x6a
call fcn.00492170
mov eax, 1
mov byte [esi], 0x21
mov dword [esp + 0x18], eax
jmp 0x4a12e5
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp eax, 1
jne 0x4a12f8
lea ecx, [ebp + 0x80]
add ebx, 0x80
jmp 0x4a1324
cmp eax, 2
jne 0x4a130b
lea ecx, [ebp + 0x94]
add ebx, 0x94
jmp 0x4a1324
cmp eax, 3
jne 0x4a131e
lea ecx, [ebp + 0xa8]
add ebx, 0xa8
jmp 0x4a1324
lea ecx, [ebp + 0x58]
add ebx, 0x58
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4a132f
xor esi, esi
jmp 0x4a1332
mov esi, dword [ecx + 8]
shr eax, 2
test eax, eax
jle 0x4a136b
mov dword [esp + 0x48], eax
mov eax, dword [esi]
cmp eax, edi
jl 0x4a135d
mov ecx, dword [esp + 0x2c]
add ecx, edi
cmp eax, ecx
jge 0x4a135d
mov edx, dword [esp + 0x24]
mov ecx, ebx
sub edx, edi
add edx, eax
push edx
call fcn.00491be0
mov eax, dword [esp + 0x48]
add esi, 4
dec eax
mov dword [esp + 0x48], eax
jne 0x4a133d
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x4a12dd
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add esi, eax
jmp 0x4a1284
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [esi + 0xcc]
push eax
push 0
call fcn.004ec550
mov ecx, dword [ebp + 0xcc]
mov eax, ecx
test eax, eax
jne 0x4a13b0
xor eax, eax
jmp 0x4a13b6
mov eax, dword [ebp + 0xc4]
push ecx
push eax
lea ecx, [esi + 0xbc]
call fcn.00492170
mov ecx, dword [ebp + 0x68]
mov eax, ecx
test eax, eax
jne 0x4a13d0
xor eax, eax
jmp 0x4a13d3
mov eax, dword [ebp + 0x60]
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.00492170
mov ecx, dword [ebp + 0x7c]
mov eax, ecx
test eax, eax
jne 0x4a13ea
xor eax, eax
jmp 0x4a13ed
mov eax, dword [ebp + 0x74]
push ecx
push eax
lea ecx, [esi + 0x6c]
call fcn.00492170
mov ecx, dword [ebp + 0x90]
mov eax, ecx
test eax, eax
jne 0x4a1407
xor eax, eax
jmp 0x4a140d
mov eax, dword [ebp + 0x88]
push ecx
push eax
lea ecx, [esi + 0x80]
call fcn.00492170
mov ecx, dword [ebp + 0xa4]
mov eax, ecx
test eax, eax
jne 0x4a142a
xor eax, eax
jmp 0x4a1430
mov eax, dword [ebp + 0x9c]
push ecx
push eax
lea ecx, [esi + 0x94]
call fcn.00492170
mov ecx, dword [ebp + 0xb8]
mov eax, ecx
test eax, eax
jne 0x4a144d
xor eax, eax
jmp 0x4a1453
mov eax, dword [ebp + 0xb0]
push ecx
push eax
lea ecx, [esi + 0xa8]
call fcn.00492170
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x4a123c
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp dword [ebp + 0xcc], edi
jne 0x4a14c5
cmp ebp, edi
je 0x4a1497
mov ecx, ebp
call fcn.0040f4e0
push ebp
call fcn.005bd402
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x5f7940
call fcn.00491ab0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp dword [esp + 0x88], edi
jne 0x4a1b42
cmp dword [esp + 0x7c], 1
jne 0x4a14f2
mov eax, dword [esp + 0x40]
push eax
call fcn.004cb5c0
mov esi, dword [esp + 0x14]
add esp, 4
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x4a14f6
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp esi, edi
jle 0x4a150f
mov al, byte [esi + ebx - 1]
cmp al, 0x6d
je 0x4a150a
cmp al, 0x55
jne 0x4a150f
dec esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x74]
mov dl, byte [esi + ebx]
lea ecx, [esi + ebx]
mov eax, dword [eax + 0xcc]
cmp esi, eax
jge 0x4a1534
cmp dl, 0x6e
je 0x4a152d
cmp dl, 0x6d
jne 0x4a1534
mov edi, 1
jmp 0x4a1536
xor edi, edi
cmp ecx, ebx
jbe 0x4a154c
mov al, byte [ecx - 1]
mov dword [esp + 0x80], 1
cmp al, 0x6f
je 0x4a1557
mov dword [esp + 0x80], 0
mov eax, dword [ebp + 0xcc]
lea esi, [ebp + 0xbc]
test eax, eax
jne 0x4a156b
xor eax, eax
jmp 0x4a156e
mov eax, dword [esi + 8]
xor ebx, ebx
cmp byte [eax], 0x6d
sete bl
cmp edi, 1
mov eax, ebx
jne 0x4a159d
test eax, eax
jne 0x4a159d
cmp dl, 0x6e
jne 0x4a16e3
push ecx
mov ecx, dword [esp + 0x78]
call fcn.004ee210
add dword [esp + 0x10], eax
jmp 0x4a16e3
mov ebx, 1
cmp eax, ebx
jne 0x4a15c2
cmp edi, ebx
jne 0x4a15b5
cmp dl, 0x6d
jne 0x4a15b5
inc dword [esp + 0x10]
jmp 0x4a15db
cmp dword [esp + 0x80], ebx
jne 0x4a15c2
dec dword [esp + 0x10]
cmp edi, ebx
je 0x4a15d3
cmp dword [esp + 0x80], ebx
jne 0x4a16e3
cmp eax, ebx
jne 0x4a16e3
mov eax, dword [ebp + 0x7c]
lea ecx, [ebp + 0x6c]
test eax, eax
jne 0x4a15e9
xor esi, esi
jmp 0x4a15ec
mov esi, dword [ecx + 8]
mov edx, dword [ebp + 0x7c]
mov eax, 0x38e38e39
mul edx
shr edx, 1
xor eax, eax
test edx, edx
jle 0x4a161f
cmp byte [esi], 4
jne 0x4a160a
mov edi, dword [esi + 1]
test edi, edi
je 0x4a1614
add esi, 9
inc eax
cmp eax, edx
jl 0x4a15fe
jmp 0x4a161f
lea edx, [eax + eax*8]
push 9
push edx
call fcn.004922f0
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.004ec550
lea esi, [ebp + 0xbc]
push ebx
push 0
mov ecx, esi
call fcn.004922f0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a1645
xor edi, edi
jmp 0x4a1648
mov edi, dword [esi + 8]
cmp byte [edi], 0x6e
jne 0x4a1668
inc edi
mov ecx, edi
call fcn.004eb460
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004ee240
add edi, eax
cmp byte [edi], 0x6e
je 0x4a164d
mov eax, dword [ebp + 0xcc]
lea esi, [ebp + 0xbc]
test eax, eax
jne 0x4a167c
xor eax, eax
jmp 0x4a167f
mov eax, dword [esi + 8]
sub edi, eax
push 0xfffffffffffffffe
dec edi
mov ecx, ebp
push edi
call fcn.004ec550
push 2
push edi
mov ecx, esi
call fcn.004922f0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a16a1
xor eax, eax
jmp 0x4a16a4
mov eax, dword [esi + 8]
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004ee240
mov ecx, dword [esi + 0x10]
lea eax, [edi + eax - 1]
test ecx, ecx
jne 0x4a16bf
xor ecx, ecx
jmp 0x4a16c2
mov ecx, dword [esi + 8]
sub eax, ecx
push 0xfffffffffffffffe
mov edi, eax
mov ecx, ebp
push edi
call fcn.004ec550
push 2
push edi
mov ecx, esi
call fcn.004922f0
push 0x53
mov ecx, esi
call fcn.00491bb0
mov edi, dword [ebp + 0xcc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
push edi
push ebx
mov dword [esp + 0x34], edi
call fcn.004ec550
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4a170e
xor ecx, ecx
jmp 0x4a1711
mov ecx, dword [ecx + 8]
push edi
push ebx
shr eax, 2
push eax
push ecx
call fcn.00503670
mov eax, dword [esi + 0x10]
add esp, 0x10
test eax, eax
jne 0x4a172b
xor esi, esi
jmp 0x4a172e
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x70]
push eax
push edi
mov edi, dword [esp + 0x7c]
push esi
push ebx
lea ecx, [edi + 0xbc]
call fcn.0050c360
mov eax, dword [edi + 0x68]
add edi, 0x58
test eax, eax
jne 0x4a1753
xor eax, eax
jmp 0x4a1756
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [edx + 0x68]
shr ecx, 2
push ecx
push eax
call fcn.00409f20
mov esi, dword [ebp + 0x68]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x4a17bf
mov ecx, dword [ebp + 0x68]
lea eax, [ebp + 0x58]
test ecx, ecx
jne 0x4a1787
xor eax, eax
jmp 0x4a178a
mov eax, dword [eax + 8]
lea ebp, [ebx*4]
push esi
push eax
push ebp
mov ecx, edi
call fcn.004920d0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a17a6
xor edi, edi
jmp 0x4a17a9
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x7c]
lea ecx, [edi + ebp]
cmp eax, 1
jne 0x4a180c
sub ebx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
jmp 0x4a180c
cmp dword [esp + 0x7c], 1
jne 0x4a17da
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [edx + 0x68]
shr eax, 2
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x68]
test ecx, ecx
mov ebx, dword [eax + 0x68]
lea eax, [ebp + 0x58]
jne 0x4a17ef
xor eax, eax
jmp 0x4a17f2
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.00492170
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a1806
xor edi, edi
jmp 0x4a1809
mov edi, dword [edi + 8]
lea ecx, [edi + ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x68]
xor edx, edx
shr eax, 2
dec eax
test eax, eax
setl dl
dec edx
and eax, edx
mov edx, dword [esp + 0x28]
add edx, eax
mov eax, dword [esp + 0x10]
shr esi, 2
push eax
push esi
push ecx
mov dword [esp + 0x34], edx
call fcn.00503a20
add esp, 0xc
mov ebp, 1
cmp ebp, 1
jne 0x4a185d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 0x80]
lea edi, [edx + 0x80]
jmp 0x4a18a0
cmp ebp, 2
jne 0x4a1878
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
lea eax, [edx + 0x94]
lea edi, [ecx + 0x94]
jmp 0x4a18a0
cmp ebp, 3
jne 0x4a1892
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
add eax, 0xa8
lea edi, [edx + 0xa8]
jmp 0x4a18a0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x6c]
mov ecx, dword [esp + 0x74]
lea edi, [ecx + 0x6c]
mov esi, dword [eax + 0x10]
mov ebx, dword [edi + 0x10]
test esi, esi
jne 0x4a18ae
xor eax, eax
jmp 0x4a18b1
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.00492170
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a18c5
xor edi, edi
jmp 0x4a18c8
mov edi, dword [edi + 8]
cmp ebp, 4
lea ecx, [edi + ebx]
jne 0x4a18ee
mov edx, dword [esp + 0x10]
mov eax, 0x38e38e39
push edx
mul esi
push 1
push 0
shr edx, 1
push edx
push ecx
call fcn.00409df0
add esp, 0x14
jmp 0x4a1900
mov eax, dword [esp + 0x10]
shr esi, 2
push eax
push esi
push ecx
call fcn.00503a20
add esp, 0xc
inc ebp
cmp ebp, 4
jle 0x4a1842
mov ecx, dword [esp + 0x74]
lea eax, [ecx + 0xbc]
mov ecx, dword [ecx + 0xcc]
test ecx, ecx
jne 0x4a1922
xor edi, edi
jmp 0x4a1925
mov edi, dword [eax + 8]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add edi, edx
mov dword [esp + 0x78], 0
lea ebp, [eax + edi]
cmp edi, ebp
jae 0x4a1faa
mov esi, dword [esp + 0x78]
mov cl, byte [edi]
inc edi
mov byte [esp + 0x80], cl
mov edx, dword [esp + 0x80]
push edx
call fcn.004ee1a0
add esp, 4
cmp eax, 1
jne 0x4a1b2f
mov ecx, edi
call fcn.004eb460
mov ebx, eax
mov ax, word [edi + 6]
test al, 2
je 0x4a1b05
and eax, 0xfffd
mov ecx, edi
mov word [edi + 6], ax
call fcn.004eb430
cmp eax, 0xffff
jne 0x4a1b05
test esi, esi
jne 0x4a1a11
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xbc]
mov eax, dword [eax + 0xcc]
test eax, eax
jne 0x4a19b5
xor eax, eax
jmp 0x4a19b8
mov eax, dword [ecx + 8]
lea edx, [edi - 1]
cmp edx, eax
jbe 0x4a1b05
mov al, byte [edi - 2]
cmp al, 0x73
je 0x4a19d6
cmp al, 0x72
je 0x4a19d6
cmp al, 0x74
jne 0x4a1b05
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4a19e1
xor edx, edx
jmp 0x4a19e4
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xcc]
lea eax, [ebx + edi]
add ecx, edx
cmp eax, ecx
jae 0x4a1b05
mov cl, byte [eax]
push ecx
call fcn.004ea810
add esp, 4
cmp eax, 5
je 0x4a1b05
jmp 0x4a1a1a
cmp esi, 1
jne 0x4a1b01
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0xcc]
test eax, eax
jne 0x4a1a2c
xor eax, eax
jmp 0x4a1a32
mov eax, dword [ecx + 0xc4]
sub edi, eax
lea eax, [ecx + 0x58]
dec edi
inc ebx
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4a1a44
xor eax, eax
jmp 0x4a1a47
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
push edi
mov edx, dword [esi + 0x68]
shr edx, 2
push edx
push eax
call fcn.004926e0
add esp, 0xc
lea ecx, [esi + 0x58]
shl eax, 2
push 4
push eax
call fcn.004922f0
mov ebp, ebx
mov ecx, esi
neg ebp
push ebp
push edi
call fcn.004ec550
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4a1a89
xor ecx, ecx
jmp 0x4a1a93
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + 8]
push ebp
push edi
shr eax, 2
push eax
push ecx
call fcn.00503670
mov eax, dword [esp + 0x80]
add esp, 0x10
add esi, 0xbc
push eax
push ebx
push edi
mov ecx, esi
call fcn.0050c4e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
sub ecx, ebx
test eax, eax
mov dword [esp + 0x2c], ecx
jne 0x4a1ace
xor eax, eax
jmp 0x4a1ad1
mov eax, dword [esi + 8]
add edi, eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a1ade
xor esi, esi
jmp 0x4a1ae1
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
xor ebx, ebx
lea ebp, [esi + ecx]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x78]
add ebp, ecx
dec eax
add edi, ebx
mov dword [esp + 0x28], eax
jmp 0x4a1b35
test esi, esi
jne 0x4a1b2b
mov al, byte [esp + 0x80]
cmp al, 0x6c
je 0x4a1b25
cmp al, 0x6b
je 0x4a1b25
cmp al, 0x6e
je 0x4a1b25
mov esi, 1
add edi, ebx
mov dword [esp + 0x78], esi
jmp 0x4a1b35
xor esi, esi
mov dword [esp + 0x78], esi
add edi, ebx
jmp 0x4a1b35
xor esi, esi
mov dword [esp + 0x78], esi
cmp edi, ebp
jb 0x4a1946
jmp 0x4a1faa
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x68]
shr eax, 2
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xcc]
cmp eax, edi
jne 0x4a1b60
mov dword [esp + 0x1c], edi
jmp 0x4a1b6a
mov edx, dword [ecx + 0xc4]
mov dword [esp + 0x1c], edx
lea eax, [ecx + 0x58]
mov ecx, dword [ecx + 0x68]
cmp ecx, edi
jne 0x4a1b7d
mov dword [esp + 0x84], edi
jmp 0x4a1b87
mov eax, dword [eax + 8]
mov dword [esp + 0x84], eax
cmp dword [ebp + 0xcc], edi
jne 0x4a1b95
mov dword [esp + 0x20], edi
jmp 0x4a1b9f
mov ecx, dword [ebp + 0xc4]
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0x68], edi
jne 0x4a1baa
mov dword [esp + 0x10], edi
jmp 0x4a1bb1
mov edx, dword [ebp + 0x60]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x80], edi
shr eax, 2
cmp eax, edi
mov dword [esp + 0x38], eax
jle 0x4a1faa
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jge 0x4a1faa
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x44], eax
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
lea edi, [eax + edx]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x88], eax
lea esi, [eax + edx]
mov al, byte [esi + 7]
mov dword [esp + 0x7c], esi
inc esi
test al, 2
jne 0x4a1f5c
mov ecx, dword [esp + 0x7c]
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x4a1faa
cmp al, 0x70
je 0x4a1c38
cmp al, 0x71
jne 0x4a1c4b
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004eb400
test eax, eax
je 0x4a1faa
push edi
call fcn.004cb5c0
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.004eb460
mov esi, dword [esp + 0x74]
mov ebp, eax
mov eax, dword [esp + 0x24]
push 0
push ebx
push eax
mov ecx, esi
inc ebp
call fcn.004ec630
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x58]
test ecx, ecx
jne 0x4a1c81
xor eax, eax
jmp 0x4a1c84
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edi, ebp
mov edx, dword [esi + 0x68]
sub edi, ebx
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.00503670
mov edx, dword [esi + 0x7c]
add esp, 0x10
mov eax, edx
test eax, eax
jne 0x4a1caf
xor ecx, ecx
jmp 0x4a1cb2
mov ecx, dword [esi + 0x74]
mov eax, dword [esp + 0x24]
push edi
inc eax
push 1
push eax
mov eax, 0x38e38e39
mul edx
shr edx, 1
push edx
push ecx
call fcn.00409df0
mov eax, dword [esi + 0x90]
add esp, 0x14
test eax, eax
jne 0x4a1cdc
xor eax, eax
jmp 0x4a1ce2
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x90]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.00503670
mov eax, dword [esi + 0xa4]
add esp, 0x10
test eax, eax
jne 0x4a1d09
xor eax, eax
jmp 0x4a1d0f
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa4]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.00503670
mov eax, dword [esi + 0xb8]
add esp, 0x10
test eax, eax
jne 0x4a1d36
xor eax, eax
jmp 0x4a1d3c
mov eax, dword [esi + 0xb0]
mov edx, dword [esi + 0xb8]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.00503670
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x34]
add esp, 0x10
push eax
push ebp
push ecx
push ebx
push edx
lea ecx, [esi + 0xbc]
call fcn.0050c440
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x14]
add ebp, eax
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
jmp 0x4a1d9a
mov ebx, dword [esp + 0x14]
cmp ecx, 1
jne 0x4a1db1
mov edx, dword [esp + 0x74]
add ebx, 0x80
lea eax, [edx + 0x80]
jmp 0x4a1dea
cmp ecx, 2
jne 0x4a1dc7
mov eax, dword [esp + 0x74]
add ebx, 0x94
add eax, 0x94
jmp 0x4a1dea
cmp ecx, 3
jne 0x4a1dde
mov edx, dword [esp + 0x74]
add ebx, 0xa8
lea eax, [edx + 0xa8]
jmp 0x4a1dea
lea eax, [ebx + 0x58]
mov ebx, eax
mov eax, dword [esp + 0x74]
add eax, 0x58
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a1df9
xor esi, esi
jmp 0x4a1dfc
mov esi, dword [ebx + 8]
mov ebp, eax
shr ebp, 2
cmp ecx, 4
jne 0x4a1ea3
test eax, eax
je 0x4a1e15
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x4a1e1a
or eax, 0xffffffff
jmp 0x4a1e2f
mov edx, dword [esp + 0x88]
shr eax, 2
push edx
push eax
push ecx
call fcn.004928c0
add esp, 0xc
lea ecx, [eax*4]
mov edi, eax
add esi, ecx
cmp eax, ebp
jge 0x4a1e4e
mov edx, dword [esp + 0x30]
cmp dword [esi], edx
jge 0x4a1e4e
inc edi
add esi, 4
cmp edi, ebp
jl 0x4a1e42
sub edi, eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a1e5b
xor eax, eax
jmp 0x4a1e5e
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
lea edx, [edi*4]
add ecx, eax
push edx
push ecx
push esi
mov ecx, ebx
call fcn.004920d0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a1e84
xor eax, eax
jmp 0x4a1e87
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x88]
sub ecx, ebp
add esi, eax
push ecx
push edi
push esi
call fcn.00503a20
add esp, 0xc
jmp 0x4a1ed4
test ebp, ebp
jle 0x4a1ed4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x88]
mov eax, dword [esi]
cmp eax, edi
jl 0x4a1ece
cmp eax, dword [esp + 0x30]
jge 0x4a1ece
mov ecx, dword [esp + 0x7c]
mov edx, ebx
sub edx, edi
add edx, eax
push edx
call fcn.00491be0
add esi, 4
dec ebp
jne 0x4a1eb2
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, 4
mov dword [esp + 0x18], ecx
jle 0x4a1d96
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x4a1efc
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x4a1f08
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x1c], eax
mov ebp, eax
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x4a1f13
xor esi, esi
jmp 0x4a1f16
mov esi, dword [edi + 0x60]
mov ebx, dword [edi + 0x68]
mov eax, dword [esp + 0x78]
shr ebx, 2
inc eax
mov dword [esp + 0x84], esi
cmp eax, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x78], eax
jge 0x4a1f5c
mov ecx, eax
lea esi, [esi + ecx*4]
mov ecx, dword [esi]
mov edx, ebp
add edx, ecx
mov ecx, edi
push edx
call fcn.004ee940
cmp eax, 1
je 0x4a1f5c
mov eax, dword [esp + 0x78]
add esi, 4
inc eax
cmp eax, ebx
mov dword [esp + 0x78], eax
jl 0x4a1f39
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
inc edi
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x4a1faa
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
lea esi, [eax + edi*4]
mov ecx, dword [esi]
add ecx, ebp
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004ee940
cmp eax, 1
je 0x4a1fa2
inc edi
add esi, 4
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x4a1faa
jmp 0x4a1f7e
cmp edi, ebx
jl 0x4a1bca
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x74], edi
je 0x4a20ca
lea ecx, [edi + 0xbc]
mov byte [esp + 0x68], 0x15
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [edi + 0xa8]
mov byte [esp + 0x68], 0x14
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [edi + 0x94]
mov byte [esp + 0x68], 0x13
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [edi + 0x80]
mov byte [esp + 0x68], 0x12
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [edi + 0x6c]
mov byte [esp + 0x68], 0x11
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea ecx, [edi + 0x58]
mov byte [esp + 0x68], 0x10
mov dword [ecx], 0x5f7940
call fcn.00491ab0
lea eax, [edi + 0x38]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004f47a0
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x16
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00491ab0
mov ecx, esi
mov byte [esp + 0x68], 0xf
mov dword [esi], 0x5f7940
call fcn.00491ab0
lea eax, [edi + 0x18]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004f47a0
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x17
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00491ab0
mov ecx, esi
mov byte [esp + 0x68], 0xe
mov dword [esi], 0x5f7940
call fcn.00491ab0
lea ecx, [edi + 8]
mov byte [esp + 0x68], 0xd
call fcn.005bc421
lea ecx, [edi + 4]
mov byte [esp + 0x68], 0xc
call fcn.005bc421
mov ecx, edi
mov byte [esp + 0x68], bl
call fcn.005bc421
push edi
call fcn.005bd402
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x5f7940
call fcn.00491ab0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret