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

Disassembly:
push 0xffffffffffffffff
push 0x5ed268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [esp + 0xd4]
push esi
push edi
xor edi, edi
mov esi, dword [eax + 8]
cmp esi, edi
mov dword [esp + 0x48], esi
je 0x4a3ac4
mov ecx, 0x75757575
lea edx, [esp + 0xa8]
mov dword [esp + 0x70], ecx
push 8
lea eax, [esp + 0x61]
mov dword [esp + 0x78], ecx
push edx
push eax
mov word [esp + 0x84], cx
mov dword [esp + 0xb4], edi
mov word [esp + 0xb8], 0xffff
mov word [esp + 0xba], di
mov byte [esp + 0x68], 0x6a
call fcn.00492780
lea ecx, [esp + 0x71]
push 8
push ecx
call fcn.004927e0
add esp, 0x14
lea ecx, [esp + 0x94]
mov byte [esp + 0x6d], 0x36
mov byte [esp + 0x6e], 1
call fcn.004918b0
lea ecx, [esp + 0x80]
mov dword [esp + 0xd0], edi
call fcn.004918b0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], 1
call fcn.004918b0
cmp esi, edi
mov byte [esp + 0xd0], 2
mov dword [esp + 0x30], edi
jle 0x4a3a6b
push ebx
push ebp
mov eax, dword [esp + 0xe0]
xor edx, edx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xe4]
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx + eax*4]
mov dword [esp + 0x40], ebx
mov ecx, dword [ebx + 0x68]
shr ecx, 2
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x68]
cmp ecx, edx
jne 0x4a221b
xor ecx, ecx
jmp 0x4a221e
mov ecx, dword [ebx + 0x60]
mov esi, dword [ebx + 0xcc]
mov dword [esp + 0x30], ecx
cmp esi, edx
jne 0x4a2232
mov dword [esp + 0x10], edx
jmp 0x4a223c
mov esi, dword [ebx + 0xc4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xec]
mov dword [esp + 0xac], edx
mov dword [esp + 0x2c], edx
mov esi, dword [esi + 8]
mov edi, dword [edi + 8]
mov esi, dword [esi + eax*4]
mov ebp, dword [edi + eax*4]
cmp esi, edx
mov edi, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + ebp*4]
mov dword [esp + 0x18], edi
mov edi, esi
jle 0x4a22ab
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
add eax, ecx
mov ecx, ebx
push eax
call fcn.004ee940
cmp eax, 1
je 0x4a22a5
mov ecx, dword [esp + 0x24]
dec edi
sub ecx, 4
test edi, edi
mov dword [esp + 0x24], ecx
jg 0x4a227c
mov ecx, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ecx + edi*4]
cmp edi, esi
mov dword [esp + 0xcc], edx
je 0x4a2324
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xbc]
push edx
mov edx, dword [esp + 0x20]
push eax
push edx
push ecx
push ebx
call fcn.004ca290
mov eax, dword [esp + 0x48]
add esp, 0x14
cmp esi, eax
jge 0x4a2309
mov eax, dword [esp + 0x30]
lea edi, [eax + esi*4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
add ecx, eax
push ecx
mov ecx, ebx
call fcn.004ee940
cmp eax, 1
je 0x4a2305
mov eax, dword [esp + 0x34]
inc esi
add edi, 4
cmp esi, eax
jl 0x4a22e4
cmp esi, dword [esp + 0x34]
je 0x4a231c
cmp esi, ebp
jg 0x4a231c
mov edx, dword [esp + 0x30]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x1c], eax
jmp 0x4a2324
mov dword [esp + 0x1c], 0xffffffff
test ebp, ebp
jle 0x4a234e
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
lea esi, [ecx + ebp*4]
mov edx, dword [esi]
mov ecx, ebx
add edx, edi
push edx
call fcn.004ee940
cmp eax, 1
je 0x4a2352
dec ebp
sub esi, 4
test ebp, ebp
jg 0x4a2333
jmp 0x4a2352
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + ebp*4]
lea ecx, [edi + ebp]
push ecx
call fcn.004cb5c0
mov ecx, dword [esp + 0xd0]
add ebp, eax
mov eax, 0x38e38e39
mov esi, dword [esp + 0xc8]
mul ecx
add esp, 4
mov dword [esp + 0x18], ebp
shr edx, 1
neg ecx
sbb ecx, ecx
mov dword [esp + 0x48], edx
and ecx, esi
mov byte [esp + 0x3f], 0x16
test edx, edx
jle 0x4a2694
add ecx, 0xa
mov dword [esp + 0x4c], 1
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx - 9]
mov ebp, dword [ecx - 5]
mov al, byte [ecx - 0xa]
mov dword [esp + 0x44], edi
lea edx, [edi + ebp]
cmp al, 1
mov dword [esp + 0x84], ebp
mov dword [esp + 0x30], edx
jne 0x4a23e5
mov eax, dword [esp + 0x20]
lea esi, [ebx + 0xbc]
push eax
push ebp
push edi
mov ecx, esi
call fcn.0050c4e0
mov dword [esp + 0x24], edi
jmp 0x4a240f
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x3f]
push ecx
push 1
push edx
lea esi, [ebx + 0xbc]
push ebp
push edi
mov ecx, esi
call fcn.0050c440
dec ebp
lea eax, [edi + 1]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a2420
mov dword [esp + 0x10], 0
jmp 0x4a2427
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp eax, edx
jge 0x4a2449
mov ecx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [ecx]
cmp eax, edi
jle 0x4a2443
sub eax, ebp
mov dword [ecx], eax
add ecx, 9
dec edx
jne 0x4a2439
mov eax, dword [ebx + 0x68]
test eax, eax
jne 0x4a2454
xor edi, edi
jmp 0x4a2457
mov edi, dword [ebx + 0x60]
mov eax, dword [ebx + 0x68]
xor esi, esi
shr eax, 2
xor ecx, ecx
mov dword [esp + 0x28], 0xffffffff
test eax, eax
jle 0x4a252a
mov edx, dword [edi]
mov ebp, dword [esp + 0x30]
cmp edx, ebp
jge 0x4a2495
cmp edx, dword [esp + 0x24]
jl 0x4a248d
cmp dword [esp + 0x28], 0xffffffff
jne 0x4a248c
mov dword [esp + 0x28], ecx
inc esi
inc ecx
add edi, 4
cmp ecx, eax
jl 0x4a2471
test esi, esi
jle 0x4a252a
mov eax, dword [esp + 0x28]
lea edx, [esi*4]
push edx
lea ecx, [eax*4]
push ecx
lea ecx, [ebx + 0x58]
call fcn.004922f0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
lea eax, [edx + 1]
cmp eax, ecx
jge 0x4a252a
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 4]
cmp ebx, dword [edx + eax*4]
jne 0x4a2521
mov ebp, dword [esp + 0xe8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x28]
jle 0x4a2521
sub ecx, esi
test eax, eax
jl 0x4a2506
mov ebp, dword [ebp + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x4a2506
mov dword [edx], ecx
mov edx, dword [edi + 8]
mov ecx, dword [edx + eax*4]
lea edx, [edx + eax*4]
sub ecx, esi
test eax, eax
jl 0x4a2521
mov ebp, dword [edi + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x4a2521
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jl 0x4a24cf
mov eax, dword [ebx + 0x90]
lea edi, [ebx + 0x80]
test eax, eax
jne 0x4a253e
xor ecx, ecx
jmp 0x4a2541
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x90]
shr eax, 2
dec eax
js 0x4a2586
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x4a2580
cmp eax, dword [esp + 0x30]
jge 0x4a2580
push 4
push esi
mov ecx, edi
call fcn.004922f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a257d
xor ecx, ecx
jmp 0x4a2580
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4a2557
mov eax, dword [ebx + 0xa4]
lea edi, [ebx + 0x94]
test eax, eax
jne 0x4a259a
xor ecx, ecx
jmp 0x4a259d
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xa4]
shr eax, 2
dec eax
js 0x4a25e2
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x4a25dc
cmp eax, dword [esp + 0x30]
jge 0x4a25dc
push 4
push esi
mov ecx, edi
call fcn.004922f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a25d9
xor ecx, ecx
jmp 0x4a25dc
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4a25b3
mov eax, dword [ebx + 0xb8]
lea edi, [ebx + 0xa8]
test eax, eax
jne 0x4a25f6
xor ecx, ecx
jmp 0x4a25f9
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xb8]
shr eax, 2
dec eax
test eax, eax
jl 0x4a2640
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x44]
cmp eax, edx
jl 0x4a263a
cmp eax, dword [esp + 0x30]
jge 0x4a263a
push 4
push esi
mov ecx, edi
call fcn.004922f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2637
xor ecx, ecx
jmp 0x4a263a
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4a2611
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
mov eax, esi
neg eax
push eax
push ecx
mov ecx, ebx
call fcn.004ec550
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x4a2673
mov ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, esi
sub eax, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
inc eax
mov dword [esp + 0x4c], eax
add edx, 9
dec eax
mov dword [esp + 0x34], edx
cmp eax, ecx
jl 0x4a23a8
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x4a3a54
test eax, eax
jle 0x4a26b5
mov edx, dword [esp + 0x10]
cmp byte [eax + edx - 1], 0x6d
jne 0x4a26b5
dec eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x7c]
mov eax, 0x38e38e39
mul ecx
mov esi, edx
mov eax, ecx
shr esi, 1
test eax, eax
jne 0x4a26cd
xor eax, eax
jmp 0x4a26d0
mov eax, dword [ebx + 0x74]
push 0x4c8f40
push 9
push esi
push eax
call fcn.0052fc29
lea eax, [esi - 1]
add esp, 0x10
test eax, eax
mov dword [esp + 0x34], eax
jl 0x4a310f
jmp 0x4a26f6
mov eax, dword [esp + 0x34]
lea edi, [eax + eax*8]
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x7c]
test eax, eax
jne 0x4a2708
xor eax, eax
jmp 0x4a270b
mov eax, dword [ebx + 0x74]
mov cl, byte [eax + edi]
add eax, edi
inc eax
mov byte [esp + 0x60], cl
mov esi, dword [eax]
mov ebp, dword [eax + 4]
add eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp esi, eax
jge case.default.0x4a2764
cmp ebp, dword [esp + 0x1c]
jl case.default.0x4a2764
cmp cl, 3
je 0x4a2741
cmp cl, 2
jne 0x4a2751
cmp esi, dword [esp + 0x1c]
jge 0x4a2751
cmp ebp, dword [esp + 0x18]
jge case.default.0x4a2764
mov eax, dword [esp + 0x60]
and eax, 0xff
dec eax
cmp eax, 3
ja case.default.0x4a2764
jmp dword [eax*4 + 0x4a3adc]
mov eax, dword [ebx + 0x68]
test eax, eax
jne 0x4a2776
xor eax, eax
jmp 0x4a2779
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x68]
push esi
shr ecx, 2
push ecx
push eax
call fcn.004926e0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x44], eax
je 0x4a2804
mov ecx, dword [ebx + 0x68]
mov edi, eax
mov eax, dword [ebx + 0x68]
inc edi
shr eax, 2
test ecx, ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
jne 0x4a27af
xor ecx, ecx
jmp 0x4a27b2
mov ecx, dword [ebx + 0x60]
cmp edi, eax
jge 0x4a27ea
lea edx, [ecx + edi*4]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
add ecx, eax
push ecx
mov ecx, ebx
call fcn.004ee940
cmp eax, 1
je 0x4a27ea
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x4c], ecx
jl 0x4a27bd
mov eax, dword [esp + 0x44]
lea ecx, [ebx + 0x58]
sub edi, eax
shl edi, 2
lea edx, [eax*4]
push edi
push edx
call fcn.004922f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push 9
push eax
add ecx, 0x6c
call fcn.004922f0
mov ebx, dword [esp + 0x10]
lea ecx, [esi + ebx + 1]
call fcn.004eb460
mov dx, word [esi + ebx + 7]
mov edi, eax
mov eax, dword [esp + 0x20]
and edx, 0x87a4
mov word [esp + 0x6b], dx
mov edx, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x68]
inc edi
push 0x13
push ecx
push edi
push esi
lea ecx, [edx + 0xbc]
call fcn.0050c440
lea ebx, [esi + 0x13]
lea esi, [edi - 0x13]
test esi, esi
jle 0x4a2898
mov edi, dword [esp + 0x40]
push 0
push esi
push ebx
mov ecx, edi
call fcn.004ec630
mov eax, esi
mov ecx, edi
neg eax
push eax
push ebx
call fcn.004ec550
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jge 0x4a2888
sub eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp ebx, eax
jge 0x4a2896
sub eax, esi
mov dword [esp + 0x18], eax
sub ebp, esi
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0xcc]
lea edi, [ecx + 0xbc]
test eax, eax
jne 0x4a28b0
xor ebx, ebx
jmp 0x4a28b3
mov ebx, dword [edi + 8]
lea ecx, [ebx + ebp + 1]
call fcn.004eb460
mov dx, word [ebx + ebp + 7]
mov esi, eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x64]
push eax
inc esi
push 0x13
push ecx
and edx, 0x87a4
push esi
push ebp
mov ecx, edi
mov word [esp + 0x7f], dx
call fcn.0050c440
add esi, 0xffffffed
lea ebx, [ebp + 0x13]
test esi, esi
jle 0x4a2926
mov ecx, dword [esp + 0x40]
push 0
push esi
push ebx
call fcn.004ec630
mov ecx, dword [esp + 0x40]
mov edx, esi
neg edx
push edx
push ebx
call fcn.004ec550
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jge 0x4a2918
sub eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp ebx, eax
jge 0x4a2926
sub eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
dec ebp
cmp ebp, eax
jl 0x4a2946
cmp ebp, dword [esp + 0x18]
jge 0x4a2946
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
push 0x75
push ebp
call fcn.0050c560
jmp 0x4a2979
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebp
call fcn.004ec550
mov ecx, dword [esp + 0x20]
push ecx
push 1
push ebp
mov ecx, edi
call fcn.0050c4e0
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jge 0x4a2979
mov ecx, eax
mov eax, dword [esp + 0x18]
dec ecx
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x10]
xor eax, eax
cmp ecx, eax
jne 0x4a2994
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov word [esp + 0x6b], ax
jmp case.default.0x4a2764
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov word [esp + 0x6b], ax
jmp case.default.0x4a2764
cmp esi, dword [esp + 0x1c]
jl 0x4a2a1f
push 9
push edi
lea ecx, [ebx + 0x6c]
call fcn.004922f0
mov edi, dword [esp + 0x20]
push edi
push 0x6a
push esi
lea esi, [ebx + 0xbc]
mov ecx, esi
call fcn.0050c560
cmp ebp, dword [esp + 0x18]
jl 0x4a2a0b
dec ebp
push 0xfffffffffffffffe
push ebp
mov ecx, ebx
call fcn.004ec550
push edi
push 2
push ebp
mov ecx, esi
call fcn.0050c4e0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a29ff
mov dword [esp + 0x10], 0
jmp case.default.0x4a2764
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
jmp case.default.0x4a2764
push edi
dec ebp
push 0x7575
push ebp
mov ecx, esi
call fcn.0050c5d0
jmp case.default.0x4a2764
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push 2
lea esi, [ecx + edx]
mov ecx, ebx
push esi
call fcn.004ec550
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x78]
push eax
push 2
lea edi, [ebx + 0xbc]
push ecx
push esi
mov ecx, edi
call fcn.0050c360
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2a5f
mov dword [esp + 0x10], 0
jmp 0x4a2a66
mov edx, dword [edi + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc esi
add edx, 2
lea ecx, [esp + 0x54]
mov dword [eax], esi
push 2
mov dword [esp + 0x30], edx
mov byte [esp + 0x58], 0x52
mov byte [esp + 0x59], 0x73
push ecx
jmp 0x4a30f4
mov edx, dword [esp + 0x10]
lea edi, [esi + edx + 1]
mov ecx, edi
call fcn.004eb460
add edi, eax
push 0
push edi
mov ecx, ebx
call fcn.004ee240
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edi + eax - 1]
sub eax, edx
cmp esi, ecx
mov dword [esp + 0x24], eax
jl 0x4a2b7d
mov eax, dword [esp + 0x14]
push 9
push eax
lea ecx, [ebx + 0x6c]
call fcn.004922f0
mov edi, dword [esp + 0x20]
push edi
push 0x6a
push esi
lea esi, [ebx + 0xbc]
mov ecx, esi
call fcn.0050c560
cmp ebp, dword [esp + 0x18]
jl 0x4a2b1d
dec ebp
push 0xfffffffffffffffe
push ebp
mov ecx, ebx
call fcn.004ec550
push edi
push 2
push ebp
mov ecx, esi
call fcn.0050c4e0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a2b14
mov dword [esp + 0x10], 0
jmp 0x4a2b2c
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
jmp 0x4a2b2c
push edi
dec ebp
push 0x7575
push ebp
mov ecx, esi
call fcn.0050c5d0
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jl 0x4a2b6d
push 0xffffffffffffffff
push ebp
mov ecx, ebx
call fcn.004ec550
push edi
push 1
push ebp
mov ecx, esi
call fcn.0050c4e0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a2b61
mov dword [esp + 0x10], 0
jmp case.default.0x4a2764
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
jmp case.default.0x4a2764
push edi
push 0x75
push ebp
mov ecx, esi
call fcn.0050c560
jmp case.default.0x4a2764
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ebp, esi
jge 0x4a2c68
cmp eax, ecx
mov eax, dword [esp + 0x2c]
jl 0x4a2c02
add esi, eax
push 3
push esi
mov ecx, ebx
call fcn.004ec550
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push ecx
push 3
lea edi, [ebx + 0xbc]
push edx
push esi
mov ecx, edi
call fcn.0050c360
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2bcc
mov dword [esp + 0x10], 0
jmp 0x4a2bd3
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add esi, 2
add edx, 3
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x54]
mov dword [ecx], esi
push 3
mov byte [esp + 0x58], 0x50
mov byte [esp + 0x59], 0x51
mov byte [esp + 0x5a], 0x72
push edx
jmp 0x4a30f4
add esi, eax
push 2
push esi
mov ecx, ebx
call fcn.004ec550
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push ecx
push 2
lea edi, [ebx + 0xbc]
push edx
push esi
mov ecx, edi
call fcn.0050c360
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2c39
mov dword [esp + 0x10], 0
jmp 0x4a2c40
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc esi
add edx, 2
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x54]
mov dword [ecx], esi
push 2
mov byte [esp + 0x58], 0x51
mov byte [esp + 0x59], 0x72
push edx
jmp 0x4a30f4
cmp eax, ecx
jl case.default.0x4a2764
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jge case.default.0x4a2764
mov eax, ecx
mov ecx, dword [esp + 0x2c]
push 1
lea esi, [eax + ecx]
mov ecx, ebx
push esi
call fcn.004ec550
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push edx
push 1
push eax
push esi
lea esi, [ebx + 0xbc]
mov ecx, esi
call fcn.0050c360
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a2cba
mov dword [esp + 0x10], 0
jmp 0x4a2cc1
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
push 0x50
inc ecx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xa0]
call fcn.00491bb0
jmp case.default.0x4a2764
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
jl 0x4a2ed3
cmp ebp, dword [esp + 0x18]
jge 0x4a2cff
push 9
push edi
lea ecx, [ebx + 0x6c]
call fcn.004922f0
jmp case.default.0x4a2764
mov edx, dword [esp + 0x20]
lea edi, [ebx + 0xbc]
push edx
push 0x75
push esi
mov ecx, edi
call fcn.0050c560
mov eax, dword [esp + 0x10]
inc esi
cmp byte [esi + eax], 0x6e
jne 0x4a2e01
mov eax, dword [esp + 0x18]
mov ebp, esi
cmp esi, eax
jge 0x4a2dbf
mov ecx, dword [esp + 0x20]
push ecx
push 0x6a
push esi
mov ecx, edi
call fcn.0050c560
mov edx, dword [esp + 0x10]
inc esi
lea ecx, [esi + edx]
call fcn.004eb460
add esi, eax
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esi + eax]
push ecx
mov ecx, ebx
call fcn.004ee240
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x18]
cmp esi, eax
jl 0x4a2d9f
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004ec550
mov edx, dword [esp + 0x20]
mov ecx, edi
push edx
push 1
push esi
call fcn.0050c4e0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2d96
mov dword [esp + 0x10], 0
jmp 0x4a2daf
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
jmp 0x4a2daf
mov ecx, dword [esp + 0x20]
push ecx
push 0x75
push esi
mov ecx, edi
call fcn.0050c560
inc esi
mov edx, dword [esp + 0x10]
cmp byte [esi + edx], 0x6e
je 0x4a2d23
jmp 0x4a2e01
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
push 1
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x64], 0x6d
call fcn.0050c360
push 1
push esi
mov ecx, ebx
call fcn.004ec550
mov edx, dword [esp + 0x28]
mov dword [edx - 4], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2dfa
mov dword [esp + 0x10], 0
jmp 0x4a2e01
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x18]
jge case.default.0x4a2764
mov ecx, dword [esp + 0x14]
push 9
push ecx
lea ecx, [ebx + 0x6c]
call fcn.004922f0
mov edx, dword [esp + 0x10]
push 0
mov ecx, ebx
lea eax, [esi + edx + 1]
push eax
call fcn.004ee240
lea edi, [esi + eax]
mov eax, dword [esp + 0x18]
cmp edi, eax
jl 0x4a2e70
push 0xfffffffffffffffe
push edi
mov ecx, ebx
call fcn.004ec550
mov ebp, dword [esp + 0x20]
push ebp
push 2
push edi
lea edi, [ebx + 0xbc]
mov ecx, edi
call fcn.0050c4e0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2e67
mov dword [esp + 0x10], 0
jmp 0x4a2e88
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], ecx
jmp 0x4a2e88
mov ebp, dword [esp + 0x20]
push ebp
push 0x7575
push edi
lea edi, [ebx + 0xbc]
mov ecx, edi
call fcn.0050c5d0
cmp esi, dword [esp + 0x18]
jl 0x4a2ec3
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004ec550
push ebp
push 1
push esi
mov ecx, edi
call fcn.0050c4e0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2eb7
mov dword [esp + 0x10], 0
jmp case.default.0x4a2764
mov edx, dword [edi + 8]
mov dword [esp + 0x10], edx
jmp case.default.0x4a2764
push ebp
push 0x75
push esi
mov ecx, edi
call fcn.0050c560
jmp case.default.0x4a2764
mov ebp, dword [esp + 0x10]
inc esi
mov dword [esp + 0x24], 0
cmp byte [esi + ebp], 0x6e
jne 0x4a2fd7
jmp 0x4a2ef0
mov ecx, dword [esp + 0x1c]
cmp esi, dword [esp + 0x18]
jge 0x4a2fd3
cmp esi, ecx
jl 0x4a2f23
lea eax, [esi - 1]
mov edi, 1
cmp eax, ecx
jge 0x4a2f1a
cmp byte [esi + ebp - 1], 0x53
jne 0x4a2f1a
dec ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xb8], esi
jmp 0x4a2f25
xor edi, edi
inc esi
lea ecx, [esi + ebp]
call fcn.004eb460
add esi, eax
push 0
lea ecx, [esi + ebp]
push ecx
mov ecx, ebx
call fcn.004ee240
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x4a2f56
cmp esi, dword [esp + 0x18]
jge 0x4a2f56
mov eax, 1
jmp 0x4a2f58
xor eax, eax
cmp eax, edi
je 0x4a2fbc
mov eax, 1
cmp edi, eax
jne 0x4a2fb8
cmp dword [esp + 0x24], eax
jne 0x4a2f75
mov dword [esp + 0x24], 0
jmp 0x4a2fbc
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xb8]
push edi
lea ebp, [ebx + 0xbc]
push 0x6a
push edx
mov ecx, ebp
call fcn.0050c560
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.004ec550
push edi
push 1
push esi
mov ecx, ebp
call fcn.0050c4e0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a2fb2
xor ebp, ebp
dec esi
jmp 0x4a2fbc
mov ebp, dword [ebp + 8]
dec esi
jmp 0x4a2fbc
mov dword [esp + 0x24], eax
mov al, byte [esi + ebp + 1]
inc esi
cmp al, 0x6e
je 0x4a2eec
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
jmp 0x4a2fd7
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x24]
xor eax, eax
cmp edx, 1
mov dword [esp + 0x98], eax
jne 0x4a3002
push 0x53
lea ecx, [esp + 0x8c]
call fcn.00491bb0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x1c]
mov dl, byte [esi + ebp]
mov dword [esp + 0x30], 0xffffffff
cmp dl, 0x6e
je 0x4a3072
cmp esi, ecx
jl 0x4a302a
cmp esi, dword [esp + 0x18]
jge 0x4a302a
push 0x6f
lea ecx, [esp + 0x8c]
call fcn.00491bb0
inc esi
push 0
mov ecx, ebx
lea eax, [esi + ebp]
push eax
call fcn.004ee240
lea esi, [esi + eax - 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x4a306b
cmp esi, dword [esp + 0x18]
jge 0x4a306b
push 0x7454
lea ecx, [esp + 0x8c]
call fcn.00491b70
mov eax, dword [esp + 0x98]
lea ecx, [eax - 1]
mov dword [esp + 0x30], ecx
jmp 0x4a3072
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, eax
jle case.default.0x4a2764
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
push eax
mov ecx, ebx
lea esi, [edx + ebp]
push esi
call fcn.004ec550
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x78]
push eax
push edi
push ecx
push esi
lea esi, [ebx + 0xbc]
mov ecx, esi
call fcn.0050c360
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a30ba
mov dword [esp + 0x10], 0
jmp 0x4a30c1
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x4a30d8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add eax, ecx
add eax, ebp
mov dword [edx], eax
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x90]
add ebp, edi
push edi
neg eax
sbb eax, eax
mov dword [esp + 0x30], ebp
and eax, esi
push eax
lea ecx, [esp + 0xa4]
call fcn.00492170
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jns 0x4a26f2
mov eax, dword [ebx + 0x68]
test eax, eax
jne 0x4a311a
xor esi, esi
jmp 0x4a311d
mov esi, dword [ebx + 0x60]
mov eax, dword [ebx + 0x68]
xor edi, edi
shr eax, 2
xor ecx, ecx
mov dword [esp + 0x28], 0xffffffff
test eax, eax
mov dword [esp + 0x24], edi
jle 0x4a3206
mov edx, dword [esi]
mov ebp, dword [esp + 0x18]
cmp edx, ebp
jge 0x4a315f
cmp edx, dword [esp + 0x1c]
jl 0x4a3157
cmp dword [esp + 0x28], 0xffffffff
jne 0x4a3156
mov dword [esp + 0x28], ecx
inc edi
inc ecx
add esi, 4
cmp ecx, eax
jl 0x4a313b
test edi, edi
mov dword [esp + 0x24], edi
jle 0x4a3206
mov ecx, dword [esp + 0x28]
lea eax, [edi*4]
push eax
lea edx, [ecx*4]
lea ecx, [ebx + 0x58]
push edx
call fcn.004922f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jge 0x4a3206
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 4]
cmp ebx, dword [edx + eax*4]
jne 0x4a31fd
mov ecx, dword [esp + 0xe8]
mov esi, dword [edi + 8]
mov ebp, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + eax*4]
mov esi, dword [esi + eax*4]
cmp ecx, ebp
lea edx, [edx + eax*4]
jle 0x4a31fd
test eax, eax
jl 0x4a31fd
mov ebp, dword [esp + 0xe8]
mov ebp, dword [ebp + 0x10]
shr ebp, 2
cmp eax, ebp
jge 0x4a31e3
sub ecx, dword [esp + 0x24]
mov dword [edx], ecx
test eax, eax
jl 0x4a31fd
mov ecx, dword [edi + 0x10]
shr ecx, 2
cmp eax, ecx
jge 0x4a31fd
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 8]
sub esi, ecx
mov dword [edx + eax*4], esi
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
jl 0x4a319b
mov eax, dword [ebx + 0x90]
lea edi, [ebx + 0x80]
test eax, eax
jne 0x4a321a
xor ecx, ecx
jmp 0x4a321d
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x90]
shr eax, 2
dec eax
js 0x4a3262
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x4a325c
cmp eax, dword [esp + 0x18]
jge 0x4a325c
push 4
push esi
mov ecx, edi
call fcn.004922f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a3259
xor ecx, ecx
jmp 0x4a325c
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4a3233
mov eax, dword [ebx + 0xa4]
lea edi, [ebx + 0x94]
test eax, eax
jne 0x4a3276
xor ecx, ecx
jmp 0x4a3279
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xa4]
shr eax, 2
dec eax
js 0x4a32be
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x4a32b8
cmp eax, dword [esp + 0x18]
jge 0x4a32b8
push 4
push esi
mov ecx, edi
call fcn.004922f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a32b5
xor ecx, ecx
jmp 0x4a32b8
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4a328f
mov eax, dword [ebx + 0xb8]
lea edi, [ebx + 0xa8]
test eax, eax
jne 0x4a32d2
xor ecx, ecx
jmp 0x4a32d5
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0xb8]
shr eax, 2
dec eax
js 0x4a331a
lea esi, [eax*4]
lea ebp, [eax + 1]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x4a3314
cmp eax, dword [esp + 0x18]
jge 0x4a3314
push 4
push esi
mov ecx, edi
call fcn.004922f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a3311
xor ecx, ecx
jmp 0x4a3314
mov ecx, dword [edi + 8]
sub esi, 4
dec ebp
jne 0x4a32eb
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
sub esi, ebp
mov ecx, ebx
mov eax, esi
neg eax
push eax
push ebp
call fcn.004ec550
mov edi, dword [esp + 0x20]
push edi
push esi
lea esi, [ebx + 0xbc]
push ebp
mov ecx, esi
call fcn.0050c4e0
mov eax, dword [esp + 0xac]
test eax, eax
jle 0x4a3363
mov ecx, dword [esp + 0xa4]
push edi
push eax
push ecx
push eax
push ebp
mov ecx, esi
call fcn.0050c440
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a336e
xor edi, edi
jmp 0x4a3371
mov edi, dword [esi + 8]
mov ebp, dword [ebx + 0xcc]
test ebp, ebp
jle 0x4a338f
mov al, byte [edi + ebp - 1]
cmp al, 0x73
mov byte [esp + 0x3f], al
je 0x4a338f
cmp al, 0x72
je 0x4a338f
cmp al, 0x74
jne 0x4a33b9
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push edx
push 0x13
push eax
mov ecx, esi
call fcn.0050c3d0
push ebp
lea ecx, [ebx + 0x58]
call fcn.00491be0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4a33b6
xor edi, edi
jmp 0x4a33b9
mov edi, dword [esi + 8]
mov ecx, dword [ebx + 0x7c]
mov eax, 0x38e38e39
mul ecx
mov eax, ecx
shr edx, 1
test eax, eax
jne 0x4a33cf
xor eax, eax
jmp 0x4a33d8
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x28], ecx
mov eax, ecx
test edx, edx
jle 0x4a3a54
mov dword [esp + 0x48], edx
jmp 0x4a33ea
mov eax, dword [esp + 0x28]
mov cl, byte [eax]
mov esi, dword [eax + 1]
inc eax
mov byte [esp + 0x60], cl
add eax, 4
mov edx, dword [eax]
add eax, 4
cmp cl, 3
mov dword [esp + 0x28], eax
je 0x4a3a45
mov eax, dword [esp + 0x1c]
cmp esi, eax
jg 0x4a3a45
dec eax
cmp edx, eax
jl 0x4a3a45
mov eax, dword [esp + 0x60]
add esi, edi
and eax, 0xff
dec eax
je 0x4a37bb
dec eax
je 0x4a36d5
sub eax, 2
jne 0x4a3a45
mov al, byte [esi + 1]
inc esi
cmp al, 0x6e
jne 0x4a353a
inc esi
mov ecx, esi
call fcn.004eb460
add esi, eax
cmp byte [esi], 0x53
jne 0x4a3525
sub esi, edi
lea edi, [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a3473
xor eax, eax
jmp 0x4a3476
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x68]
push esi
shr edx, 2
push edx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push 0x13
lea ebp, [ebx + 0xbc]
push ecx
push edx
mov ecx, ebp
call fcn.0050c360
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004ec550
cmp esi, 0xffffffff
je 0x4a34f9
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.004920d0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004ca210
add esp, 0x18
jmp 0x4a3505
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00491be0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a3518
mov edx, dword [esp + 0x14]
xor edi, edi
lea esi, [edx + edi + 0x14]
jmp 0x4a3531
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
lea esi, [edx + edi + 0x14]
jmp 0x4a3531
push 0
push esi
mov ecx, ebx
call fcn.004ee240
add esi, eax
cmp byte [esi], 0x6e
je 0x4a344c
mov al, byte [esi + 1]
inc esi
cmp al, 0x54
jne 0x4a360c
sub esi, edi
lea edi, [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a355a
xor eax, eax
jmp 0x4a355d
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x68]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xbc]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.0050c360
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004ec550
cmp esi, 0xffffffff
je 0x4a35e0
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.004920d0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004ca210
add esp, 0x18
jmp 0x4a35ec
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00491be0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a35ff
mov ecx, dword [esp + 0x14]
xor edi, edi
lea esi, [ecx + edi + 0x14]
jmp 0x4a3618
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + edi + 0x14]
jmp 0x4a3618
push 0
push esi
mov ecx, ebx
call fcn.004ee240
add esi, eax
mov dl, byte [esi + 1]
inc esi
push edx
call fcn.004ea810
add esp, 4
cmp eax, 5
jne 0x4a3a45
sub esi, edi
lea edi, [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a3642
xor eax, eax
jmp 0x4a3645
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x68]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xbc]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.0050c360
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004ec550
cmp esi, 0xffffffff
je 0x4a36cb
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.004920d0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004ca210
add esp, 0x18
jmp 0x4a37a9
mov eax, dword [esp + 0x14]
push eax
jmp 0x4a37a2
inc esi
mov ecx, esi
call fcn.004eb460
add esi, eax
push 0
push esi
mov ecx, ebx
call fcn.004ee240
mov cl, byte [esi + eax + 1]
lea esi, [esi + eax + 1]
push ecx
call fcn.004ea810
add esp, 4
cmp eax, 5
jne 0x4a3a45
sub esi, edi
lea edi, [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a3717
xor eax, eax
jmp 0x4a371a
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x68]
push esi
shr edx, 2
push edx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push 0x13
lea ebp, [ebx + 0xbc]
push ecx
push edx
mov ecx, ebp
call fcn.0050c360
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004ec550
cmp esi, 0xffffffff
je 0x4a379d
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.004920d0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004ca210
add esp, 0x18
jmp 0x4a37a9
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00491be0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a3a42
xor edi, edi
jmp 0x4a3a45
inc esi
mov ecx, esi
call fcn.004eb460
add esi, eax
cmp byte [esi], 0x50
jne 0x4a3894
sub esi, edi
lea edi, [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a37e2
xor eax, eax
jmp 0x4a37e5
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x68]
push esi
shr edx, 2
push edx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push 0x13
lea ebp, [ebx + 0xbc]
push ecx
push edx
mov ecx, ebp
call fcn.0050c360
mov eax, dword [esp + 0x14]
push 0x13
push eax
mov ecx, ebx
call fcn.004ec550
cmp esi, 0xffffffff
je 0x4a3868
lea ecx, [esp + 0x14]
push 4
lea edx, [esi*4]
push ecx
push edx
mov ecx, edi
call fcn.004920d0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004ca210
add esp, 0x18
jmp 0x4a3874
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00491be0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a3887
mov edx, dword [esp + 0x14]
xor edi, edi
lea esi, [edx + edi + 0x14]
jmp 0x4a38a0
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
lea esi, [edx + edi + 0x14]
jmp 0x4a38a0
push 0
push esi
mov ecx, ebx
call fcn.004ee240
add esi, eax
cmp byte [esi], 0x51
jne 0x4a396f
sub esi, edi
lea edi, [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a38bd
xor eax, eax
jmp 0x4a38c0
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x68]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xbc]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.0050c360
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004ec550
cmp esi, 0xffffffff
je 0x4a3943
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.004920d0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004ca210
add esp, 0x18
jmp 0x4a394f
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00491be0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a3962
mov ecx, dword [esp + 0x14]
xor edi, edi
lea esi, [ecx + edi + 0x14]
jmp 0x4a397b
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + edi + 0x14]
jmp 0x4a397b
push 0
push esi
mov ecx, ebx
call fcn.004ee240
add esi, eax
mov dl, byte [esi + 1]
inc esi
push edx
call fcn.004ea810
add esp, 4
cmp eax, 5
jne 0x4a3a45
sub esi, edi
lea edi, [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a39a5
xor eax, eax
jmp 0x4a39a8
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x68]
push esi
shr ecx, 2
push ecx
push eax
call fcn.00409f20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x64]
lea ebp, [ebx + 0xbc]
push edx
push 0x13
push eax
push ecx
mov ecx, ebp
call fcn.0050c360
mov edx, dword [esp + 0x14]
push 0x13
push edx
mov ecx, ebx
call fcn.004ec550
cmp esi, 0xffffffff
je 0x4a3a2b
lea eax, [esp + 0x14]
push 4
lea ecx, [esi*4]
push eax
push ecx
mov ecx, edi
call fcn.004920d0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push ebx
call fcn.004ca210
add esp, 0x18
jmp 0x4a3a37
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00491be0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a3a42
xor edi, edi
jmp 0x4a3a45
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x4a33e6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x4a21de
pop ebp
pop ebx
mov esi, 0x5f7940
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], 1
mov dword [esp + 0xb4], esi
call fcn.00491ab0
lea ecx, [esp + 0x80]
mov byte [esp + 0xd0], 0
mov dword [esp + 0x80], esi
call fcn.00491ab0
lea ecx, [esp + 0x94]
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x94], esi
call fcn.00491ab0
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xcc
ret