Function at 0x4f6ec0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d18a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0xfc], eax
mov eax, 8
lea esi, [esp + 0x58]
call fcn.00418e00
mov eax, dword [ebx + 0x574]
mov edi, dword [esp + 0x58]
mov esi, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [ebx + 0x578]
lea edx, [esp + 0x58]
add esi, 0x48
push edx
mov dword [edi + 4], ecx
push 0x689bc0
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0041a790
add eax, 0x1c
call fcn.0042fcf0
mov dword [esp + 0xfc], 0xffffffff
test edi, edi
je 0x4f6f5a
push edi
call fcn.0048f06d
add esp, 4
mov edi, dword [ebx + 0x28]
sub edi, dword [ebx + 0x24]
mov ecx, dword [ebp + 0xc]
add ecx, 8
push 0x689bf8
sar edi, 2
mov dword [esp + 0x6c], ecx
call fcn.004021d0
mov dword [eax + 0x1c], edi
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebx + 0x28]
je 0x4f6f9f
mov edi, dword [ebx + 0x28]
mov edx, dword [ebp + 0xc]
sub edi, eax
sar edi, 2
push eax
add edi, edi
push 0x689bdc
add edi, edi
push edx
call fcn.0042fdf0
jmp 0x4f6fab
mov edi, 0x689bdc
mov eax, esi
call fcn.0041e4c0
mov edi, dword [ebx + 0x100]
sub edi, dword [ebx + 0xfc]
mov ecx, dword [esp + 0x68]
push 0x689cf4
sar edi, 2
call fcn.004021d0
mov dword [eax + 0x1c], edi
mov eax, dword [ebx + 0xfc]
cmp eax, dword [ebx + 0x100]
je 0x4f6ff9
mov edi, dword [ebx + 0x100]
mov edx, dword [ebp + 0xc]
sub edi, eax
sar edi, 2
push eax
add edi, edi
push 0x689cd8
add edi, edi
push edx
call fcn.0042fdf0
jmp 0x4f7005
mov edi, 0x689cd8
mov eax, esi
call fcn.0041e4c0
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
mov dword [esp + 0xfc], 1
mov ecx, dword [ebx + 0x48]
sub ecx, dword [ebx + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x68]
sar edx, 4
mov edi, edx
shr edi, 0x1f
push 0x689c30
add edi, edx
call fcn.004021d0
mov dword [eax + 0x1c], edi
mov ecx, dword [ebx + 0x48]
sub ecx, dword [ebx + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
xor edi, edi
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], edi
je 0x4f7117
lea ecx, [ecx]
lea ecx, [esp + 0x10]
lea esi, [esp + 0x3c]
call fcn.00447a60
mov esi, eax
mov byte [esp + 0xfc], 2
mov edx, dword [ebx + 0x44]
lea ecx, [edi*8]
sub ecx, edi
lea eax, [edx + ecx*4]
mov edx, dword [ebp + 0xc]
mov ecx, 0x689c14
add edx, 0x68
mov dword [esp + 0x18], eax
call fcn.00416e40
lea edx, [eax + 0x44]
mov ecx, esi
call fcn.0040f740
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [eax + 0x1c]
call fcn.00401c50
mov byte [esp + 0xfc], 1
cmp dword [esp + 0x50], 0x10
jb 0x4f70f1
mov edx, dword [esp + 0x3c]
push edx
call fcn.0048f06d
add esp, 4
mov ecx, dword [ebx + 0x48]
sub ecx, dword [ebx + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x4f7080
mov ecx, dword [ebx + 0x48]
sub ecx, dword [ebx + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0xc]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, 0x68
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], ecx
mov edi, edi
lea ecx, [esp + 0x10]
lea esi, [esp + 0x3c]
call fcn.00447a60
mov esi, eax
mov edx, dword [esp + 0x6c]
mov ecx, 0x689c14
mov byte [esp + 0xfc], 3
call fcn.00416e40
cmp dword [eax + 0x74], 0
lea edi, [eax + 0x64]
mov dword [esp + 0x18], edi
je 0x4f71cb
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4f717e
mov eax, dword [esi]
jmp 0x4f7180
mov eax, esi
mov edx, dword [esi + 0x10]
add edx, eax
cmp ecx, 0x10
jb 0x4f718e
mov ecx, dword [esi]
jmp 0x4f7190
mov ecx, esi
xor eax, eax
cmp ecx, edx
je 0x4f71b7
mov edi, eax
mov ebx, eax
shl edi, 6
shr ebx, 2
add edi, ebx
movsx ebx, byte [ecx]
lea edi, [edi + ebx - 0x61c88647]
inc ecx
xor eax, edi
cmp ecx, edx
jne 0x4f7196
mov edi, dword [esp + 0x18]
xor edx, edx
div dword [edi + 4]
mov eax, dword [edi]
push esi
lea eax, [eax + edx*4]
call fcn.004017e0
test eax, eax
jne 0x4f71cf
xor bl, bl
jmp 0x4f71ef
push esi
mov ecx, edi
call fcn.0041a790
mov ecx, dword [eax + 0x1c]
push 0x1c
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.00491960
add esp, 0xc
mov bl, 1
mov byte [esp + 0xfc], 1
cmp dword [esp + 0x50], 0x10
jb 0x4f720b
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048f06d
add esp, 4
test bl, bl
je 0x4f7310
lea ecx, [esp + 0x10]
lea esi, [esp + 0x3c]
call fcn.00447a60
mov edi, eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x6c]
mov ecx, 0x689c14
mov byte [esp + 0xfc], 4
call fcn.00416e40
mov esi, eax
cmp dword [esi + 0x74], 0
je 0x4f72eb
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x4f7254
mov eax, dword [edi]
jmp 0x4f7256
mov eax, edi
mov edx, dword [edi + 0x10]
add edx, eax
cmp ecx, 0x10
jb 0x4f7268
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
jmp 0x4f726e
mov ecx, edi
mov dword [esp + 0x18], edi
xor eax, eax
cmp dword [esp + 0x18], edx
je 0x4f7297
mov edi, eax
mov ebx, eax
shl edi, 6
shr ebx, 2
add edi, ebx
movsx ebx, byte [ecx]
lea edi, [edi + ebx - 0x61c88647]
inc ecx
xor eax, edi
cmp ecx, edx
jne 0x4f7276
mov edi, dword [esp + 0x14]
xor edx, edx
div dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
push edi
lea ebx, [ecx + edx*4]
mov eax, ebx
call fcn.0041e360
mov ecx, dword [eax]
test ecx, ecx
je 0x4f72eb
mov edx, dword [ecx]
mov dword [eax], edx
push edx
mov eax, ecx
call fcn.0041e400
sub dword [esi + 0x74], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x74]
cmp ebx, eax
jne 0x4f72eb
test ecx, ecx
je 0x4f72df
cmp dword [eax], 0
jne 0x4f72eb
add eax, 4
mov dword [esi + 0x7c], eax
cmp dword [eax], 0
je 0x4f72d2
jmp 0x4f72eb
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
lea edx, [ecx + eax*4]
mov dword [esi + 0x7c], edx
mov byte [esp + 0xfc], 1
cmp dword [esp + 0x50], 0x10
jb 0x4f7307
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048f06d
add esp, 4
inc dword [esp + 0x10]
jmp 0x4f7140
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x110]
sub ecx, dword [edi + 0x10c]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x68]
sar edx, 4
mov esi, edx
shr esi, 0x1f
push 0x689d2c
add esi, edx
call fcn.004021d0
mov dword [eax + 0x1c], esi
mov ecx, dword [edi + 0x110]
sub ecx, dword [edi + 0x10c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
xor ebx, ebx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x18], ebx
je 0x4f744e
mov edx, dword [ebp + 0xc]
add edx, 0x28
mov dword [esp + 0x14], edx
jmp 0x4f7380
lea ecx, [esp + 0x18]
lea esi, [esp + 0x3c]
call fcn.00447a60
mov esi, eax
mov eax, 0x689d10
lea edi, [esp + 0x20]
mov byte [esp + 0xfc], 5
call fcn.00445bf0
mov edx, dword [ebp + 8]
mov byte [esp + 0xfc], 6
mov edx, dword [edx + 0x10c]
lea ecx, [ebx*8]
sub ecx, ebx
lea esi, [edx + ecx*4]
mov edx, dword [esp + 0x14]
mov ecx, eax
call fcn.0040f740
push 0xffffffffffffffff
push 0
push esi
lea ecx, [eax + 0x1c]
call fcn.00401c50
cmp dword [esp + 0x34], 0x10
jb 0x4f73ee
mov eax, dword [esp + 0x20]
push eax
call fcn.0048f06d
add esp, 4
mov byte [esp + 0xfc], 1
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jb 0x4f741f
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0048f06d
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x110]
sub ecx, dword [eax + 0x10c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [esp + 0x18], ebx
cmp ebx, eax
jb 0x4f7380
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x110]
sub ecx, dword [eax + 0x10c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
jmp 0x4f7480
lea ecx, [esp + 0x10]
lea esi, [esp + 0x3c]
call fcn.00447a60
mov esi, eax
mov eax, 0x689d10
lea edi, [esp + 0x20]
mov byte [esp + 0xfc], 7
call fcn.00445bf0
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xfc], 8
cmp dword [ecx + 0x10], 0
je 0x4f7515
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4f74c5
mov eax, dword [esi]
jmp 0x4f74c7
mov eax, esi
mov edx, dword [esi + 0x10]
add edx, eax
cmp ecx, 0x10
jb 0x4f74d5
mov ecx, dword [esi]
jmp 0x4f74d7
mov ecx, esi
xor eax, eax
cmp ecx, edx
je 0x4f74fd
lea ecx, [ecx]
mov edi, eax
mov ebx, eax
shl edi, 6
shr ebx, 2
add edi, ebx
movsx ebx, byte [ecx]
lea edi, [edi + ebx - 0x61c88647]
inc ecx
xor eax, edi
cmp ecx, edx
jne 0x4f74e0
mov ecx, dword [esp + 0x1c]
xor edx, edx
div dword [ecx + 4]
mov eax, dword [ecx]
push esi
lea eax, [eax + edx*4]
call fcn.004017e0
test eax, eax
jne 0x4f7519
xor bl, bl
jmp 0x4f753b
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0041a790
mov ecx, dword [eax + 0x1c]
push 0x1c
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.00491960
add esp, 0xc
mov bl, 1
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x4f7553
mov eax, dword [esp + 0x20]
push eax
call fcn.0048f06d
add esp, 4
xor esi, esi
mov byte [esp + 0xfc], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
cmp dword [esp + 0x50], edi
jb 0x4f7581
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0048f06d
add esp, 4
test bl, bl
je 0x4f76b9
lea ecx, [esp + 0x10]
lea esi, [esp + 0x3c]
call fcn.00447a60
mov esi, eax
mov eax, 0x689d10
lea edi, [esp + 0x20]
mov byte [esp + 0xfc], 9
call fcn.00445bf0
mov esi, eax
mov edx, dword [esp + 0x1c]
mov byte [esp + 0xfc], 0xa
cmp dword [edx + 0x10], 0
je 0x4f7668
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4f75d2
mov eax, dword [esi]
jmp 0x4f75d4
mov eax, esi
mov edx, dword [esi + 0x10]
add edx, eax
cmp ecx, 0x10
jb 0x4f75e2
mov ecx, dword [esi]
jmp 0x4f75e4
mov ecx, esi
xor eax, eax
cmp ecx, edx
je 0x4f760d
lea ebx, [ebx]
mov edi, eax
mov ebx, eax
shl edi, 6
shr ebx, 2
add edi, ebx
movsx ebx, byte [ecx]
lea edi, [edi + ebx - 0x61c88647]
inc ecx
xor eax, edi
cmp ecx, edx
jne 0x4f75f0
mov ebx, dword [esp + 0x1c]
xor edx, edx
div dword [ebx + 4]
mov eax, dword [ebx]
push esi
lea edi, [eax + edx*4]
mov eax, edi
call fcn.0041e360
mov ecx, dword [eax]
test ecx, ecx
je 0x4f7668
mov edx, dword [ecx]
mov dword [eax], edx
push edx
mov eax, ecx
call fcn.0041e400
sub dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x10]
cmp edi, eax
jne 0x4f7668
test ecx, ecx
je 0x4f765d
cmp dword [eax], 0
jne 0x4f7668
jmp 0x4f7650
add eax, 4
mov dword [ebx + 0x18], eax
cmp dword [eax], 0
je 0x4f7650
jmp 0x4f7668
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
lea ecx, [eax + edx*4]
mov dword [ebx + 0x18], ecx
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x4f7680
mov edx, dword [esp + 0x20]
push edx
call fcn.0048f06d
add esp, 4
mov byte [esp + 0xfc], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp dword [esp + 0x50], esi
jb 0x4f76b0
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048f06d
add esp, 4
inc dword [esp + 0x10]
jmp 0x4f7480
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], esi
cmp dword [ebx + 0xe4], esi
je 0x4f7a4c
push 8
mov dword [esp + 0x24], esi
call fcn.0048f2c5
add esp, 4
cmp eax, esi
je 0x4f7ac2
mov dword [esp + 0x20], eax
mov dword [eax + 4], esi
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov dword [edx], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov byte [esp + 0xfc], 0xb
cmp dword [ebx + 0xe4], esi
je 0x4f7a2e
add ebx, 0xd4
lea eax, [esp + 0xc0]
mov edx, ebx
call fcn.00452500
lea esi, [esp + 0xcc]
call fcn.0041b620
mov ecx, dword [eax]
test ecx, ecx
je 0x4f7743
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x4f774f
sub eax, edx
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x30]
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x28]
inc edx
cmp eax, edx
ja 0x4f7770
lea eax, [esp + 0x20]
push eax
call fcn.00447090
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add esi, dword [esp + 0x2c]
cmp eax, esi
ja 0x4f777e
sub esi, eax
mov eax, dword [esp + 0x24]
cmp dword [eax + esi*4], 0
jne 0x4f77a1
push 0x10
call fcn.0048f2c5
add esp, 4
test eax, eax
je 0x4f7824
mov ecx, dword [esp + 0x24]
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x24]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x4f77c2
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x10]
inc dword [esp + 0x30]
test eax, eax
je 0x4f77da
dec eax
mov dword [ebx + 0x10], eax
jne 0x4f77da
mov dword [ebx + 0xc], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xe4], 0
jne 0x4f7721
cmp dword [esp + 0x30], 0
je 0x4f7a2e
jmp 0x4f7800
lea eax, [esp + 0xcc]
lea edx, [esp + 0x20]
call fcn.00452500
lea esi, [esp + 0xc0]
call fcn.0041b620
mov ecx, dword [eax]
test ecx, ecx
jne 0x4f7851
jmp 0x4f7853
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0
call fcn.0048f111
push 0x661a10
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], vtable.std::bad_alloc.0
call fcn.00490659
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x4f785f
sub eax, edx
mov edx, dword [ebx + 0x10]
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + eax*4]
inc edx
cmp dword [ebx + 8], edx
ja 0x4f7874
push ebx
call fcn.00447090
mov esi, dword [ebx + 0xc]
add esi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
cmp eax, esi
ja 0x4f7883
sub esi, eax
mov eax, dword [ebx + 4]
cmp dword [eax + esi*4], 0
jne 0x4f78a4
push 0x10
call fcn.0048f2c5
add esp, 4
test eax, eax
je 0x4f7a95
mov ecx, dword [ebx + 4]
mov dword [ecx + esi*4], eax
mov edx, dword [ebx + 4]
mov esi, dword [edx + esi*4]
test esi, esi
je 0x4f78c4
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
inc dword [ebx + 0x10]
mov dword [esp + 0x14], eax
inc eax
lea ecx, [esp + 0x14]
lea edi, [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.0040f8d0
mov esi, eax
mov eax, 0x689cbc
lea edi, [esp + 0x3c]
mov byte [esp + 0xfc], 0xc
call fcn.00445bf0
mov dword [esp + 0x14], eax
lea eax, [esp + 0xe4]
lea edx, [esp + 0x20]
mov byte [esp + 0xfc], 0xd
call fcn.00452500
lea esi, [esp + 0xd8]
call fcn.0041b620
mov ecx, dword [eax]
test ecx, ecx
je 0x4f7929
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x4f7935
sub eax, edx
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + eax*4]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push 0x10
lea esi, [esp + 0x5c]
mov byte [esp + 0x100], 0xe
call fcn.00418d40
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, esi
sub eax, ecx
add eax, 0x10
je 0x4f7979
push eax
push 0
push ecx
call fcn.00493600
add esp, 0xc
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
lea edx, [esi + 0x10]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov dword [esi + 0xc], eax
call fcn.0041a790
add eax, 0x1c
call fcn.0042fcf0
test esi, esi
je 0x4f79be
push esi
call fcn.0048f06d
add esp, 4
xor esi, esi
mov edi, 0x10
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
cmp dword [esp + 0x50], edi
jb 0x4f79e4
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048f06d
add esp, 4
mov byte [esp + 0xfc], 0xb
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], esi
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x90], edi
jb 0x4f7a13
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0048f06d
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x4f7a2e
dec eax
mov dword [esp + 0x30], eax
jne 0x4f7a26
mov dword [esp + 0x2c], esi
test eax, eax
jne 0x4f7800
lea esi, [esp + 0x20]
mov byte [esp + 0xfc], 1
call fcn.004221a0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048f06d
add esp, 4
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
lea edi, [esp + 0x7c]
call fcn.0040f8d0
mov esi, eax
mov eax, 0x689cbc
lea edi, [esp + 0x3c]
mov byte [esp + 0xfc], 0xf
call fcn.00445bf0
mov esi, eax
mov byte [esp + 0xfc], 0x10
cmp dword [ebx + 0x10], 0
je 0x4f7b45
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4f7af4
mov eax, dword [esi]
jmp 0x4f7af6
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0
call fcn.0048f111
push 0x661a10
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], vtable.std::bad_alloc.0
call fcn.00490659
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x1c], esi
call fcn.0048f111
push 0x661a10
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xbc], vtable.std::bad_alloc.0
call fcn.00490659
mov eax, esi
mov edx, dword [esi + 0x10]
add edx, eax
cmp ecx, 0x10
jb 0x4f7b04
mov ecx, dword [esi]
jmp 0x4f7b06
mov ecx, esi
xor eax, eax
cmp ecx, edx
je 0x4f7b2d
lea esp, [esp]
mov edi, eax
mov ebx, eax
shl edi, 6
shr ebx, 2
add edi, ebx
movsx ebx, byte [ecx]
lea edi, [edi + ebx - 0x61c88647]
inc ecx
xor eax, edi
cmp ecx, edx
jne 0x4f7b10
mov ecx, dword [esp + 0x1c]
xor edx, edx
div dword [ecx + 4]
mov ecx, dword [ecx]
push esi
lea eax, [ecx + edx*4]
call fcn.004017e0
test eax, eax
jne 0x4f7b49
xor bl, bl
jmp 0x4f7b55
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0041a790
mov bl, 1
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x4f7b6d
mov edx, dword [esp + 0x3c]
push edx
call fcn.0048f06d
add esp, 4
mov byte [esp + 0xfc], 1
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x90], esi
jb 0x4f7ba0
mov eax, dword [esp + 0x7c]
push eax
call fcn.0048f06d
add esp, 4
test bl, bl
je 0x4f7c40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
inc eax
lea ecx, [esp + 0x14]
lea edi, [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.0040f8d0
mov esi, eax
mov eax, 0x689cbc
lea edi, [esp + 0x3c]
mov byte [esp + 0xfc], 0x11
call fcn.00445bf0
mov ebx, dword [esp + 0x1c]
mov edi, eax
mov eax, ebx
mov byte [esp + 0xfc], 0x12
call fcn.0041e4c0
cmp dword [esp + 0x50], 0x10
jb 0x4f7c03
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0048f06d
add esp, 4
mov byte [esp + 0xfc], 1
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jb 0x4f7a50
mov edx, dword [esp + 0x7c]
push edx
call fcn.0048f06d
add esp, 4
jmp 0x4f7a50
cmp dword [esp + 0xac], esi
jb 0x4f7c59
mov eax, dword [esp + 0x98]
push eax
call fcn.0048f06d
add esp, 4
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8