Function at 0x4f507e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5757a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push esi
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x67c4], 5
push 0x5c870c
mov ecx, dword [ebp + 8]
add ecx, 0x5ea4
push ecx
call fcn.0054c6e3
add esp, 8
cmp dword [0x5ea000], 0
jle 0x4f513a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x7188], 0
je 0x4f513a
mov eax, dword [0x5ea000]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x59dc]
push edx
push 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7188]
call fcn.00417fc6
mov ecx, dword [ebp + 8]
add ecx, 0x5ea4
push ecx
mov edx, dword [0x5ea000]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x59dc]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x7188]
call fcn.0041805c
cmp dword [0x5e91c0], 0
jne 0x4f51a6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4e18]
mov dword [eax + 0x62fc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4e14]
mov dword [eax + 0xad8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4e1c]
mov dword [eax + 0x6450], edx
mov eax, dword [ebp + 8]
add eax, 0x4d0c
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x6300
push ecx
call fcn.0054be90
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4e10]
mov dword [edx + 0x644c], ecx
push 0
call fcn.0054deba
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6450]
shl eax, 9
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0054de8b
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
push 0x5c8718
lea eax, [ebp - 0x350]
push eax
call fcn.0054c6e3
add esp, 0xc
mov dword [ebp - 0x2ac], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x650]
mov dword [ebp - 0x2a0], edx
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp + 8]
imul eax, dword [ecx + 0x62fc]
xor edx, edx
mov ecx, 0x64
div ecx
mov dword [ebp - 0x198], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0xad8], 0
je 0x4f5245
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xad8]
shl ecx, 0xb
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x6cc4], 0
mov ecx, dword [ebp - 0x2a0]
sub ecx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
sub ecx, eax
mov dword [ebp - 0x2a8], ecx
lea ecx, [ebp - 0x2bc]
call fcn.00566717
mov dword [ebp - 4], 0
push 0x6785ac
lea edx, [ebp - 0x29c]
push edx
call fcn.0054be90
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x6448], 0
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.0054cfd4
add esp, 4
mov dword [ebp - 0x360], eax
mov edx, dword [ebp - 0x368]
push edx
call fcn.0054cfd4
add esp, 4
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x368]
push eax
push 0
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.0054bf90
add esp, 0xc
mov edx, dword [ebp - 0x368]
push edx
push 0
mov eax, dword [ebp - 0x370]
push eax
call fcn.0054bf90
add esp, 0xc
push 0x80
push 0
lea ecx, [ebp - 0x190]
push ecx
call fcn.0054bf90
add esp, 0xc
mov dword [ebp - 0x19c], 0
jmp 0x4f5336
mov edx, dword [ebp - 0x19c]
add edx, 1
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp + 8]
add eax, 0x6300
push eax
call fcn.0054ce70
add esp, 4
cmp dword [ebp - 0x19c], eax
jge 0x4f69fc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0x368]
push ecx
push 0
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax + 0x6300]
mov dword [ebp - 0x408], ecx
mov edx, dword [ebp - 0x408]
sub edx, 0x30
mov dword [ebp - 0x408], edx
cmp dword [ebp - 0x408], 0x12
ja case.0x4f53c0.2
mov ecx, dword [ebp - 0x408]
xor eax, eax
mov al, byte [ecx + 0x4f6ad1]
jmp dword [eax*4 + 0x4f6ac5]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6400], 0x100
jne 0x4f541d
mov dword [ebp - 0x37c], 0
jmp 0x4f53f1
mov eax, dword [ebp - 0x37c]
add eax, 1
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
cmp ecx, dword [ebp - 0x368]
jge 0x4f541d
mov eax, dword [ebp - 0x37c]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x360]
add eax, dword [ebp - 0x37c]
mov byte [eax], dl
jmp 0x4f53e2
jmp 0x4f5726
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x19c]
mov dl, byte [ecx + 0x6300]
mov byte [ebp - 0x40c], dl
cmp byte [ebp - 0x40c], 0x39
je 0x4f5454
cmp byte [ebp - 0x40c], 0x41
je 0x4f547b
cmp byte [ebp - 0x40c], 0x42
je 0x4f54a2
jmp 0x4f54c7
lea eax, [ebp - 0x29c]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x110]
push ecx
push 0
push str.Customize1
push 0x5c8728
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4f54c7
lea edx, [ebp - 0x29c]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
push 0
push str.Customize2
push 0x5c8744
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4f54c7
lea ecx, [ebp - 0x29c]
push ecx
push pe_nt_image_headers32
lea edx, [ebp - 0x110]
push edx
push 0
push str.Customize3
push str.CopyCmpPattern
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00566829
test eax, eax
je 0x4f55fe
lea ecx, [ebp - 0x2bc]
call fcn.00566b23
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
push ecx
call fcn.0054cfd4
add esp, 4
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x380]
push edx
mov eax, dword [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00566946
lea ecx, [ebp - 0x2bc]
call fcn.00566a44
mov ecx, dword [ebp - 0x380]
cmp ecx, dword [ebp - 0x368]
jle 0x4f555f
mov edx, dword [ebp - 0x368]
push edx
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.0054c7e0
add esp, 0xc
jmp 0x4f55fc
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x384], edx
cmp dword [ebp - 0x384], 0
jle 0x4f55fc
mov eax, dword [ebp - 0x384]
cmp eax, dword [ebp - 0x380]
jge 0x4f5594
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x410], ecx
jmp 0x4f55a0
mov edx, dword [ebp - 0x380]
mov dword [ebp - 0x410], edx
mov eax, dword [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x35c]
push ecx
mov edx, dword [ebp - 0x368]
sub edx, dword [ebp - 0x384]
mov eax, dword [ebp - 0x360]
add eax, edx
push eax
call fcn.0054c7e0
add esp, 0xc
mov ecx, dword [ebp - 0x384]
cmp ecx, dword [ebp - 0x380]
jle 0x4f55ed
mov edx, dword [ebp - 0x384]
sub edx, dword [ebp - 0x380]
mov dword [ebp - 0x384], edx
jmp 0x4f55f7
mov dword [ebp - 0x384], 0
jmp 0x4f556b
jmp 0x4f564d
mov dword [ebp - 0x388], 0
mov eax, dword [ebp - 0x360]
push eax
call fcn.0054ccb2
add esp, 4
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3c4]
jmp 0x4f6ab6
jmp 0x4f5726
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx + 0x6300]
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
sub ecx, 0x31
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 0x12
ja case.0x4f568e.9
mov eax, dword [ebp - 0x414]
xor edx, edx
mov dl, byte [eax + 0x4f6b0c]
jmp dword [edx*4 + 0x4f6ae4]
mov dword [ebp - 0x194], 1
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 2
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 3
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 4
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 5
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 6
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 7
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 8
jmp case.0x4f568e.9
mov dword [ebp - 0x194], 0xc
mov ecx, dword [ebp - 0x368]
push ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x6400]
push ecx
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054bf90
add esp, 0xc
mov dword [ebp - 0x36c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x644c], 0
je 0x4f636c
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
mov ecx, eax
sar ecx, 9
mov eax, dword [ebp - 0x198]
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
mov esi, eax
sar esi, 9
mov eax, dword [ebp - 0x198]
xor edx, edx
div esi
neg edx
sbb edx, edx
neg edx
add ecx, edx
mov dword [ebp - 0x3a4], ecx
mov edx, dword [ebp - 0x3a4]
shl edx, 2
push edx
call fcn.0054cfd4
add esp, 4
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x3a4]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x36c]
push ecx
call fcn.0054bf90
add esp, 0xc
mov edx, dword [ebp - 0x3a4]
mov dword [ebp - 0x38c], edx
mov byte [ebp - 0x39c], 0
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
mov ecx, eax
sar ecx, 9
mov eax, dword [ebp - 0x2a0]
xor edx, edx
div ecx
sub eax, 1
mov dword [ebp - 0x3a8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x614]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x3a8]
cdq
idiv dword [ebp - 0x398]
mov dword [ebp - 0x3a8], eax
cmp dword [ebp - 0x38c], 0
jle 0x4f5aff
call fcn.0054de98
mov dword [ebp - 0x390], eax
call fcn.0054de98
and eax, reloc.WSOCK32.dll_accept
jns 0x4f5858
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x4f5870
call fcn.0054de98
mov ecx, dword [ebp - 0x390]
imul ecx, eax
mov dword [ebp - 0x390], ecx
call fcn.0054de98
cdq
idiv dword [ebp - 0x398]
mov dword [ebp - 0x394], edx
mov ecx, dword [ebp - 0x394]
imul ecx, dword [ebp - 0x3a8]
mov eax, dword [ebp - 0x390]
xor edx, edx
div dword [ebp - 0x3a8]
add ecx, edx
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x36c]
mov dword [eax + edx*4], ecx
mov dword [ebp - 0x3a0], 0
mov ecx, dword [ebp - 0x378]
mov edx, dword [ebp - 0x36c]
mov eax, dword [edx + ecx*4]
imul eax, dword [ebp - 0x368]
shr eax, 9
cmp eax, dword [ebp - 0x2a0]
jbe 0x4f58e3
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3ac], 0
jmp 0x4f58fe
mov ecx, dword [ebp - 0x3ac]
add ecx, 1
mov dword [ebp - 0x3ac], ecx
mov edx, dword [ebp - 0x3ac]
cmp edx, dword [ebp - 0x378]
jge 0x4f593a
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ebp - 0x3ac]
mov esi, dword [ebp - 0x36c]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esi + edx*4]
jne 0x4f5938
mov dword [ebp - 0x3a0], 1
jmp 0x4f593a
jmp 0x4f58ef
mov cl, byte [ebp - 0x39c]
add cl, 1
mov byte [ebp - 0x39c], cl
cmp dword [ebp - 0x3a0], 0
jne 0x4f5970
mov edx, dword [ebp - 0x38c]
sub edx, 1
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0x378]
add eax, 1
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004dece1
add esp, 4
test eax, eax
je 0x4f59c5
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054ccb2
add esp, 4
mov eax, dword [ebp - 0x370]
push eax
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3c8]
jmp 0x4f6ab6
cmp dword [0x5ea000], 0
jle 0x4f5afa
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x7188], 0
je 0x4f5afa
mov edx, dword [ebp - 0x39c]
and edx, 0xff
cmp edx, 0x50
jge 0x4f59fc
mov byte [ebp - 0x2cc], 0x5c
jmp 0x4f5a1e
mov eax, dword [ebp - 0x39c]
and eax, 0xff
cmp eax, 0xa0
jge 0x4f5a17
mov byte [ebp - 0x2cc], 0x7c
jmp 0x4f5a1e
mov byte [ebp - 0x2cc], 0x2f
mov ecx, dword [ebp - 0x39c]
and ecx, 0xff
cmp ecx, 0xff
jne 0x4f5a39
mov byte [ebp - 0x39c], 0
push 0x80
push 0
lea edx, [ebp - 0x350]
push edx
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp - 0x2cc]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x3a4]
push ecx
mov edx, dword [ebp - 0x3a4]
sub edx, dword [ebp - 0x38c]
push edx
push str.CopyCompare___Gen_PatternList___d__d_____c
lea eax, [ebp - 0x350]
push eax
call fcn.0054c6e3
add esp, 0x14
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x190]
push edx
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x4f5afa
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.0054be90
add esp, 8
mov edx, dword [0x5ea000]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x59dc]
push ecx
push 6
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x7188]
call fcn.00417fc6
lea eax, [ebp - 0x350]
push eax
mov ecx, dword [0x5ea000]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x59dc]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x7188]
call fcn.0041805c
jmp 0x4f582f
mov dword [ebp - 0x358], 0
jmp 0x4f5b1a
mov edx, dword [ebp - 0x358]
add edx, 1
mov dword [ebp - 0x358], edx
mov eax, dword [ebp - 0x358]
cmp eax, dword [ebp - 0x3a4]
jge 0x4f5e9b
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
mov ecx, eax
sar ecx, 9
mov eax, dword [ebp - 0x198]
xor edx, edx
div ecx
test edx, edx
je 0x4f5ba4
mov edx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0x3a4]
sub ecx, dword [eax + edx*4]
cmp ecx, 1
jne 0x4f5ba4
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
mov ecx, eax
sar ecx, 9
mov eax, dword [ebp - 0x198]
xor edx, edx
div ecx
mov dword [ebp - 0x354], edx
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov edx, dword [ebp - 0x358]
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ecx + edx*4]
imul edx, eax
mov dword [ebp - 0x3b8], edx
mov dword [ebp - 0x3b4], 0
jmp 0x4f5be9
mov eax, dword [ebp - 0x3b4]
add eax, 1
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
cmp dword [ebp - 0x3b4], eax
jge 0x4f5ca3
mov ecx, dword [ebp - 0x3b8]
add ecx, dword [ebp - 0x3b4]
sar ecx, 0x18
mov edx, dword [ebp - 0x3b4]
shl edx, 9
mov eax, dword [ebp - 0x360]
mov byte [eax + edx + 0x1fc], cl
mov ecx, dword [ebp - 0x3b8]
add ecx, dword [ebp - 0x3b4]
sar ecx, 0x10
mov edx, dword [ebp - 0x3b4]
shl edx, 9
mov eax, dword [ebp - 0x360]
mov byte [eax + edx + 0x1fd], cl
mov ecx, dword [ebp - 0x3b8]
add ecx, dword [ebp - 0x3b4]
sar ecx, 8
mov edx, dword [ebp - 0x3b4]
shl edx, 9
mov eax, dword [ebp - 0x360]
mov byte [eax + edx + 0x1fe], cl
mov ecx, dword [ebp - 0x3b8]
add ecx, dword [ebp - 0x3b4]
and ecx, 0xff
mov edx, dword [ebp - 0x3b4]
shl edx, 9
mov eax, dword [ebp - 0x360]
mov byte [eax + edx + 0x1ff], cl
jmp 0x4f5bda
push 0
push 0
push 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6cc4]
push edx
push 0x2a
mov eax, dword [ebp - 0x354]
shl eax, 9
push eax
mov ecx, dword [ebp - 0x360]
push ecx
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov edx, dword [ebp - 0x358]
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ecx + edx*4]
imul edx, eax
mov eax, dword [ebp - 0x2ac]
add eax, edx
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004cff24
add esp, 0x24
mov dword [ebp - 0x374], eax
mov edx, dword [ebp + 8]
push edx
call fcn.004dece1
add esp, 4
test eax, eax
je 0x4f5d5d
mov eax, dword [ebp - 0x360]
push eax
call fcn.0054ccb2
add esp, 4
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3cc]
jmp 0x4f6ab6
cmp dword [0x5ea000], 0
jle 0x4f5e2b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x7188], 0
je 0x4f5e2b
push 0x80
push 0
lea eax, [ebp - 0x350]
push eax
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp - 0x358]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x3a4]
push eax
push str.CopyCompare___Write___3d______
lea ecx, [ebp - 0x350]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x350]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x4f5e2b
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x190]
push edx
call fcn.0054be90
add esp, 8
mov eax, dword [0x5ea000]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x59dc]
push edx
push 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7188]
call fcn.00417fc6
lea ecx, [ebp - 0x350]
push ecx
mov edx, dword [0x5ea000]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x59dc]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x7188]
call fcn.0041805c
cmp dword [ebp - 0x374], 0
jne 0x4f5e96
mov eax, dword [ebp - 0x2d0]
add eax, 1
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 4
jle 0x4f5e91
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.0054ccb2
add esp, 4
mov edx, dword [ebp - 0x370]
push edx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3d0]
jmp 0x4f6ab6
jmp 0x4f5ba4
jmp 0x4f5b0b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5e70], 0
je 0x4f5ef6
mov ecx, dword [ebp + 8]
push ecx
call fcn.00500fab
add esp, 4
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0
jne 0x4f5ef6
mov edx, dword [ebp + 8]
mov dword [edx + 0x67c4], 0x2e
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3d4]
jmp 0x4f6ab6
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x358], 0
jmp 0x4f5f1b
mov eax, dword [ebp - 0x358]
add eax, 1
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
cmp ecx, dword [ebp - 0x3a4]
jge 0x4f6358
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
mov ecx, eax
sar ecx, 9
mov eax, dword [ebp - 0x198]
xor edx, edx
div ecx
test edx, edx
je 0x4f5fa5
mov edx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0x3a4]
sub ecx, dword [eax + edx*4]
cmp ecx, 1
jne 0x4f5fa5
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
mov ecx, eax
sar ecx, 9
mov eax, dword [ebp - 0x198]
xor edx, edx
div ecx
mov dword [ebp - 0x354], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6cc4]
push eax
push 0x28
mov ecx, dword [ebp - 0x354]
shl ecx, 9
push ecx
mov edx, dword [ebp - 0x370]
push edx
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov ecx, dword [ebp - 0x358]
mov edx, dword [ebp - 0x36c]
mov ecx, dword [edx + ecx*4]
imul ecx, eax
mov edx, dword [ebp - 0x2ac]
add edx, ecx
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004d0986
add esp, 0x18
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004dece1
add esp, 4
test eax, eax
je 0x4f6056
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054ccb2
add esp, 4
mov eax, dword [ebp - 0x370]
push eax
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3d8]
jmp 0x4f6ab6
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov ecx, dword [ebp - 0x358]
mov edx, dword [ebp - 0x36c]
mov ecx, dword [edx + ecx*4]
imul ecx, eax
mov dword [ebp - 0x3c0], ecx
mov dword [ebp - 0x3bc], 0
jmp 0x4f609b
mov edx, dword [ebp - 0x3bc]
add edx, 1
mov dword [ebp - 0x3bc], edx
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
cmp dword [ebp - 0x3bc], eax
jge 0x4f6154
mov eax, dword [ebp - 0x3c0]
add eax, dword [ebp - 0x3bc]
sar eax, 0x18
mov ecx, dword [ebp - 0x3bc]
shl ecx, 9
mov edx, dword [ebp - 0x360]
mov byte [edx + ecx + 0x1fc], al
mov eax, dword [ebp - 0x3c0]
add eax, dword [ebp - 0x3bc]
sar eax, 0x10
mov ecx, dword [ebp - 0x3bc]
shl ecx, 9
mov edx, dword [ebp - 0x360]
mov byte [edx + ecx + 0x1fd], al
mov eax, dword [ebp - 0x3c0]
add eax, dword [ebp - 0x3bc]
sar eax, 8
mov ecx, dword [ebp - 0x3bc]
shl ecx, 9
mov edx, dword [ebp - 0x360]
mov byte [edx + ecx + 0x1fe], al
mov eax, dword [ebp - 0x3c0]
add eax, dword [ebp - 0x3bc]
and eax, 0xff
mov ecx, dword [ebp - 0x3bc]
shl ecx, 9
mov edx, dword [ebp - 0x360]
mov byte [edx + ecx + 0x1ff], al
jmp 0x4f608c
cmp dword [0x5ea000], 0
jle 0x4f6222
mov eax, dword [ebp + 8]
cmp dword [eax + 0x7188], 0
je 0x4f6222
push 0x80
push 0
lea ecx, [ebp - 0x350]
push ecx
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp - 0x358]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x3a4]
push eax
push 0x5c87bc
lea edx, [ebp - 0x350]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x4f6222
lea edx, [ebp - 0x350]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.0054be90
add esp, 8
mov ecx, dword [0x5ea000]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x59dc]
push eax
push 6
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x7188]
call fcn.00417fc6
lea edx, [ebp - 0x350]
push edx
mov eax, dword [0x5ea000]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x59dc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7188]
call fcn.0041805c
cmp dword [ebp - 0x374], 0
jne 0x4f628d
mov ecx, dword [ebp - 0x2d0]
add ecx, 1
mov dword [ebp - 0x2d0], ecx
cmp dword [ebp - 0x2d0], 4
jle 0x4f6288
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054ccb2
add esp, 4
mov eax, dword [ebp - 0x370]
push eax
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3dc]
jmp 0x4f6ab6
jmp 0x4f5fa5
mov dword [ebp - 0x364], 0
jmp 0x4f62a8
mov ecx, dword [ebp - 0x364]
add ecx, 1
mov dword [ebp - 0x364], ecx
mov edx, dword [ebp - 0x354]
shl edx, 9
cmp dword [ebp - 0x364], edx
jge 0x4f6353
mov eax, dword [ebp - 0x370]
add eax, dword [ebp - 0x364]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x360]
add edx, dword [ebp - 0x364]
xor eax, eax
mov al, byte [edx]
cmp ecx, eax
je 0x4f634e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6440], 0
jne 0x4f633f
mov edx, dword [ebp + 8]
mov dword [edx + 0x6448], 1
mov eax, dword [ebp - 0x360]
push eax
call fcn.0054ccb2
add esp, 4
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3e0]
jmp 0x4f6ab6
mov edx, dword [ebp - 0x2a4]
add edx, 1
mov dword [ebp - 0x2a4], edx
jmp 0x4f6299
jmp 0x4f5f0c
mov eax, dword [ebp - 0x36c]
push eax
call fcn.0054ccb2
add esp, 4
jmp 0x4f696c
mov dword [ebp - 0x358], 0
jmp 0x4f6398
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov ecx, dword [ebp - 0x358]
add ecx, eax
mov dword [ebp - 0x358], ecx
mov edx, dword [ebp - 0x358]
cmp edx, dword [ebp - 0x198]
jge 0x4f65cf
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x198]
sub ecx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
cmp ecx, eax
jae 0x4f63f6
mov edx, dword [ebp - 0x198]
sub edx, dword [ebp - 0x358]
mov dword [ebp - 0x354], edx
push 0
push 0
push 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6cc4]
push ecx
push 0x2a
mov edx, dword [ebp - 0x354]
shl edx, 9
push edx
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, dword [ebp - 0x358]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004cff24
add esp, 0x24
mov dword [ebp - 0x374], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004dece1
add esp, 4
test eax, eax
je 0x4f6490
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.0054ccb2
add esp, 4
mov edx, dword [ebp - 0x370]
push edx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3e4]
jmp 0x4f6ab6
cmp dword [0x5ea000], 0
jle 0x4f655f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x7188], 0
je 0x4f655f
push 0x80
push 0
lea ecx, [ebp - 0x350]
push ecx
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp - 0x358]
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x198]
push eax
push str.CopyCompare___Write____3d______
lea edx, [ebp - 0x350]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x4f655f
lea edx, [ebp - 0x350]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.0054be90
add esp, 8
mov ecx, dword [0x5ea000]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x59dc]
push eax
push 6
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x7188]
call fcn.00417fc6
lea edx, [ebp - 0x350]
push edx
mov eax, dword [0x5ea000]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x59dc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7188]
call fcn.0041805c
cmp dword [ebp - 0x374], 0
jne 0x4f65ca
mov ecx, dword [ebp - 0x2d0]
add ecx, 1
mov dword [ebp - 0x2d0], ecx
cmp dword [ebp - 0x2d0], 4
jle 0x4f65c5
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054ccb2
add esp, 4
mov eax, dword [ebp - 0x370]
push eax
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3e8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3e8]
jmp 0x4f6ab6
jmp 0x4f63f6
jmp 0x4f6378
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5e70], 0
je 0x4f662a
mov edx, dword [ebp + 8]
push edx
call fcn.00500fab
add esp, 4
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0
jne 0x4f662a
mov eax, dword [ebp + 8]
mov dword [eax + 0x67c4], 0x2e
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3ec]
jmp 0x4f6ab6
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x358], 0
jmp 0x4f6660
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov ecx, dword [ebp - 0x358]
add ecx, eax
mov dword [ebp - 0x358], ecx
mov edx, dword [ebp - 0x358]
cmp edx, dword [ebp - 0x198]
jge 0x4f696c
mov eax, dword [ebp - 0x368]
push eax
push 0
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x198]
sub ecx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x368]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
cmp ecx, eax
jae 0x4f66d6
mov edx, dword [ebp - 0x198]
sub edx, dword [ebp - 0x358]
mov dword [ebp - 0x354], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6cc4]
push ecx
push 0x28
mov edx, dword [ebp - 0x354]
shl edx, 9
push edx
mov eax, dword [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, dword [ebp - 0x358]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d0986
add esp, 0x18
mov dword [ebp - 0x374], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004dece1
add esp, 4
test eax, eax
je 0x4f6767
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.0054ccb2
add esp, 4
mov edx, dword [ebp - 0x370]
push edx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3f0]
jmp 0x4f6ab6
cmp dword [0x5ea000], 0
jle 0x4f6836
mov eax, dword [ebp + 8]
cmp dword [eax + 0x7188], 0
je 0x4f6836
push 0x80
push 0
lea ecx, [ebp - 0x350]
push ecx
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp - 0x358]
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x198]
push eax
push str.CopyCompare___Read___3d______
lea edx, [ebp - 0x350]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x4f6836
lea edx, [ebp - 0x350]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.0054be90
add esp, 8
mov ecx, dword [0x5ea000]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x59dc]
push eax
push 6
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x7188]
call fcn.00417fc6
lea edx, [ebp - 0x350]
push edx
mov eax, dword [0x5ea000]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x59dc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7188]
call fcn.0041805c
cmp dword [ebp - 0x374], 0
jne 0x4f68a1
mov ecx, dword [ebp - 0x2d0]
add ecx, 1
mov dword [ebp - 0x2d0], ecx
cmp dword [ebp - 0x2d0], 4
jle 0x4f689c
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054ccb2
add esp, 4
mov eax, dword [ebp - 0x370]
push eax
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3f4]
jmp 0x4f6ab6
jmp 0x4f66d6
mov dword [ebp - 0x364], 0
jmp 0x4f68bc
mov ecx, dword [ebp - 0x364]
add ecx, 1
mov dword [ebp - 0x364], ecx
mov edx, dword [ebp - 0x354]
shl edx, 9
cmp dword [ebp - 0x364], edx
jge 0x4f6967
mov eax, dword [ebp - 0x370]
add eax, dword [ebp - 0x364]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x360]
add edx, dword [ebp - 0x364]
xor eax, eax
mov al, byte [edx]
cmp ecx, eax
je 0x4f6962
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6440], 0
jne 0x4f6953
mov edx, dword [ebp + 8]
mov dword [edx + 0x6448], 1
mov eax, dword [ebp - 0x360]
push eax
call fcn.0054ccb2
add esp, 4
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3f8]
jmp 0x4f6ab6
mov edx, dword [ebp - 0x2a4]
add edx, 1
mov dword [ebp - 0x2a4], edx
jmp 0x4f68ad
jmp 0x4f6640
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6440], 1
jne 0x4f6990
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6448]
add edx, dword [ebp - 0x2a4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6448], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6440], 2
jne 0x4f69f7
cmp dword [ebp - 0x2a4], 0
jne 0x4f69f7
mov edx, dword [ebp + 8]
mov dword [edx + 0x6448], 0
mov eax, dword [ebp - 0x360]
push eax
call fcn.0054ccb2
add esp, 4
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x3fc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x3fc]
jmp 0x4f6ab6
jmp 0x4f5327
mov edx, dword [ebp + 8]
push edx
call fcn.004c4575
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6440], 0
je 0x4f6a76
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6448], 0
je 0x4f6a76
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x6ca4]
cmp ecx, dword [eax + 0xadc]
jl 0x4f6a76
mov edx, dword [ebp - 0x360]
push edx
call fcn.0054ccb2
add esp, 4
mov eax, dword [ebp - 0x370]
push eax
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x400], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x400]
jmp 0x4f6ab6
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.0054ccb2
add esp, 4
mov edx, dword [ebp - 0x370]
push edx
call fcn.0054ccb2
add esp, 4
mov dword [ebp - 0x404], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.0056676c
mov eax, dword [ebp - 0x404]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret