Function at 0x4a85b0
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eae64
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
mov ebx, ecx
push ebp
push esi
lea ebp, [ebx + 0x90]
lea eax, [ebx + 0x80]
mov ecx, ebp
push edi
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, ebp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a864b
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8640
cmp word [ebp], 0x3f
jne 0x4aa285
cmp dword [ebp + 4], 1
jne 0x4aa285
mov edx, ebp
lea eax, [ebx + 0x80]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ebx + 0xa0]
mov ecx, eax
mov edx, ebp
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a86d4
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a86c9
mov ax, word [ebp]
xor esi, esi
mov edx, eax
mov dword [esp + 0x14], esi
and edx, 0xffff
mov dword [esp + 0x24], 0x3e
lea edi, [edx - 0x21]
cmp edi, 0x31
ja case.0x4a8702.41
xor ecx, ecx
mov cl, byte [edi + 0x4aa3ec]
jmp dword [ecx*4 + 0x4aa3c8]
mov dword [esp + 0x14], 1
mov edx, ebp
mov eax, dword [edx]
mov dword [ebx + 0x80], eax
mov ecx, dword [edx + 4]
mov dword [ebx + 0x84], ecx
mov eax, dword [edx + 8]
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0xa0]
mov ecx, dword [edx + 0xc]
mov edx, eax
mov dword [ebx + 0x8c], ecx
mov ecx, ebp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebx + 0xb0]
mov edx, dword [ebx + 0xb4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xb8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xbc]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.004a4510
test eax, eax
jne 0x4a878f
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8784
push 0xc
call fcn.004d6965
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0xac], 0
je 0x4a88e6
mov eax, dword [esp + 0xb4]
push 0
push 0
push 1
mov edi, dword [eax]
push 0
lea ecx, [esp + 0x3c]
and edi, 0xffffffef
call fcn.004a3630
mov cx, word [ebp]
cmp cx, word [eax]
jne 0x4a87f0
mov edx, dword [ebp + 4]
mov ecx, dword [eax + 4]
cmp edx, ecx
jne 0x4a87f0
push 0
mov ecx, ebx
call fcn.004a5450
jmp 0x4a88cd
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
mov dword [esp + 0x1c], edi
call fcn.004a5080
push 0
push 0
mov edi, eax
push 1
push 0x7c
lea ecx, [esp + 0x64]
mov dword [esp + 0x30], edi
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a88cb
push 0x14
call fcn.004d6965
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0xac], 1
je 0x4a884c
mov ecx, eax
call fcn.004aac30
mov esi, eax
jmp 0x4a884e
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
mov byte [esp + 0xb0], 0
call fcn.004ac410
mov ecx, dword [esp + 0x20]
lea edi, [esi + 4]
push ecx
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a88c3
mov ecx, ebx
call fcn.004a6c20
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.004a5080
push eax
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4a888b
mov eax, esi
mov esi, dword [esp + 0x1c]
jmp 0x4a88cd
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi], 0x7a1e68
test ecx, ecx
sete al
mov dword [esi + 8], eax
jmp 0x4a88e8
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ac410
mov ecx, ebx
mov edi, esi
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
lea eax, [ebx + 0xa0]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x21
je 0x4a8926
cmp ecx, 0x3d
je 0x4a892e
jmp case.0x4a8702.39
mov dword [esp + 0x14], 1
mov edx, ebp
lea ecx, [ebx + 0x80]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, eax
mov edx, ebp
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a899c
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8991
mov edx, ebp
lea eax, [ebx + 0x80]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ebx + 0xa0]
mov ecx, eax
mov edx, ebp
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a8a10
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8a05
push 0xc
call fcn.004d6965
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0xac], 2
je 0x4a8b62
mov edx, dword [esp + 0xb4]
push 0
push 0
push 1
mov edi, dword [edx]
push 0
lea ecx, [esp + 0x64]
or edi, 0x10
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a8a6a
push 0
mov ecx, ebx
call fcn.004a5450
jmp 0x4a8b47
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
mov dword [esp + 0x1c], edi
call fcn.004a5080
push 0
push 0
mov edi, eax
push 1
push 0x7c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edi
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a8b45
push 0x14
call fcn.004d6965
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0xac], 3
je 0x4a8ac6
mov ecx, eax
call fcn.004aac30
mov esi, eax
jmp 0x4a8ac8
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
mov byte [esp + 0xb0], 2
call fcn.004ac410
mov ecx, dword [esp + 0x20]
lea edi, [esi + 4]
push ecx
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a8b3d
mov ecx, ebx
call fcn.004a6c20
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.004a5080
push eax
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4a8b05
mov eax, esi
mov esi, dword [esp + 0x1c]
jmp 0x4a8b47
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi], 0x7a1e68
test ecx, ecx
sete al
mov dword [esi + 8], eax
mov edi, esi
jmp 0x4a8b64
xor edi, edi
push edi
lea ecx, [ebx + 0x14]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ac410
test edi, edi
jne 0x4aa277
cmp word [ebp], 0x50
jne case.0x4a8702.34
mov ecx, ebp
lea eax, [ebx + 0x80]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, ebp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne case.0x4a8702.34
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8bf0
mov ax, word [ebp]
cmp ax, 0x3c
jne 0x4a8c0f
mov dword [esp + 0x24], 0x3e
jmp 0x4a8c1d
cmp ax, 0x27
jne 0x4a8c1d
mov dword [esp + 0x24], 0x27
mov edx, ebp
lea eax, [ebx + 0x80]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ebx + 0xa0]
mov ecx, eax
mov edx, ebp
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a8c91
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8c86
mov eax, dword [ebx + 0xc]
push 0x18
mov dword [esp + 0x24], eax
inc eax
mov dword [ebx + 0xc], eax
call fcn.004d6965
mov edi, eax
add esp, 4
test edi, edi
je 0x4a8cd1
mov edx, dword [esp + 0xb4]
lea ecx, [edi + 4]
mov esi, dword [edx]
mov dword [edi], 0x7a1dbc
and esi, 0x10
call fcn.004a3c90
mov dword [edi], 0x7a1dc8
mov dword [edi + 0x14], esi
jmp 0x4a8cd3
xor edi, edi
lea ecx, [ebx + 0x14]
push edi
mov dword [esp + 0x20], edi
call fcn.004ac410
push 0x1c
call fcn.004d6965
mov edi, eax
add esp, 4
test edi, edi
je 0x4a8d25
mov eax, dword [esp + 0xb4]
lea ecx, [edi + 0xc]
mov esi, dword [eax]
mov dword [edi], 0x7a1dbc
shr esi, 4
and esi, 1
call fcn.004a3b90
mov dword [edi + 8], esi
mov dword [edi], 0x7a1e5c
mov dword [edi + 4], 0xffffffff
mov dword [esp + 0x14], edi
mov esi, edi
jmp 0x4a8d2b
xor esi, esi
mov dword [esp + 0x14], esi
push esi
lea ecx, [ebx + 0x14]
call fcn.004ac410
push 0x1c
call fcn.004d6965
mov edi, eax
add esp, 4
test edi, edi
je 0x4a8d7f
mov ecx, dword [esp + 0xb4]
mov esi, dword [ecx]
lea ecx, [edi + 0xc]
not esi
shr esi, 4
and esi, 1
mov dword [edi], 0x7a1dbc
call fcn.004a3b90
mov dword [edi], 0x7a1e5c
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], edi
xor edi, edi
jmp 0x4a8d85
xor edi, edi
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x18]
lea ecx, [ebx + 0x14]
push edx
call fcn.004ac410
push edi
push edi
lea ecx, [esp + 0x34]
call fcn.004abbc0
mov dword [esp + 0x2c], 0x7a1df0
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
mov ax, word [ebp]
mov dword [esp + 0xac], 4
cmp ax, di
je 0x4a8e96
cmp ax, word [esp + 0x24]
je 0x4a8e96
mov dword [esp + 0x28], eax
push 1
lea eax, [esp + 0x2c]
push 1
push eax
lea ecx, [esi + 0xc]
call fcn.004a3bb0
mov ax, word [ebp]
mov cl, al
and ecx, 0xff
cmp cx, ax
jne 0x4a8dfe
mov dl, al
mov byte [esp + 0x13], dl
jmp 0x4a8e03
mov byte [esp + 0x13], 0
push 1
lea eax, [esp + 0x17]
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.004abb20
mov ecx, ebp
lea eax, [ebx + 0x80]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, ebp
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a8e89
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8e7e
mov ax, word [ebp]
test ax, ax
jne 0x4a8dc5
mov edx, ebp
mov eax, dword [edx]
mov dword [ebx + 0x80], eax
mov ecx, dword [edx + 4]
mov dword [ebx + 0x84], ecx
mov eax, dword [edx + 8]
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0xa0]
mov ecx, dword [edx + 0xc]
mov edx, eax
mov dword [ebx + 0x8c], ecx
mov ecx, ebp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebx + 0xb0]
mov edx, dword [ebx + 0xb4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xb8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xbc]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.004a4510
test eax, eax
jne 0x4a8f14
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a8f09
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x4a8f21
mov esi, 0x7a1dec
mov al, byte [esi]
xor edi, edi
test al, al
je 0x4a8f43
movsx eax, byte [edi + esi]
push eax
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4a8f43
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x4a8f29
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x4a8fd8
cmp al, 0x39
jg 0x4a8fd8
lea edx, [edi + 6]
xor ecx, ecx
cmp edi, edx
mov dword [esp + 0x24], ecx
jae 0x4a8f81
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x4a8f7d
cmp al, 0x39
jg 0x4a8f7d
movsx eax, al
lea ecx, [ecx + ecx*4]
inc edi
cmp edi, edx
lea ecx, [eax + ecx*2 - 0x30]
jb 0x4a8f63
mov dword [esp + 0x24], ecx
mov al, byte [edi + esi]
test al, al
je 0x4a8fa1
movsx ecx, al
push ecx
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4a8fa1
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x4a8f88
mov dl, byte [esi + edi]
add esi, edi
xor eax, eax
test dl, dl
sete al
test eax, eax
je 0x4a8fd8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [edx + 4], eax
call fcn.004a3c50
test eax, eax
je 0x4a8fd8
push eax
call fcn.004c30ce
add esp, 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jl 0x4a900d
lea edi, [eax + eax]
cmp edi, 8
jge 0x4a8ff3
mov edi, 8
mov ecx, dword [esi + 8]
lea eax, [edi*4]
push eax
push ecx
call fcn.004c43a7
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
push 0
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xb8]
inc ecx
push 0
mov dword [esi + 0xc], ecx
mov edi, dword [edx]
push 1
push 0
lea ecx, [esp + 0x64]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9057
push 0
mov ecx, ebx
call fcn.004a5450
mov ebp, eax
jmp 0x4a913e
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
mov dword [esp + 0x20], edi
call fcn.004a5080
push 0
push 0
mov edi, eax
push 1
push 0x7c
lea ecx, [esp + 0x74]
mov dword [esp + 0x38], edi
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a913c
push 0x14
call fcn.004d6965
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0xac], 5
je 0x4a90b5
mov ecx, eax
call fcn.004aac30
mov dword [esp + 0x24], eax
jmp 0x4a90bd
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x24]
lea ecx, [ebx + 0x14]
push edi
mov byte [esp + 0xb0], 4
call fcn.004ac410
mov ecx, dword [esp + 0x28]
add edi, 4
push ecx
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9136
mov ecx, ebx
call fcn.004a6c20
lea edx, [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.004a5080
push eax
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4a90fe
mov ebp, dword [esp + 0x24]
jmp 0x4a913e
mov ebp, edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jl 0x4a916f
lea edi, [eax + eax]
cmp edi, 8
jge 0x4a9155
mov edi, 8
mov ecx, dword [esi + 8]
lea eax, [edi*4]
push eax
push ecx
call fcn.004c43a7
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [eax + edx*4], ebp
mov edx, dword [esi + 0xc]
inc edx
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0x10]
mov ecx, edx
cmp ecx, eax
jl 0x4a91af
lea edi, [eax + eax]
cmp edi, 8
jge 0x4a9195
mov edi, 8
mov edx, dword [esi + 8]
lea ecx, [edi*4]
push ecx
push edx
call fcn.004c43a7
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esi + 0xc], ecx
mov edi, dword [ebx + 0x50]
lea ebp, [eax + 1]
cmp ebp, edi
jle 0x4a9213
cmp edi, 8
jge 0x4a91db
mov edi, 8
cmp ebp, edi
jle 0x4a91f9
add edi, edi
cmp ebp, edi
jle 0x4a91f9
lea edi, [ebp + 0xb]
mov ecx, edi
and ecx, 0x80000007
jns 0x4a91f7
dec ecx
or ecx, 0xfffffff8
inc ecx
sub edi, ecx
mov eax, dword [ebx + 0x48]
lea edx, [edi*4]
push edx
push eax
call fcn.004c43a7
add esp, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x50], edi
mov edx, dword [ebx + 0x4c]
cmp edx, ebp
jge 0x4a923a
mov edi, dword [ebx + 0x48]
mov ecx, ebp
sub ecx, edx
xor eax, eax
shl ecx, 2
lea edi, [edi + edx*4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x4c], ebp
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0x20]
mov edi, esi
mov dword [esp + 0xac], 0xffffffff
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x7a1df0
jmp 0x4a9791
mov edx, ebp
mov eax, dword [edx]
mov dword [ebx + 0x80], eax
mov ecx, dword [edx + 4]
mov dword [ebx + 0x84], ecx
mov eax, dword [edx + 8]
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0xa0]
mov ecx, dword [edx + 0xc]
mov edx, eax
mov dword [ebx + 0x8c], ecx
mov ecx, ebp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebx + 0xb0]
mov edx, dword [ebx + 0xb4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xb8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xbc]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.004a4510
test eax, eax
jne 0x4a92e0
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a92d5
push 8
call fcn.004d6965
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0xac], 6
je 0x4a9437
mov eax, dword [esp + 0xb4]
push 0
push 0
push 1
mov edi, dword [eax]
push 0
lea ecx, [esp + 0x74]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9342
push 0
mov ecx, ebx
call fcn.004a5450
mov dword [esi], 0x7a1e50
mov dword [esi + 4], eax
mov edi, esi
jmp 0x4a9439
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
push ecx
mov ecx, ebx
call fcn.004a5080
push 0
push 0
mov edi, eax
push 1
push 0x7c
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], edi
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9428
push 0x14
call fcn.004d6965
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0xac], 7
je 0x4a939e
mov ecx, eax
call fcn.004aac30
mov esi, eax
jmp 0x4a93a0
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
mov byte [esp + 0xb0], 6
call fcn.004ac410
mov edx, dword [esp + 0x28]
lea edi, [esi + 4]
push edx
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9415
mov ecx, ebx
call fcn.004a6c20
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004a5080
push eax
mov ecx, edi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4a93dd
mov eax, esi
mov esi, dword [esp + 0x1c]
mov edi, esi
mov dword [esi], 0x7a1e50
mov dword [esi + 4], eax
jmp 0x4a9439
mov eax, edi
mov dword [esi], 0x7a1e50
mov dword [esi + 4], eax
mov edi, esi
jmp 0x4a9439
xor edi, edi
push edi
lea ecx, [ebx + 0x14]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ac410
mov ecx, ebx
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
mov ecx, ebp
lea eax, [ebx + 0x80]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, ebp
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a94cf
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a94c4
mov ax, word [ebp]
cmp ax, si
je 0x4a9573
and eax, 0xffff
push eax
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4a9573
mov edx, ebp
lea eax, [ebx + 0x80]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ebx + 0xa0]
mov ecx, eax
mov edx, ebp
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 8]
mov dword [edx + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a9566
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a955b
mov ax, word [ebp]
cmp ax, si
jne 0x4a94dc
mov ax, word [ebp]
cmp ax, 0x3c
je 0x4a97b0
cmp ax, 0x27
je 0x4a97b0
push esi
push esi
lea ecx, [esp + 0x34]
call fcn.004abbc0
mov dword [esp + 0x2c], 0x7a1df0
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
mov ax, word [ebp]
mov dword [esp + 0xac], 9
cmp ax, si
je 0x4a9676
cmp ax, 0x29
je 0x4a9676
mov dl, al
and edx, 0xff
cmp dx, ax
jne 0x4a95de
mov al, byte [ebp]
mov byte [esp + 0x13], al
jmp 0x4a95e3
mov byte [esp + 0x13], 0
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
lea ecx, [esp + 0x38]
call fcn.004abb20
mov edx, ebp
lea eax, [ebx + 0x80]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ebx + 0xa0]
mov ecx, eax
mov edx, ebp
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a9669
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a965e
mov ax, word [ebp]
test ax, ax
jne 0x4a95be
mov edi, dword [esp + 0x30]
xor ebp, ebp
test edi, edi
jne 0x4a9685
mov edi, 0x7a1dec
mov al, byte [edi]
xor esi, esi
test al, al
je 0x4a96a7
movsx edx, byte [esi + edi]
push edx
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4a96a7
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a968d
mov al, byte [esi + edi]
cmp al, 0x30
jl 0x4a96fc
cmp al, 0x39
jg 0x4a96fc
lea edx, [esi + 6]
xor ebp, ebp
cmp esi, edx
mov eax, esi
jae 0x4a96da
mov cl, byte [eax + edi]
cmp cl, 0x30
jl 0x4a96da
cmp cl, 0x39
jg 0x4a96da
movsx ecx, cl
lea esi, [ebp + ebp*4]
inc eax
cmp eax, edx
lea ebp, [ecx + esi*2 - 0x30]
jb 0x4a96bd
lea esi, [eax + edi]
mov al, byte [eax + edi]
test al, al
je 0x4a96fc
movsx edx, byte [esi]
push edx
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4a96fc
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4a96e4
push 0x1c
call fcn.004d6965
mov esi, eax
add esp, 4
test esi, esi
je 0x4a972c
lea ecx, [esi + 0xc]
mov dword [esi], 0x7a1dbc
call fcn.004a3b90
mov dword [esi], 0x7a1e44
mov dword [esi + 4], 0
mov dword [esi + 8], ebp
jmp 0x4a972e
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
call fcn.004ac410
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
cmp ecx, eax
jl 0x4a9768
lea edi, [eax + eax]
cmp edi, 8
jge 0x4a974e
mov edi, 8
mov ecx, dword [ebx + 0x38]
lea eax, [edi*4]
push eax
push ecx
call fcn.004c43a7
add esp, 8
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x40], edi
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
mov edi, esi
mov dword [esp + 0xac], 0xffffffff
mov dword [eax + edx*4], esi
mov edx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x30]
inc edx
mov dword [ebx + 0x3c], edx
mov dword [esp + 0x2c], 0x7a1df0
test eax, eax
je 0x4aa277
push eax
call fcn.004c30ce
add esp, 4
mov ecx, ebx
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
sub ax, 0x3c
push 0x1c
neg ax
sbb eax, eax
and al, 0xe9
add eax, 0x3e
mov dword [esp + 0x28], eax
call fcn.004d6965
mov edi, eax
add esp, 4
cmp edi, esi
je 0x4a97f2
lea ecx, [edi + 0xc]
mov dword [edi], 0x7a1dbc
call fcn.004a3b90
mov dword [edi], 0x7a1e44
mov dword [edi + 4], esi
mov dword [edi + 8], 0xfffffffd
jmp 0x4a97f4
xor edi, edi
push edi
lea ecx, [ebx + 0x14]
mov dword [esp + 0x1c], edi
call fcn.004ac410
mov ecx, ebp
lea eax, [ebx + 0x80]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, ebp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a9875
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a986a
push 0
push 0
lea ecx, [esp + 0x34]
call fcn.004abbc0
mov dword [esp + 0x2c], 0x7a1df0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov ax, word [ebp]
mov dword [esp + 0xac], 8
test ax, ax
je 0x4a9983
cmp ax, word [esp + 0x24]
je 0x4a9983
push 1
lea edx, [esp + 0x2c]
push 1
push edx
lea ecx, [edi + 0xc]
mov dword [esp + 0x34], eax
call fcn.004a3bb0
mov ax, word [ebp]
mov cl, al
and ecx, 0xff
cmp cx, ax
jne 0x4a98eb
mov dl, al
mov byte [esp + 0x13], dl
jmp 0x4a98f0
mov byte [esp + 0x13], 0
push 1
lea eax, [esp + 0x17]
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.004abb20
mov ecx, ebp
lea eax, [ebx + 0x80]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, ebp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a9976
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a996b
mov ax, word [ebp]
test ax, ax
jne 0x4a98b2
mov edx, ebp
mov eax, dword [edx]
mov dword [ebx + 0x80], eax
mov ecx, dword [edx + 4]
mov dword [ebx + 0x84], ecx
mov eax, dword [edx + 8]
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0xa0]
mov ecx, dword [edx + 0xc]
mov edx, eax
mov dword [ebx + 0x8c], ecx
mov ecx, dword [edx]
mov dword [ebp], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 4], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 8], ecx
mov ecx, dword [ebx + 0xb0]
mov edx, dword [edx + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xb8]
mov dword [ebp + 0xc], edx
mov edx, dword [ebx + 0xb4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xbc]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.004a4510
test eax, eax
jne 0x4a9a00
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a99f5
mov ebp, dword [esp + 0x30]
test ebp, ebp
jne 0x4a9a0d
mov ebp, 0x7a1dec
mov al, byte [ebp]
xor edi, edi
test al, al
je 0x4a9a30
movsx eax, byte [edi + ebp]
push eax
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4a9a30
mov al, byte [edi + ebp + 1]
inc edi
test al, al
jne 0x4a9a16
mov al, byte [edi + ebp]
cmp al, 0x30
jl 0x4a9aab
cmp al, 0x39
jg 0x4a9aab
lea ecx, [edi + 6]
xor esi, esi
cmp edi, ecx
jae 0x4a9a5e
mov al, byte [edi + ebp]
cmp al, 0x30
jl 0x4a9a5e
cmp al, 0x39
jg 0x4a9a5e
movsx eax, al
lea edx, [esi + esi*4]
inc edi
cmp edi, ecx
lea esi, [eax + edx*2 - 0x30]
jb 0x4a9a44
mov al, byte [edi + ebp]
test al, al
je 0x4a9a7e
movsx ecx, al
push ecx
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4a9a7e
mov al, byte [edi + ebp + 1]
inc edi
test al, al
jne 0x4a9a65
mov dl, byte [ebp + edi]
add ebp, edi
xor eax, eax
test dl, dl
sete al
test eax, eax
je 0x4a9aab
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0xc]
mov dword [eax + 8], esi
call fcn.004a3c50
test eax, eax
je 0x4a9aab
push eax
call fcn.004c30ce
add esp, 4
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
cmp ecx, eax
jl 0x4a9adc
lea esi, [eax + eax]
cmp esi, 8
jge 0x4a9ac2
mov esi, 8
mov eax, dword [ebx + 0x38]
lea edx, [esi*4]
push edx
push eax
call fcn.004c43a7
add esp, 8
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x40], esi
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xac], 0xffffffff
mov dword [edx + ecx*4], edi
mov edx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x30]
inc edx
mov dword [ebx + 0x3c], edx
mov dword [esp + 0x2c], 0x7a1df0
jmp 0x4a9791
push 0x24
call fcn.004d6965
mov edi, eax
add esp, 4
cmp edi, esi
je 0x4a9b3d
lea ecx, [edi + 8]
mov dword [edi], 0x7a1dbc
call fcn.004a3b90
mov dword [edi], 0x7a1e38
mov dword [edi + 4], 0xffffffff
mov dword [esp + 0x14], edi
jmp 0x4a9b43
mov dword [esp + 0x14], esi
mov edi, esi
lea ecx, [ebx + 0x14]
push edi
call fcn.004ac410
cmp word [ebx + 0xa0], 0x3f
lea eax, [ebx + 0xa0]
jne 0x4a9b79
cmp dword [eax + 4], 1
jne 0x4a9b79
mov esi, dword [esp + 0xb4]
mov ecx, ebx
push esi
call fcn.004a85b0
mov dword [edi + 0x18], eax
jmp 0x4a9fad
mov edx, ebp
lea ecx, [ebx + 0x80]
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, eax
mov edx, ebp
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 8]
mov dword [edx + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [ebx + 0xb0]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a9be7
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a9bdc
mov edx, dword [ebx + 0x98]
push 0xc
mov dword [esp + 0x1c], edx
call fcn.004d6965
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
mov dword [esp + 0xac], 0xa
je 0x4a9d2b
mov eax, dword [esp + 0xb4]
push esi
push esi
push 1
mov edi, dword [eax]
push esi
lea ecx, [esp + 0x74]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9c42
push esi
mov ecx, ebx
call fcn.004a5450
jmp 0x4a9d15
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
push ecx
mov ecx, ebx
call fcn.004a5080
push esi
push esi
mov edi, eax
push 1
push 0x7c
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], edi
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9d13
push 0x14
call fcn.004d6965
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, esi
mov byte [esp + 0xac], 0xb
je 0x4a9c9c
mov ecx, eax
call fcn.004aac30
mov edi, eax
jmp 0x4a9c9e
xor edi, edi
push edi
lea ecx, [ebx + 0x14]
mov byte [esp + 0xb0], 0xa
call fcn.004ac410
mov edx, dword [esp + 0x28]
lea esi, [edi + 4]
push edx
mov ecx, esi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4a9d13
mov ecx, ebx
call fcn.004a6c20
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004a5080
push eax
mov ecx, esi
call fcn.004ac410
push 0
push 0
push 1
push 0x7c
lea ecx, [esp + 0x54]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4a9cdb
mov eax, edi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0x7a1e68
mov dword [esi + 4], eax
mov dword [esi + 8], 1
jmp 0x4a9d2d
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ac410
mov edi, dword [esp + 0x14]
mov dword [edi + 0x18], esi
mov eax, dword [ebx + 0x78]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4a9d5b
mov dword [esp + 0x20], 0x7a1da8
mov eax, dword [ebx + 0x98]
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [esp + 0x1c], eax
cmp esi, 8
jge 0x4a9d7a
mov esi, 8
mov ecx, dword [edi + 0x10]
add eax, ecx
lea ecx, [eax + 1]
cmp ecx, esi
jle 0x4a9d9f
add esi, esi
cmp ecx, esi
jle 0x4a9d9f
lea esi, [eax + 0xc]
mov eax, esi
and eax, 0x80000007
jns 0x4a9d9d
dec eax
or eax, 0xfffffff8
inc eax
sub esi, eax
cmp esi, edx
jle 0x4a9db9
mov edx, dword [edi + 0xc]
lea ecx, [esi + esi]
push ecx
push edx
call fcn.004c43a7
add esp, 8
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push 0
lea ecx, [eax + eax]
mov eax, dword [esp + 0x28]
lea esi, [eax + edx*2]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
lea edi, [edi + edx*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
add edi, ecx
mov ecx, edi
mov dword [eax + 0x10], edi
mov word [edx + ecx*2], 0
lea ecx, [esp + 0x34]
call fcn.004abbc0
xor eax, eax
mov dword [esp + 0x2c], 0x7a1df0
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x98]
cmp eax, ecx
mov dword [esp + 0xac], 0xc
jge 0x4a9e84
mov esi, eax
cmp esi, dword [ebx + 0x7c]
jl 0x4a9e40
xor eax, eax
jmp 0x4a9e47
mov ecx, dword [ebx + 0x78]
mov ax, word [ecx + esi*2]
mov dl, al
push 1
and dx, 0xff
push 1
cmp dx, ax
lea edx, [esp + 0x1b]
setne cl
dec ecx
push edx
and ecx, eax
mov byte [esp + 0x1f], cl
lea ecx, [esp + 0x38]
call fcn.004abb20
mov eax, dword [ebx + 0x98]
inc esi
cmp esi, eax
jl 0x4a9e37
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4a9e8c
mov dword [esp + 0x24], 0x7a1dec
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004aac50
add esp, 8
test eax, eax
je 0x4a9ec6
mov edx, dword [esp + 0x24]
xor eax, eax
cmp byte [edx], 0
sete al
test eax, eax
je 0x4a9ec6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov dword [eax + 0x18], 0
jmp 0x4a9f10
mov edi, dword [esp + 0x14]
mov dword [edi + 4], 0xffffffff
mov eax, dword [ebx + 0x70]
cmp dword [ebx + 0x6c], eax
jl 0x4a9f00
lea esi, [eax + eax]
cmp esi, 8
jge 0x4a9ee6
mov esi, 8
mov eax, dword [ebx + 0x68]
lea edx, [esi*4]
push edx
push eax
call fcn.004c43a7
add esp, 8
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x70], esi
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x68]
mov dword [edx + ecx*4], edi
mov eax, dword [ebx + 0x6c]
inc eax
mov dword [ebx + 0x6c], eax
mov eax, ebp
mov ecx, dword [eax]
mov dword [ebx + 0x80], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x84], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x88], ecx
mov edx, dword [eax + 0xc]
lea eax, [ebx + 0xa0]
mov ecx, eax
mov dword [ebx + 0x8c], edx
mov edx, ebp
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xb4]
mov dword [eax], edx
mov edx, dword [ebx + 0xb8]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0xbc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.004a4510
test eax, eax
jne 0x4a9f8e
mov ecx, ebx
call fcn.004a4510
test eax, eax
je 0x4a9f83
lea ecx, [esp + 0x2c]
mov dword [esp + 0xac], 0xffffffff
call fcn.004a6bb0
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0x14]
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
mov dword [esp + 0x40], edx
call fcn.004a5080
mov dword [edi + 0x1c], eax
cmp word [ebp], 0x7c
jne 0x4a9feb
mov ecx, ebx
call fcn.004a6c20
mov ecx, dword [esi]
push ecx
mov ecx, ebx
call fcn.004a4120
mov ecx, ebx
mov dword [edi + 0x20], eax
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
mov ecx, ebx
mov dword [edi + 0x20], 0
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
cmp ax, si
je 0x4aa027
and eax, 0xffff
push eax
call fcn.004c24b0
add esp, 4
test eax, eax
je 0x4aa027
mov ecx, ebx
call fcn.004a6c20
mov ax, word [ebp]
cmp ax, si
jne 0x4aa005
mov ax, word [ebp]
cmp ax, 0x30
jb 0x4aa12e
cmp ax, 0x39
ja 0x4aa12e
lea ecx, [esp + 0x44]
call fcn.004aad00
mov ax, word [ebp]
mov dword [esp + 0xac], 0xd
cmp ax, si
je 0x4aa09f
cmp ax, 0x29
je 0x4aa09f
mov dl, al
and edx, 0xff
cmp dx, ax
jne 0x4aa078
mov al, byte [ebp]
mov byte [esp + 0x13], al
jmp 0x4aa07d
mov byte [esp + 0x13], 0
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
lea ecx, [esp + 0x50]
call fcn.004abb20
mov ecx, ebx
call fcn.004a6c20
mov ax, word [ebp]
cmp ax, si
jne 0x4aa05c
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], esi
cmp eax, esi
mov dword [esp + 0x1c], eax
jne 0x4aa0b7
mov dword [esp + 0x1c], 0x7a1dec
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004aac50
push 0x1c
call fcn.004d6965
add esp, 0xc
mov dword [esp + 0x40], eax
cmp eax, esi
mov byte [esp + 0xac], 0xe
je 0x4aa0f0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, eax
call fcn.004ac3e0
mov edi, eax
jmp 0x4aa0f2
xor edi, edi
push edi
lea ecx, [ebx + 0x14]
mov byte [esp + 0xb0], 0xd
call fcn.004ac410
push edi
lea ecx, [ebx + 0x34]
call fcn.004ac410
lea ecx, [esp + 0x44]
mov dword [esp + 0xac], 0xffffffff
call fcn.004a6bb0
mov ecx, ebx
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
mov edx, dword [esp + 0xb4]
push 0
push 0
push 1
mov esi, dword [edx]
push 0
lea ecx, [esp + 0x84]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4aa217
mov ax, word [ebp]
cmp ax, 0x3a
je 0x4aa217
cmp ax, 0x29
je 0x4aa217
push 0
push 0
push 1
push 0x28
lea ecx, [esp + 0x94]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4aa217
mov ax, word [ebp]
xor ecx, ecx
lea edi, [eax - 0x2d]
cmp edi, 0x46
ja case.0x4aa1ad.50
xor eax, eax
mov al, byte [edi + 0x4aa438]
jmp dword [eax*4 + 0x4aa420]
mov ecx, 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4aa1ea
not ecx
and esi, ecx
jmp 0x4aa1ec
mov ecx, 1
jmp case.0x4aa1ad.50
mov ecx, 2
jmp case.0x4aa1ad.50
mov ecx, 4
jmp case.0x4aa1ad.50
not ecx
mov dword [esp + 0x14], 1
and esi, ecx
jmp 0x4aa1ec
or esi, ecx
mov ecx, ebx
call fcn.004a6c20
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x84]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
je 0x4aa15b
cmp word [ebp], 0x3a
je 0x4aa266
push 0
push 0
push 1
push 0x28
lea ecx, [esp + 0xa4]
call fcn.004a3630
push eax
mov ecx, ebp
call fcn.004a44e0
test eax, eax
jne 0x4aa25f
mov ecx, dword [esp + 0xb4]
push eax
mov dword [ecx], esi
mov ecx, ebx
call fcn.004a5450
mov ecx, ebx
mov edi, eax
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
cmp word [ebp], 0x3a
jne 0x4aa26d
mov ecx, ebx
call fcn.004a6c20
push esi
mov ecx, ebx
call fcn.004a4120
mov edi, eax
mov ecx, ebx
call fcn.004a6c20
mov eax, edi
jmp 0x4aa3aa
push 0x18
call fcn.004d6965
mov edi, dword [esp + 0xb8]
add esp, 4
test eax, eax
je 0x4aa2ab
mov edx, dword [edi]
mov ecx, eax
and edx, 0x10
push edx
call fcn.004a6ca0
mov ebp, eax
jmp 0x4aa2ad
xor ebp, ebp
lea ecx, [ebx + 0x14]
push ebp
call fcn.004ac410
mov ecx, dword [ebx + 8]
push 0x1c
inc ecx
mov esi, ecx
mov dword [ebx + 8], ecx
mov dword [esp + 0x24], esi
call fcn.004d6965
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0xac], 0xf
je 0x4aa2f5
mov ecx, dword [edi]
shr ecx, 4
and ecx, 1
push ecx
push esi
mov ecx, eax
call fcn.004ac220
mov edi, eax
jmp 0x4aa2f7
xor edi, edi
push edi
lea ecx, [ebx + 0x14]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ac410
lea esi, [ebp + 4]
push edi
mov ecx, esi
call fcn.004ac410
mov edx, dword [esp + 0xb4]
mov ecx, ebx
mov eax, dword [edx]
push eax
call fcn.004a4120
push eax
mov ecx, esi
call fcn.004ac410
push 0x1c
call fcn.004d6965
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0xac], 0x10
je 0x4aa36e
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
not edx
shr edx, 4
and edx, 1
push edx
push ecx
mov ecx, eax
call fcn.004ac220
mov edi, eax
jmp 0x4aa370
xor edi, edi
push edi
lea ecx, [ebx + 0x14]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ac410
push edi
mov ecx, esi
call fcn.004ac410
mov esi, dword [esp + 0x20]
push 0
push esi
lea ecx, [ebx + 0x24]
call fcn.004aa800
mov edx, dword [ebx + 0x28]
mov ecx, ebx
mov dword [edx + esi*4], ebp
call fcn.004a6c20
mov eax, ebp
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 4