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

Disassembly:
push 0xffffffffffffffff
push 0x54617b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x24], ecx
push ebp
mov eax, dword [ebx + 0x64]
mov ecx, dword [esp + 0xd8]
push esi
push edi
mov edi, dword [esp + 0xe4]
shr eax, 2
test ecx, ecx
jne 0x4a882c
dec eax
cmp edi, eax
jne 0x4a882c
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x4a8715
push ebx
call fcn.004cd820
jmp 0x4a9819
push 0xd0
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
mov dword [esp + 0xd4], 0
je 0x4a87f8
mov eax, dword [0x596a0c]
mov edi, dword [ebx + 0xcc]
mov dword [esi], eax
mov ecx, dword [0x596a0c]
mov dword [esi + 4], ecx
lea ebp, [esi + 0x14]
push edi
mov ecx, ebp
mov byte [esp + 0xd8], 2
call fcn.0040bf10
mov dword [ebp], 0x54d958
push edi
lea ecx, [esi + 0x34]
mov byte [esp + 0xd8], 3
call fcn.0040c140
lea ecx, [esi + 0x54]
mov byte [esp + 0xd4], 4
call fcn.00473490
lea ecx, [esi + 0x68]
mov byte [esp + 0xd4], 5
call fcn.00473490
lea ecx, [esi + 0x7c]
mov byte [esp + 0xd4], 6
call fcn.00473490
lea ecx, [esi + 0x90]
mov byte [esp + 0xd4], 7
call fcn.00473490
lea ecx, [esi + 0xa4]
mov byte [esp + 0xd4], 8
call fcn.00473490
lea ecx, [esi + 0xb8]
mov byte [esp + 0xd4], 9
call fcn.00473490
xor eax, eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
jmp 0x4a87fa
xor esi, esi
push ebx
mov ecx, esi
mov dword [esp + 0xd8], 0xffffffff
call fcn.004cd820
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0xec]
or edx, 2
push esi
mov dword [esi + 0xc], edx
mov edx, dword [ecx + 8]
push edx
call fcn.00518b9e
jmp 0x4a9819
mov eax, dword [ebx + 0xc8]
test eax, eax
jne 0x4a883a
xor ebp, ebp
jmp 0x4a8840
mov ebp, dword [ebx + 0xc0]
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x4a884f
xor eax, eax
jmp 0x4a8852
mov eax, dword [ebx + 0x5c]
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x10], eax
mov edx, dword [eax + ecx*4]
mov ecx, ebx
add edx, ebp
push edx
call fcn.004cd260
test al, 2
je 0x4a8b6f
push 0xd0
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
mov dword [esp + 0xd4], 0xa
je 0x4a8955
mov eax, dword [0x596a0c]
mov edi, dword [ebx + 0xcc]
mov dword [esi], eax
mov ecx, dword [0x596a0c]
mov dword [esi + 4], ecx
lea ebp, [esi + 0x14]
push edi
mov ecx, ebp
mov byte [esp + 0xd8], 0xc
call fcn.0040bf10
mov dword [ebp], 0x54d958
push edi
lea ecx, [esi + 0x34]
mov byte [esp + 0xd8], 0xd
call fcn.0040c140
lea ecx, [esi + 0x54]
mov byte [esp + 0xd4], 0xe
call fcn.00473490
lea ecx, [esi + 0x68]
mov byte [esp + 0xd4], 0xf
call fcn.00473490
lea ecx, [esi + 0x7c]
mov byte [esp + 0xd4], 0x10
call fcn.00473490
lea ecx, [esi + 0x90]
mov byte [esp + 0xd4], 0x11
call fcn.00473490
lea ecx, [esi + 0xa4]
mov byte [esp + 0xd4], 0x12
call fcn.00473490
lea ecx, [esi + 0xb8]
mov byte [esp + 0xd4], 0x13
call fcn.00473490
xor eax, eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
jmp 0x4a8957
xor esi, esi
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xec]
mov edi, 1
push esi
or eax, edi
mov dword [esp + 0xd8], 0xffffffff
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 8]
push eax
call fcn.00518b9e
lea ecx, [esi + 0x54]
push 0
call fcn.00473750
lea ebp, [esi + 0xb8]
push 0x6a
mov ecx, ebp
mov dword [esp + 0x50], 0
mov word [esp + 0x54], 0xffff
mov word [esp + 0x56], di
call fcn.004737d0
lea edx, [esp + 0x4c]
push 8
push edx
mov ecx, ebp
call fcn.00473d50
push 0
mov ecx, ebp
call fcn.00473750
push 0
mov ecx, ebp
call fcn.00473750
push 0x36
mov ecx, ebp
call fcn.004737d0
mov eax, dword [esp + 0xe0]
lea edi, [eax + 1]
mov eax, dword [esp + 0xe4]
cmp edi, eax
jg 0x4a8a1a
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + edi*4]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0xdc]
push edx
call fcn.004cd260
test al, 2
je 0x4a8a1a
mov eax, dword [esp + 0xe4]
inc edi
add ebx, 4
cmp edi, eax
jle 0x4a89f2
mov eax, dword [esp + 0xe0]
dec edi
cmp eax, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
jg 0x4a8b48
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 0xc8]
add edi, edx
push eax
lea ecx, [esi + 0x54]
mov dword [esp + 0x2c], eax
mov bl, byte [edi]
call fcn.00473750
cmp bl, 0x21
je 0x4a8b09
mov edx, dword [esi + 0xc8]
cmp bl, 0x1d
mov dword [esp + 0x14], edx
jne 0x4a8a7d
mov eax, dword [esp + 0x28]
lea ecx, [esi + 0x90]
push eax
jmp 0x4a8a9c
cmp bl, 0x1e
jne 0x4a8a8c
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0x7c]
jmp 0x4a8a9c
cmp bl, 0x1b
jne 0x4a8aa1
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0xa4]
push edx
call fcn.00473750
push edi
call fcn.004c9e40
add esp, 4
mov ecx, ebp
push eax
push edi
call fcn.00473d50
cmp bl, 0x1d
jne 0x4a8ad8
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a8ac3
xor eax, eax
jmp 0x4a8ac6
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx + 1]
mov ecx, esi
push edx
call fcn.004cab20
jmp 0x4a8b31
cmp bl, 0x1f
jne 0x4a8b31
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a8af6
mov ecx, dword [esp + 0x14]
xor eax, eax
mov eax, ecx
mov ecx, esi
push eax
call fcn.004caab0
jmp 0x4a8b31
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov ecx, esi
push eax
call fcn.004caab0
jmp 0x4a8b31
mov dl, byte [edi + 7]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
and edx, 1
push edx
mov edx, dword [esp + 0xe0]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x40]
push edi
push edx
call fcn.004a8430
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x4a8a32
mov edi, ecx
push 1
mov ecx, ebp
call fcn.004737d0
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x1c]
xor esi, esi
inc edi
mov dword [esp + 0xe0], edi
mov edi, dword [esp + 0xe4]
jmp 0x4a8b76
mov esi, dword [esp + 0xe8]
cmp dword [esp + 0xe0], edi
jg 0x4a9819
test esi, esi
jne 0x4a8cb2
push 0xd0
mov dword [esp + 0x24], 1
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
mov dword [esp + 0xd4], 0x14
je 0x4a8c8a
mov eax, dword [0x596a0c]
mov edi, dword [ebx + 0xcc]
mov dword [esi], eax
mov ecx, dword [0x596a0c]
mov dword [esi + 4], ecx
lea ebp, [esi + 0x14]
push edi
mov ecx, ebp
mov byte [esp + 0xd8], 0x16
call fcn.0040bf10
mov dword [ebp], 0x54d958
lea ebp, [esi + 0x34]
push edi
mov ecx, ebp
mov byte [esp + 0xd8], 0x17
call fcn.0040bf10
mov dword [ebp], 0x54d958
lea ecx, [esi + 0x54]
mov byte [esp + 0xd4], 0x18
call fcn.00473490
lea ecx, [esi + 0x68]
mov byte [esp + 0xd4], 0x19
call fcn.00473490
lea ecx, [esi + 0x7c]
mov byte [esp + 0xd4], 0x1a
call fcn.00473490
lea ecx, [esi + 0x90]
mov byte [esp + 0xd4], 0x1b
call fcn.00473490
lea ecx, [esi + 0xa4]
mov byte [esp + 0xd4], 0x1c
call fcn.00473490
lea ecx, [esi + 0xb8]
mov byte [esp + 0xd4], 0x1d
call fcn.00473490
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0xcc], edi
mov edi, dword [esp + 0xe4]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
jmp 0x4a8c8c
xor esi, esi
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xec]
or al, 2
push esi
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 8]
push eax
mov dword [esp + 0xdc], 0xffffffff
call fcn.00518b9e
jmp 0x4a8cba
mov dword [esp + 0x20], 0
test edi, edi
mov dword [esp + 0x28], edi
jle 0x4a8cf1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xe4]
lea edi, [edx + eax*4]
mov ecx, dword [edi]
add ecx, ebp
push ecx
mov ecx, ebx
call fcn.004cd260
cmp eax, 1
je 0x4a8cf1
mov eax, dword [esp + 0x28]
sub edi, 4
dec eax
test eax, eax
mov dword [esp + 0x28], eax
jg 0x4a8cd0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xe0]
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x4a8d19
cmp byte [eax + ebp - 1], 0x6d
jne 0x4a8d19
dec eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + ecx*4]
mov dword [esp + 0x10], edi
lea ecx, [edi + ebp + 1]
call fcn.004ca6b0
test eax, eax
je 0x4a8d51
lea eax, [edi + ebp]
push eax
call fcn.004aaf10
add esp, 4
add edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 1
jmp 0x4a8d59
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
cmp edi, eax
jle 0x4a8d74
mov ecx, edi
sub ecx, eax
add eax, ebp
push ecx
push eax
lea ecx, [esi + 0xb8]
call fcn.00473d50
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a8daf
mov eax, dword [esi + 0xc8]
lea ecx, [esi + 0x54]
push eax
call fcn.00473750
mov dl, byte [edi + ebp + 7]
mov ecx, dword [esp + 0xe4]
lea eax, [edi + ebp]
and edx, 1
push edx
mov edx, dword [esp + 0x2c]
push esi
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ebx
call fcn.004a8430
lea ecx, [esp + 0xb8]
call fcn.00473490
lea ecx, [esp + 0x90]
mov dword [esp + 0xd4], 0x1e
call fcn.00473490
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 0x1f
call fcn.00473490
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd4], 0x20
call fcn.00473490
lea eax, [esi + 0x54]
lea ecx, [esp + 0xb8]
push eax
mov byte [esp + 0xd8], 0x21
call fcn.00473930
lea edi, [esi + 0x7c]
lea ecx, [esp + 0x90]
push edi
call fcn.00473930
lea eax, [esi + 0x90]
lea ecx, [esp + 0x7c]
push eax
call fcn.00473930
lea eax, [esi + 0xa4]
lea ecx, [esp + 0xa4]
push eax
call fcn.00473930
mov eax, dword [ebx + 0x8c]
test eax, eax
jne 0x4a8e50
xor ebp, ebp
jmp 0x4a8e56
mov ebp, dword [ebx + 0x84]
mov eax, dword [ebx + 0x8c]
shr eax, 2
test eax, eax
jle 0x4a8e94
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x4a8e86
cmp eax, dword [esp + 0x10]
jge 0x4a8e86
mov edx, dword [esp + 0x1c]
mov ecx, edi
sub eax, edx
push eax
call fcn.00473750
mov eax, dword [esp + 0x14]
add ebp, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x4a8e67
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x98]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, edi
and eax, ebp
push eax
call fcn.00473d50
lea ecx, [esp + 0x90]
call fcn.00473690
mov eax, dword [ebx + 0xa0]
test eax, eax
jne 0x4a8ecd
xor edi, edi
jmp 0x4a8ed3
mov edi, dword [ebx + 0x98]
mov eax, dword [ebx + 0xa0]
shr eax, 2
test eax, eax
jle 0x4a8f12
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
cmp eax, ebp
jl 0x4a8f02
cmp eax, dword [esp + 0x10]
jge 0x4a8f02
sub eax, ebp
lea ecx, [esi + 0x90]
push eax
call fcn.00473750
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x4a8ee8
jmp 0x4a8f16
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x84]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
lea ecx, [esi + 0x90]
and eax, edi
push eax
call fcn.00473d50
lea ecx, [esp + 0x7c]
call fcn.00473690
mov eax, dword [ebx + 0xb4]
test eax, eax
jne 0x4a8f50
xor edi, edi
jmp 0x4a8f56
mov edi, dword [ebx + 0xac]
mov eax, dword [ebx + 0xb4]
shr eax, 2
test eax, eax
jle 0x4a8f8f
mov dword [esp + 0x14], eax
mov eax, dword [edi]
cmp eax, ebp
jl 0x4a8f81
cmp eax, dword [esp + 0x10]
jge 0x4a8f81
sub eax, ebp
lea ecx, [esi + 0xa4]
push eax
call fcn.00473750
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x4a8f67
mov ecx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
lea ecx, [esi + 0xa4]
and eax, ebp
push eax
call fcn.00473d50
lea ecx, [esp + 0xa4]
call fcn.00473690
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0xe0]
mov eax, dword [esp + 0x2c]
sub edi, ecx
test eax, eax
je 0x4a8fdf
mov eax, dword [esp + 0x10]
inc edi
sub eax, 2
mov dword [esp + 0x10], eax
test edi, edi
jle 0x4a9019
mov ecx, dword [esp + 0x34]
lea eax, [edi*4]
push eax
lea ebp, [esi + 0x54]
push ecx
mov ecx, ebp
call fcn.00473d50
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a9005
xor ebp, ebp
jmp 0x4a9008
mov ebp, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
neg edx
push edx
push edi
push ebp
call fcn.004dfec0
add esp, 0xc
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0xc0]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
lea ecx, [esi + 0x54]
and eax, edi
push eax
call fcn.00473d50
lea ecx, [esp + 0xb8]
call fcn.00473690
lea ecx, [esp + 0x38]
call fcn.00473490
mov eax, dword [ebx + 0x78]
mov byte [esp + 0xd4], 0x22
test eax, eax
jne 0x4a9061
xor ebp, ebp
jmp 0x4a9064
mov ebp, dword [ebx + 0x70]
mov ebx, dword [ebx + 0x78]
mov eax, 0x38e38e39
mul ebx
shr edx, 1
test edx, edx
mov dword [esp + 0x2c], ebp
jle 0x4a9140
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 1]
mov cl, byte [ebp]
mov dword [esp + 0x18], eax
mov edi, dword [ebp + 5]
cmp eax, edx
mov byte [esp + 0x28], cl
jg 0x4a912a
cmp edi, ebx
jl 0x4a912a
cmp eax, ebx
jl 0x4a90e2
cmp edi, edx
jg 0x4a90e2
mov eax, dword [esp + 0x28]
lea ebp, [esi + 0x68]
push eax
mov ecx, ebp
call fcn.004737d0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
sub ecx, ebx
push ecx
mov ecx, ebp
call fcn.00473750
sub edi, ebx
mov ecx, ebp
push edi
call fcn.00473750
mov ebp, dword [esp + 0x2c]
jmp 0x4a9122
cmp cl, 3
je 0x4a90ec
cmp cl, 2
jne 0x4a90f4
cmp eax, ebx
jge 0x4a90f4
cmp edi, edx
jg 0x4a912a
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push edx
call fcn.004737d0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
sub eax, ebx
lea ecx, [esp + 0x38]
push eax
call fcn.00473750
sub edi, ebx
lea ecx, [esp + 0x38]
push edi
call fcn.00473750
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebp, 9
dec eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], eax
jne 0x4a9088
mov edi, dword [esp + 0x48]
test edi, edi
jle 0x4a916a
mov eax, 0x38e38e39
mov ecx, dword [esp + 0x40]
mul edi
push 0x4a8690
push 9
shr edx, 1
push edx
push ecx
call fcn.0050404e
mov edi, dword [esp + 0x58]
add esp, 0x10
mov eax, 0x38e38e39
mul edi
shr edx, 1
lea ecx, [edx - 1]
test ecx, ecx
mov dword [esp + 0x2c], ecx
jl 0x4a9796
jmp 0x4a9188
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov eax, edi
neg eax
sbb eax, eax
and eax, ebp
lea edx, [eax + ecx*8]
mov eax, ecx
mov cl, byte [eax + edx]
add eax, edx
mov byte [esp + 0x28], cl
mov edx, dword [esp + 0x28]
mov ecx, dword [eax + 1]
and edx, 0xff
mov dword [esp + 0x18], ecx
mov ebp, dword [eax + 5]
lea eax, [edx - 1]
cmp eax, 3
ja case.default.0x4a91c2
jmp dword [eax*4 + 0x4a9834]
xor ebp, ebp
cmp ecx, ebp
jge 0x4a9271
mov eax, dword [esi + 0xc8]
lea ebx, [esi + 0xb8]
cmp eax, ebp
jne 0x4a91e7
xor edi, edi
jmp 0x4a91ea
mov edi, dword [ebx + 8]
mov dword [esp + 0x14], ebp
push edi
mov ecx, esi
call fcn.004ccc40
mov ebp, eax
cmp ebp, 0xffffffff
je case.default.0x4a91c2
mov cl, byte [edi + ebp]
mov byte [esp + 0x27], cl
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a9213
xor eax, eax
jmp 0x4a9216
mov eax, dword [ebx + 8]
sub edi, eax
xor eax, eax
add ebp, edi
cmp cl, 0x51
sete al
inc eax
lea edx, [esp + 0x38]
mov edi, eax
mov ecx, edi
neg ecx
push ecx
mov ecx, dword [esp + 0x34]
push ebp
push edx
push esi
call fcn.004a9880
push edi
push ebp
mov ecx, ebx
call fcn.00473ed0
cmp byte [esp + 0x27], 0x51
je case.default.0x4a91c2
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a9259
xor edi, edi
jmp 0x4a925c
mov edi, dword [ebx + 8]
mov eax, dword [esp + 0x14]
add edi, ebp
inc eax
cmp eax, 1
mov dword [esp + 0x14], eax
jle 0x4a91ee
jmp case.default.0x4a91c2
mov eax, dword [esi + 0xc8]
lea edi, [esi + 0xb8]
cmp eax, ebp
jne 0x4a9285
xor edx, edx
jmp 0x4a9288
mov edx, dword [edi + 8]
mov eax, dword [esi + 0xc8]
lea ebx, [eax + edx]
mov eax, dword [edi + 0x10]
cmp eax, ebp
je 0x4a929b
mov ebp, dword [edi + 8]
lea ebp, [ecx + ebp + 1]
mov ecx, ebp
call fcn.004ca4e0
add ebp, eax
cmp ebp, ebx
jb 0x4a92c8
mov ebx, dword [esp + 0x20]
push 0
push ebx
mov ecx, esi
call fcn.004ccf80
push 0x50
mov ecx, edi
call fcn.004737d0
push 0
push ebx
jmp 0x4a92e5
push ebp
mov ecx, esi
call fcn.004ccc40
cmp eax, 0xffffffff
jne 0x4a92ec
push 0x50
mov ecx, edi
call fcn.004737d0
mov eax, dword [esp + 0x20]
push 0
push eax
mov ecx, esi
call fcn.004ccf80
push 0x7251
mov ecx, edi
call fcn.00473790
lea edi, [esi + 0x68]
push 1
jmp 0x4a9382
test ecx, ecx
jge 0x4a9351
mov eax, dword [esi + 0xc8]
lea ebx, [esi + 0xb8]
test eax, eax
jne 0x4a931a
xor eax, eax
jmp 0x4a931d
mov eax, dword [ebx + 8]
push eax
mov ecx, esi
call fcn.004cccb0
mov edi, eax
cmp edi, 0xffffffff
je case.default.0x4a91c2
mov ecx, dword [esp + 0x30]
push 0xfffffffffffffffe
lea eax, [esp + 0x3c]
push edi
push eax
push esi
call fcn.004a9880
push 2
push edi
mov ecx, ebx
call fcn.00473ed0
jmp case.default.0x4a91c2
mov eax, dword [esi + 0xc8]
lea edi, [esi + 0xb8]
test eax, eax
jne 0x4a9365
xor eax, eax
jmp 0x4a9368
mov eax, dword [edi + 8]
lea ecx, [eax + ecx + 1]
call fcn.004ca4e0
push 0x7352
mov ecx, edi
call fcn.00473790
lea edi, [esi + 0x68]
push 2
mov ecx, edi
call fcn.004737d0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00473750
mov eax, dword [esi + 0xc8]
mov ecx, edi
dec eax
push eax
call fcn.00473750
mov edx, dword [esp + 0x20]
push 0
push edx
mov ecx, esi
call fcn.004ccf80
jmp case.default.0x4a91c2
mov eax, dword [esi + 0xc8]
lea ebx, [esi + 0xb8]
test ecx, ecx
jge 0x4a948b
test eax, eax
jne 0x4a93d3
xor edi, edi
jmp 0x4a93d6
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x54]
call fcn.00473490
push 0x70
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 0x23
call fcn.004737d0
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + ebp + 1]
dec eax
mov dx, word [edi + ebp + 5]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 2
dec ecx
push eax
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, esi
call fcn.004cd110
test ebp, ebp
jne 0x4a9428
push 0x55
lea ecx, [esp + 0x58]
call fcn.004737d0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov edi, ecx
and eax, edx
mov ecx, ebx
push eax
push 0
call fcn.00473cb0
push edi
lea ecx, [esp + 0x3c]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push esi
call fcn.004a9880
lea edx, [esp + 0x18]
push 4
push edx
push 0
lea ecx, [esi + 0x54]
mov dword [esp + 0x24], 0
add ebp, edi
call fcn.00473cb0
mov byte [esp + 0xd4], 0x22
mov dword [esp + 0x54], 0x54d7d0
lea ecx, [esp + 0x54]
jmp 0x4a951a
test eax, eax
jne 0x4a9493
xor edi, edi
jmp 0x4a9496
mov edi, dword [ebx + 8]
lea edi, [edi + ecx + 1]
lea ecx, [esp + 0x68]
call fcn.00473490
push 0x7155
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd8], 0x24
call fcn.00473790
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
dec eax
mov dx, word [edi + 4]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 2
inc ecx
push eax
push ecx
lea eax, [esp + 0x70]
push edx
push eax
mov ecx, esi
call fcn.004cd110
mov ecx, dword [esp + 0x78]
mov ebp, dword [esi + 0xc8]
mov edi, dword [esp + 0x70]
mov eax, ecx
inc ebp
push ecx
neg eax
sbb eax, eax
mov ecx, ebx
and eax, edi
push eax
call fcn.00473d50
push ebp
lea ecx, [esi + 0x54]
call fcn.00473750
mov byte [esp + 0xd4], 0x22
mov dword [esp + 0x68], 0x54d7d0
lea ecx, [esp + 0x68]
call fcn.00473690
lea edi, [esi + 0x68]
push 3
mov ecx, edi
call fcn.004737d0
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x4a9778
mov eax, dword [esi + 0xc8]
lea ebx, [esi + 0xb8]
xor edx, edx
cmp ebp, eax
mov eax, dword [ebx + 0x10]
setl dl
test eax, eax
mov dword [esp + 0x14], edx
jne 0x4a9557
xor eax, eax
jmp 0x4a955a
mov eax, dword [ebx + 8]
test ecx, ecx
mov dword [esp + 0x10], eax
jl 0x4a9568
add eax, ecx
mov dword [esp + 0x10], eax
cmp byte [eax], 0x6d
jne 0x4a9575
test ecx, ecx
jl 0x4a9575
xor edi, edi
jmp 0x4a9590
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004ccd30
mov edi, eax
cmp edi, 0xffffffff
je case.default.0x4a91c2
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor edx, edx
add eax, edi
test ecx, ecx
setl dl
dec edx
mov dword [esp + 0x10], eax
and edx, ecx
add edi, edx
xor edx, edx
mov dl, byte [eax]
mov eax, edx
add eax, 0xffffffad
cmp eax, 0x1b
ja case.0x4a95c0.87
xor edx, edx
mov dl, byte [eax + 0x4a9858]
jmp dword [edx*4 + 0x4a9844]
mov ecx, dword [esp + 0x30]
push 1
lea eax, [esp + 0x3c]
push edi
push eax
push esi
mov dword [esp + 0x28], edi
call fcn.004a9880
lea ecx, [esp + 0x27]
push 1
push ecx
push edi
mov ecx, ebx
mov byte [esp + 0x33], 0x6d
call fcn.00473cb0
cmp dword [esp + 0x14], 1
jne 0x4a968c
inc ebp
jmp 0x4a968c
mov eax, dword [esp + 0x10]
cmp byte [eax + 1], 0x6e
jne 0x4a9617
mov byte [eax], 0x6d
mov ecx, edi
mov dword [esp + 0x18], ecx
jmp case.0x4a95c0.87
mov ecx, dword [esp + 0x30]
push 0xfffffffffffffffe
lea edx, [esp + 0x3c]
push edi
push edx
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.004a9880
push 2
push edi
mov ecx, ebx
call fcn.00473ed0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a9646
xor eax, eax
jmp 0x4a9649
mov eax, dword [ebx + 8]
add eax, edi
push 0
push eax
mov ecx, esi
call fcn.004ccb60
cmp eax, 0xffffffff
je 0x4a968c
lea edi, [eax + edi - 1]
push 0xfffffffffffffffe
lea eax, [esp + 0x3c]
push edi
push eax
jmp 0x4a9678
push 0xfffffffffffffffe
lea ecx, [esp + 0x3c]
push edi
mov dword [esp + 0x20], 0xffffffff
push ecx
mov ecx, dword [esp + 0x3c]
push esi
call fcn.004a9880
push 2
push edi
mov ecx, ebx
call fcn.00473ed0
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je case.default.0x4a91c2
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a9767
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a96b0
xor edi, edi
jmp 0x4a96b3
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
lea edi, [edi + ecx + 1]
test eax, eax
jne 0x4a96c2
xor ecx, ecx
jmp 0x4a96c5
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 0xc8]
lea ebp, [eax + ecx]
cmp byte [edi], 0x6f
je 0x4a9746
inc edi
mov ecx, edi
call fcn.004ca4e0
add edi, eax
cmp edi, ebp
jae 0x4a96f8
push 0
push edi
mov ecx, esi
call fcn.004ccb60
test eax, eax
jl 0x4a96f3
add edi, eax
jmp 0x4a96ce
cmp eax, 0xfffffffe
jne 0x4a9708
mov edi, dword [esp + 0x20]
push 0
push edi
mov ecx, esi
call fcn.004ccf80
jmp 0x4a970c
mov edi, dword [esp + 0x20]
push 0x6f53
mov ecx, ebx
call fcn.00473790
push 0
push edi
mov ecx, esi
call fcn.004ccf80
push 0x7454
mov ecx, ebx
call fcn.00473790
mov ebp, dword [esi + 0xc8]
push 0
push edi
mov ecx, esi
dec ebp
call fcn.004ccf80
cmp ebp, 0xffffffff
jne 0x4a9767
jmp 0x4a974a
mov edi, dword [esp + 0x20]
push 0x7454
mov ecx, ebx
call fcn.00473790
mov ebp, dword [esi + 0xc8]
push 0
push edi
mov ecx, esi
dec ebp
call fcn.004ccf80
lea edi, [esi + 0x68]
push 4
mov ecx, edi
call fcn.004737d0
mov edx, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.00473750
push ebp
mov ecx, edi
call fcn.00473750
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jns 0x4a9184
mov esi, 0x54d7d0
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], 0x21
mov dword [esp + 0x38], esi
call fcn.00473690
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd4], 0x20
mov dword [esp + 0xa4], esi
call fcn.00473690
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 0x1f
mov dword [esp + 0x7c], esi
call fcn.00473690
lea ecx, [esp + 0x90]
mov byte [esp + 0xd4], 0x1e
mov dword [esp + 0x90], esi
call fcn.00473690
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xb8], esi
call fcn.00473690
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 0x14