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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x44]
xor eax, eax
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov bl, byte [edi + 0x17]
push ebp
push edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x28], eax
call fcn.004f3e40
add esp, 8
test eax, eax
jne 0x4f534f
push ebp
push edi
call fcn.004b8060
mov dword [esp + 0x30], eax
add esp, 8
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x4f4577
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x4f4583
mov eax, dword [eax + 0x14]
mov ebp, dword [eax]
jmp 0x4f4597
cmp cl, 0x8a
jne 0x4f4592
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov ebp, dword [eax]
jmp 0x4f4597
mov ebp, 1
mov eax, dword [edi]
push esi
lea esi, [ebp*4 + 1]
mov dword [esp + 0x1c], ebp
add esi, ebp
push 0
push esi
test eax, eax
je 0x4f45bf
push eax
call fcn.004f0ee0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x20], ecx
jmp 0x4f45cd
call fcn.00507790
add esp, 8
mov dword [esp + 0x20], eax
mov ecx, eax
test ecx, ecx
je 0x4f45e1
push esi
push 0
push ecx
call sub.MSVCRT.dll_memset
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4f51cc
mov esi, dword [edi + 8]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x58]
push ecx
neg eax
lea ecx, [esp + 0x44]
sbb eax, eax
and eax, ecx
push eax
push 3
push dword [esp + 0x5c]
push edi
call fcn.004f8ad0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x40]
push eax
push edi
mov byte [edi + 0x17], 0
call fcn.004b7b20
add esp, 0x24
mov dword [esp + 0x34], eax
xor ecx, ecx
mov byte [edi + 0x17], bl
test ebp, ebp
jle 0x4f464f
mov eax, dword [esp + 0x20]
cmp dword [eax + ecx*4], ecx
jne 0x4f464b
inc ecx
cmp ecx, ebp
jl 0x4f4641
mov eax, dword [esp + 0x34]
cmp ecx, ebp
jne 0x4f465e
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x4f46e5
push ebp
push edi
call fcn.00502db0
add esp, 8
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x14], ecx
test ebp, ebp
jle 0x4f46e5
mov ebp, dword [esp + 0x34]
mov edi, eax
lea ebx, [ebx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + ebx*4]
add edx, edi
cmp dword [esi + 0x78], ecx
jg 0x4f46a2
push 0
push edx
push ebp
push 0x4f
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f46d1
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc ebx
inc ebp
cmp ebx, dword [esp + 0x1c]
jl 0x4f4680
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x38], 5
jne 0x4f4b18
dec dword [edi + 0x38]
xor ebx, ebx
mov eax, dword [edi + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ebx
push dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
push edi
mov dword [esp + 0x2c], ecx
call fcn.004f66b0
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x50]
je 0x4f478c
mov al, byte [edi + 0x13]
test al, al
jne 0x4f4732
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x4f4741
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x48], ebx
cmp dword [esi + 0x78], ecx
jg 0x4f4761
mov eax, dword [esp + 0x14]
push ebx
push eax
push eax
push 0x66
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f478c
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], 0
cmp dword [eax], 0
jle 0x4f4a25
lea ecx, [eax + 8]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x40]
push eax
push dword [ecx]
push edi
call fcn.004f6590
add esp, 0xc
mov ebx, eax
cmp dword [esp + 0x48], 0
mov dword [esp + 0x30], ebx
je 0x4f481e
mov eax, dword [esp + 0x28]
push dword [eax]
call fcn.004f3d60
add esp, 4
test eax, eax
je 0x4f481e
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f47f3
mov eax, dword [esp + 0x48]
push eax
push ebx
push eax
push 0x66
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f481e
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4f483a
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f483a
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
dec eax
cmp dword [esp + 0x4c], eax
jl 0x4f4932
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x50]
jne 0x4f4932
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esi + 0x74]
cmp ecx, ebx
setne al
lea eax, [eax*2 + 0x32]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], edx
jg 0x4f488c
push ebx
mov ebx, dword [esp + 0x54]
push ebx
push ecx
push eax
push esi
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x4f48cb
mov ebx, dword [esp + 0x38]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4f48e1
push ebp
push 0xfffffffffffffffe
push eax
call fcn.004bbca0
add esp, 0xc
jmp 0x4f4913
test edx, edx
jns 0x4f48e9
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4f4908
push 0xfffffffffffffffe
push ebp
push eax
push esi
call fcn.00533cd0
add esp, 0x10
jmp 0x4f4913
test ebp, ebp
je 0x4f4913
mov dword [eax + 0x10], ebp
mov byte [eax + 1], 0xfe
mov ecx, dword [esi + 0x74]
test ecx, ecx
jle 0x4f4a05
mov eax, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov al, byte [eax]
or al, 0x10
movsx dx, al
jmp 0x4f49fd
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esi + 0x74]
cmp ecx, ebx
setne al
lea eax, [eax*2 + 0x33]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], edx
jg 0x4f4964
push ebx
push dword [esp + 0x20]
push ecx
push eax
push esi
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x4f49a3
mov ebx, dword [esp + 0x38]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4f49b9
push ebp
push 0xfffffffffffffffe
push eax
call fcn.004bbca0
add esp, 0xc
jmp 0x4f49eb
test edx, edx
jns 0x4f49c1
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4f49e0
push 0xfffffffffffffffe
push ebp
push eax
push esi
call fcn.00533cd0
add esp, 0x10
jmp 0x4f49eb
test ebp, ebp
je 0x4f49eb
mov dword [eax + 0x10], ebp
mov byte [eax + 1], 0xfe
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4f4a05
mov ecx, dword [esp + 0x2c]
movsx dx, byte [ecx]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x28]
add ecx, 0x14
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [edx]
jl 0x4f47a8
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x4f4acc
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f4a4d
push 0
push dword [esp + 0x58]
push ebx
push 0x32
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4a7c
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f4a99
push 0
push dword [esp + 0x54]
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4acc
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f4aea
push edx
push esi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x4f4af3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
test ebx, ebx
je 0x4f51aa
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f51aa
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
jmp 0x4f51aa
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x54], edx
jne 0x4f4b28
mov dword [esp + 0x28], edx
jmp 0x4f4b36
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
test ebp, ebp
jle 0x4f4c1b
mov ebp, ecx
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx]
mov byte [esp + 0x13], al
cmp al, 0xb0
jne 0x4f4b64
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4f4b6f
mov edx, dword [ecx + 0x14]
mov eax, dword [edx]
jmp 0x4f4b7b
cmp al, 0x8a
jne 0x4f4b9a
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x4f4b9a
cmp byte [esp + 0x13], 0x8a
je 0x4f4b93
cmp byte [ecx + 2], 0x8a
je 0x4f4b93
mov ecx, dword [ebx + edx + 8]
jmp 0x4f4b9a
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ebx + 8]
cmp dword [edi + 0x24], 0
jne 0x4f51cc
push ecx
call fcn.004f3d60
add esp, 4
test eax, eax
je 0x4f4bfc
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f4bcd
push 0
push dword [esp + 0x2c]
push ebp
push 0x32
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4bfc
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x30]
add ebx, 0x14
inc edx
inc ebp
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x1c]
jl 0x4f4b50
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x38], 1
jne 0x4f4cca
mov ecx, dword [esi + 0x74]
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x4f4c45
push dword [esp + 0x14]
push edx
push ebx
push 0x20
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4c70
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4f4c92
push 0
push 0
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4d56
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f4d5a
mov edx, dword [esi + 0x74]
mov ebx, dword [esp + 0x14]
cmp dword [esi + 0x78], edx
jg 0x4f4ce9
push 0
push ebp
push ebx
push 0x5f
push esi
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x4f4d14
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push ebp
push dword [esp + 0x30]
push edx
push esi
call fcn.0051a950
mov eax, dword [esp + 0x60]
add esp, 0x10
push ebp
push ebx
cmp eax, dword [esp + 0x5c]
jne 0x4f4d44
push eax
push dword [esp + 0x24]
push 0x1e
push esi
call fcn.0051a560
add esp, 0x18
jmp 0x4f51aa
mov ebx, dword [esp + 0x20]
push 0
push ebx
push 0x1f
push esi
call fcn.0051a560
add esp, 0x18
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4f4db6
cmp ebp, 1
jne 0x4f4db6
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f4d83
push 0
push dword [esp + 0x54]
push edx
push 0x33
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4db6
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
jne 0x4f4e0d
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f4dda
push 0
push eax
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4e0d
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4f4e38
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f4e2f
push edx
push esi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x4f4e38
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x74]
mov dword [esp + 0x38], edx
cmp dword [esi + 0x78], edx
jg 0x4f4e60
push 0
push dword [esp + 0x54]
push ebx
push 0x26
push esi
call fcn.004ceed0
mov edx, dword [esp + 0x64]
add esp, 0x14
mov dword [esp + 0x38], eax
jmp 0x4f4e8f
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp ebp, 1
jle 0x4f4ea0
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x28], eax
jmp 0x4f4ea4
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], 0
test ebp, ebp
jle 0x4f5068
xor ebx, ebx
mov dword [esp + 0x40], ebx
lea ebx, [ebx]
mov al, byte [edi + 0x13]
test al, al
jne 0x4f4ecf
inc dword [edi + 0x2c]
mov ebp, dword [edi + 0x2c]
jmp 0x4f4ede
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebp, dword [edi + eax*4 + 0x98]
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx]
mov al, dl
cmp al, 0xb0
jne 0x4f4eed
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4f4ef8
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx]
jmp 0x4f4f04
cmp al, 0x8a
jne 0x4f4f2b
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x4f4f27
cmp dl, 0x8a
je 0x4f4f1e
mov eax, dword [esp + 0x24]
cmp byte [eax + 2], 0x8a
je 0x4f4f1e
mov eax, dword [ecx + ebx + 8]
jmp 0x4f4f2d
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + ebx + 8]
jmp 0x4f4f2d
mov ecx, dword [esp + 0x24]
mov eax, ecx
push eax
push edi
call fcn.004f66b0
mov ecx, dword [esi + 0x74]
add esp, 8
mov ebx, eax
cmp dword [esi + 0x78], ecx
jg 0x4f4f58
mov edx, dword [esp + 0x4c]
push ebp
push edx
push dword [esp + 0x20]
push 0x5d
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f4f87
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4f4fac
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x14]
push ebp
push dword [esp + 0x2c]
push eax
push 0x34
push esi
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x4f4fe4
mov edi, dword [esp + 0x48]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4f4ffa
push ebx
push 0xfffffffffffffffe
push eax
call fcn.004bbca0
add esp, 0xc
jmp 0x4f502c
test edx, edx
jns 0x4f5002
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4f5021
push 0xfffffffffffffffe
push ebx
push eax
push esi
call fcn.00533cd0
add esp, 0x10
jmp 0x4f502c
test ebx, ebx
je 0x4f502c
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfe
test ebp, ebp
je 0x4f5044
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f5044
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebp
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x1c]
add ebx, 0x14
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], ebx
cmp ecx, ebp
jl 0x4f4ec0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f5085
push 0
push dword [esp + 0x58]
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f50b8
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp ebp, 1
jle 0x4f5181
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f50df
push edx
push esi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x4f50e8
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4f5106
push 0
push edx
push ebx
push 5
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f5131
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f514e
push 0
push dword [esp + 0x54]
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x4f5181
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x4f518f
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4f519e
mov eax, 0x6a4314
jmp 0x4f51a7
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x34]
je 0x4f51cc
test ecx, ecx
je 0x4f51cc
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f51cc
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi]
pop esi
test ebx, ebx
je 0x4f5284
test ecx, ecx
je 0x4f522f
cmp dword [ecx + 0x210], 0
je 0x4f51f7
push ebx
push ecx
call fcn.004d5010
add esp, 8
jmp 0x4f5284
cmp ebx, dword [ecx + 0x164]
jae 0x4f522f
cmp ebx, dword [ecx + 0x15c]
jb 0x4f5217
mov eax, dword [ecx + 0x158]
mov dword [ebx], eax
mov dword [ecx + 0x158], ebx
jmp 0x4f5284
cmp ebx, dword [ecx + 0x160]
jb 0x4f522f
mov eax, dword [ecx + 0x150]
mov dword [ebx], eax
mov dword [ecx + 0x150], ebx
jmp 0x4f5284
cmp dword [0x69bed0], 0
je 0x4f527a
mov eax, dword [0x6a3fe8]
test eax, eax
je 0x4f524b
push eax
call dword [0x69bf20]
add esp, 4
push ebx
call dword [0x69befc]
sub dword [0x6a3f70], eax
dec dword [0x6a3f94]
push ebx
call dword [0x69bef4]
mov eax, dword [0x6a3fe8]
add esp, 8
test eax, eax
je 0x4f5284
push eax
call dword [0x69bf28]
jmp 0x4f5281
push ebx
call dword [0x69bef4]
add esp, 4
mov ebx, dword [esp + 0x28]
mov ecx, dword [edi]
test ebx, ebx
je 0x4f534f
test ecx, ecx
je 0x4f52f2
cmp dword [ecx + 0x210], 0
je 0x4f52b0
push ebx
push ecx
call fcn.004d5010
add esp, 8
pop edi
pop ebp
pop ebx
add esp, 0x34
ret
cmp ebx, dword [ecx + 0x164]
jae 0x4f52f2
cmp ebx, dword [ecx + 0x15c]
jb 0x4f52d5
mov eax, dword [ecx + 0x158]
pop edi
mov dword [ebx], eax
pop ebp
mov dword [ecx + 0x158], ebx
pop ebx
add esp, 0x34
ret
cmp ebx, dword [ecx + 0x160]
jb 0x4f52f2
mov eax, dword [ecx + 0x150]
pop edi
mov dword [ebx], eax
pop ebp
mov dword [ecx + 0x150], ebx
pop ebx
add esp, 0x34
ret
cmp dword [0x69bed0], 0
je 0x4f5345
mov eax, dword [0x6a3fe8]
test eax, eax
je 0x4f530e
push eax
call dword [0x69bf20]
add esp, 4
push ebx
call dword [0x69befc]
sub dword [0x6a3f70], eax
dec dword [0x6a3f94]
push ebx
call dword [0x69bef4]
mov eax, dword [0x6a3fe8]
add esp, 8
test eax, eax
je 0x4f534f
push eax
call dword [0x69bf28]
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x34
ret
push ebx
call dword [0x69bef4]
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x34
ret