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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x584cf4
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, 1
add dword [edi + 0x18], ecx
cmp dword [edi + 0x168], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jne 0x4fdd51
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00504ff0
mov esi, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0xcc]
push eax
mov dword [esp + 0x34], edx
call fcn.004fedc0
mov dword [esp + 0x138], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
cmp esi, ebx
mov byte [esp + 0x138], 1
jle 0x4fdc57
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], esi
jmp 0x4fdb70
lea eax, [esp + 0x110]
lea esi, [esp + 0x94]
call fcn.00507ba0
mov esi, dword [esp + 0xe0]
cmp esi, ebx
mov edx, dword [esp + 0xe4]
je 0x4fdbba
mov ecx, dword [esp + 0xe8]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x4fdbba
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0xe4], edx
jmp 0x4fdbe4
cmp esi, edx
mov edi, edx
jbe 0x4fdbc5
call fcn.00553698
push edi
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xc4]
push edx
call fcn.00507d90
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x100]
cmp esi, ebx
mov edx, dword [esp + 0x104]
je 0x4fdc1b
mov ecx, dword [esp + 0x108]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x4fdc1b
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0x104], edx
jmp 0x4fdc4c
cmp esi, edx
mov edi, edx
jbe 0x4fdc26
call fcn.00553698
push edi
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xd0]
push ecx
lea eax, [esp + 0x10c]
call fcn.00507d90
mov edi, dword [esp + 0x18]
sub dword [esp + 0x44], 1
jne 0x4fdb70
mov eax, dword [esp + 0x30]
cmp eax, ebx
jle 0x4fdcf6
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], eax
jmp 0x4fdc70
lea ebx, [esp + 0x94]
lea esi, [esp + 0xcc]
call fcn.00506df0
mov esi, dword [esp + 0xf0]
test esi, esi
mov edx, dword [esp + 0xf4]
je 0x4fdcbe
mov ecx, dword [esp + 0xf8]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x4fdcbe
mov dword [edx], 0
add edx, 4
mov dword [esp + 0xf4], edx
jmp 0x4fdceb
cmp esi, edx
mov ebx, edx
jbe 0x4fdcc9
call fcn.00553698
push ebx
lea eax, [esp + 0xf0]
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xfc]
call fcn.00507d90
sub dword [esp + 0x44], 1
jne 0x4fdc70
lea esi, [edi + 8]
lea ebx, [esp + 0xcc]
call fcn.00507080
xor ebx, ebx
mov byte [esp + 0x138], bl
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x4fdd22
push eax
call fcn.005308f6
add esp, 4
lea ecx, [esp + 0xcc]
push ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x13c], 0xffffffff
call fcn.004fee20
xor ebx, ebx
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
mov esi, dword [edi + 0x18]
mov dword [esp + 0xc0], esi
je 0x4fdd6e
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 6
cmp esi, eax
jb 0x4fdd73
call fcn.00553698
mov eax, dword [edi + 0xc]
mov ecx, esi
shl ecx, 6
add eax, ecx
push eax
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0xcc], ecx
call fcn.004feef0
mov dword [esp + 0x138], 2
mov eax, dword [esp + 0x68]
cmp eax, ebx
jne 0x4fdda8
mov dword [esp + 0x2c], ebx
jmp 0x4fddb5
mov ecx, dword [esp + 0x6c]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
jne 0x4fddc3
mov dword [esp + 0x30], ebx
jmp 0x4fddd0
mov eax, dword [esp + 0x7c]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x18]
lea edi, [ebx + 0x40]
push 5
push str.table
mov ecx, edi
mov dword [esp + 0xc0], edi
call fcn.00402250
push edi
lea esi, [ebx + 0x264]
call fcn.00507190
mov eax, dword [edi]
push edi
push eax
push ebx
call fcn.00502f20
push ecx
mov ecx, esp
mov dword [esp + 0xb0], esp
push eax
call fcn.00402390
call fcn.00503260
mov dword [esp + 0x1c], 0
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4fde39
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x144], 4
call fcn.00504410
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fde88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xb0]
push ecx
lea esi, [esp + 0x48]
call fcn.005046c0
mov ecx, dword [esp + 0x18]
push 1
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0xb0]
push eax
push ecx
mov byte [esp + 0x148], 5
call fcn.00505420
mov ebx, dword [esp + 0x18]
mov esi, ebx
call fcn.00502370
cmp dword [ebx + 0x168], 1
mov edi, dword [esp + 0x68]
je 0x4fe14f
test edi, edi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
jne 0x4fdef5
xor eax, eax
jmp 0x4fdefe
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
mov ecx, dword [ebx + 0xac]
lea edx, [ecx + eax - 1]
lea eax, [esp + 0x64]
mov dword [esp + 0x10], edx
xor esi, esi
call fcn.00507050
test eax, eax
jbe 0x4fdf57
jmp 0x4fdf20
test edi, edi
je 0x4fdf31
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x4fdf3a
call fcn.00553698
mov edi, dword [esp + 0x68]
mov eax, dword [edi + esi*4]
add eax, dword [ebx + 0xac]
add esi, 1
add dword [esp + 0x10], eax
lea eax, [esp + 0x64]
call fcn.00507050
cmp esi, eax
jb 0x4fdf20
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x4fdf63
xor eax, eax
jmp 0x4fdf6c
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
mov ecx, dword [ebx + 0xac]
mov edx, dword [esp + 0x40]
add ecx, eax
lea eax, [edx + ecx - 1]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x1c], 0
call fcn.00507050
test eax, eax
jbe 0x4fdfdb
mov edi, dword [esp + 0x1c]
lea esp, [esp]
test esi, esi
je 0x4fdfb1
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x4fdfba
call fcn.00553698
mov esi, dword [esp + 0x78]
mov ecx, dword [esi + edi*4]
add ecx, dword [ebx + 0xac]
lea eax, [esp + 0x74]
add dword [esp + 0x40], ecx
add edi, 1
call fcn.00507050
cmp edi, eax
jb 0x4fdfa0
mov edi, dword [esp + 0x68]
mov eax, 6
cmp dword [ebx + 0x8c], eax
je 0x4fdff0
mov eax, dword [ebx + 0x90]
add eax, eax
add dword [esp + 0x10], eax
add dword [esp + 0x40], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
jge 0x4fe13f
sub eax, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x14], ebx
call fcn.00507050
test eax, eax
mov esi, dword [esp + 0x88]
jbe 0x4fe078
mov edi, 1
test esi, esi
je 0x4fe04c
mov eax, dword [esp + 0x8c]
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x4fe058
call fcn.00553698
mov esi, dword [esp + 0x88]
cmp dword [esi + ebx*4], 0
jne 0x4fe062
add dword [esp + 0x14], edi
lea eax, [esp + 0x84]
add ebx, edi
call fcn.00507050
cmp ebx, eax
jb 0x4fe038
mov edi, dword [esp + 0x68]
xor ebx, ebx
lea ebx, [ebx]
test esi, esi
je 0x4fe0fa
mov eax, dword [esp + 0x8c]
sub eax, esi
sar eax, 2
cmp ebx, eax
jae 0x4fe0fa
cmp dword [esp + 0x14], 0
jle 0x4fe0fa
cmp ebx, eax
jb 0x4fe0af
call fcn.00553698
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x68]
cmp dword [esi + ebx*4], 0
jne 0x4fe0f5
mov eax, dword [esp + 0x20]
cdq
idiv dword [esp + 0x14]
test edi, edi
mov esi, eax
je 0x4fe0d1
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
cmp ebx, eax
jb 0x4fe0da
call fcn.00553698
mov edi, dword [esp + 0x68]
add dword [edi + ebx*4], esi
sub dword [esp + 0x20], esi
sub dword [esp + 0x14], 1
add dword [esp + 0x10], esi
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x68]
add ebx, 1
jmp 0x4fe080
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x10], edx
jge 0x4fe137
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x84]
sub eax, 1
je 0x4fe128
sub eax, 1
jne 0x4fe137
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
jmp 0x4fe137
mov eax, edx
sub eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x34], eax
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x3c], eax
jmp 0x4fe153
mov esi, dword [esp + 0x78]
cmp dword [ebx + 0x168], 0
jne 0x4fe2c0
mov eax, dword [ebx + 0x7c]
test eax, eax
jl 0x4fe19b
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x160]
push 0
push 5
push edx
mov edx, dword [ecx + 0x70]
push edx
mov edx, dword [ecx + 0x64]
push edx
push eax
lea eax, [ecx + 0xd4]
push eax
lea eax, [esp + 0x50]
call fcn.004f9990
mov ebx, dword [esp + 0x18]
jmp 0x4fe248
mov eax, dword [ebx + 0x80]
cmp dword [eax - 0xc], 0
je 0x4fe250
push ecx
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
lea esi, [eax - 0x10]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xac], esp
mov dword [esp + 0x20], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4fe1de
cmp eax, dword [esi]
jne 0x4fe1de
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4fe21a
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4fe1f7
call fcn.00426f00
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.005523bd
add esp, 0x10
mov ecx, dword [esp + 0x20]
add edi, 0x10
mov dword [ecx], edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
sub edx, eax
push edx
mov edx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x160]
push ecx
push eax
push ebx
call fcn.005063d0
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x78]
mov ecx, dword [ebx + 0x90]
test ecx, ecx
jle 0x4fe2c0
cmp dword [ebx + 0x148], 0
je 0x4fe286
mov eax, dword [ebx + 0x8c]
test eax, eax
mov edx, dword [ebx + 0x160]
je 0x4fe2c0
push ecx
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [ebx + 0x6c]
push eax
mov eax, dword [ebx + 0x68]
push eax
push ecx
mov esi, edx
jmp 0x4fe2a5
mov edx, dword [ebx + 0x8c]
test edx, edx
mov eax, dword [ebx + 0x14c]
je 0x4fe2c0
mov esi, dword [ebx + 0x160]
push ecx
push edx
mov edx, dword [esp + 0x48]
push eax
push eax
push edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
call fcn.004faa90
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa0], edx
mov edx, 1
cmp dword [ebx + 0x168], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], eax
je 0x4fe330
cmp dword [ebx + 0x8c], 6
jne 0x4fe30c
add ecx, 3
mov eax, 3
jmp 0x4fe314
mov eax, dword [ebx + 0x90]
add ecx, eax
add dword [esp + 0x98], eax
sub dword [esp + 0x9c], eax
sub dword [esp + 0xa0], eax
mov dword [esp + 0x94], ecx
cmp dword [esp + 0x2c], 0
je 0x4fe5ef
cmp dword [esp + 0x30], 0
je 0x4fe5ef
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.00530e1f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4fe366
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x138], 6
call fcn.00530e1f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4fe398
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x138], 7
call fcn.00530e1f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4fe3ca
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x138], 8
cmp dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
jle 0x4fe56a
push ecx
mov ecx, esp
mov dword [esp + 0xac], esp
push 0x5c0384
call fcn.00402390
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x24]
call fcn.005049a0
test eax, eax
je 0x4fe551
mov esi, dword [esp + 0x20]
lea ebx, [esp + 0x20]
mov eax, edi
mov dword [esp + 0x20], esi
call fcn.005052c0
mov ecx, dword [esp + 0x20]
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0xbc]
push edx
mov ecx, edi
call fcn.004269f0
mov byte [esp + 0x138], 9
mov eax, dword [eax]
mov ebx, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4fe4fa
cmp dword [ebx + 0xc], 0
jl 0x4fe4ec
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4fe4ec
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4fe48f
cmp eax, dword [esi]
jne 0x4fe48f
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4fe4ca
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4fe1f2
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.005523bd
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fe4e3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x4fe4fa
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402250
mov byte [esp + 0x138], 8
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fe525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.004fef70
mov eax, dword [esp + 0x20]
add eax, 5
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jl 0x4fe3f0
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x138], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fe592
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x138], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fe5ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fe5e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x78]
mov edx, 1
cmp dword [ebx + 0x168], 0
je 0x4fec96
cmp dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
jl 0x4fe947
mov edi, edi
cmp dword [esp + 0x30], 0
mov dword [esp + 0x50], 0
jle 0x4fe929
mov dword [esp + 0x28], 0
jmp 0x4fe630
test ecx, ecx
je 0x4fe643
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x50], eax
jb 0x4fe650
call fcn.00553698
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x2c], esi
lea ebx, [edx + ecx]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], esi
jle 0x4fe90f
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
lea ecx, [eax*4 - 4]
mov dword [esp + 0x48], ecx
jmp 0x4fe697
mov ebx, dword [esp + 0xa8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4fe6ba
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4fe6c3
call fcn.00553698
mov edi, dword [esp + 0x68]
mov ebx, dword [ebx + 4]
add ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
cmp dword [ebx], eax
mov dword [esp + 0x20], ebx
jne 0x4fe8de
cmp eax, 1
jne 0x4fe79e
test edi, edi
je 0x4fe6f6
mov ecx, dword [esp + 0x6c]
mov eax, ecx
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x4fe703
call fcn.00553698
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x24]
cmp dword [edx + edi], eax
jle 0x4fe738
test edi, edi
je 0x4fe71e
mov eax, ecx
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x4fe72b
call fcn.00553698
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + edi]
mov dword [esp + 0x20], edx
jmp 0x4fe73c
mov dword [esp + 0x20], eax
test edi, edi
je 0x4fe749
sub ecx, edi
sar ecx, 2
cmp esi, ecx
jb 0x4fe752
call fcn.00553698
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [ecx + edi], eax
cmp dword [ebx + 0x18], 0
je 0x4fe8da
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4fe782
mov eax, dword [esp + 0x8c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4fe78e
call fcn.00553698
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x24]
mov dword [edx + ecx], 1
jmp 0x4fe8da
test eax, eax
mov dword [esp + 0x14], 0
jle 0x4fe83b
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4fe7d9
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
cmp ebx, eax
jb 0x4fe7e9
call fcn.00553698
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esi + edi]
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], edx
cmp dword [eax + 0x18], 0
je 0x4fe82e
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4fe810
sub ecx, eax
sar ecx, 2
mov eax, ecx
cmp ebx, eax
jb 0x4fe815
call fcn.00553698
mov ecx, dword [esp + 0x88]
mov dword [esi + ecx], 1
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x68]
add esi, 4
add ebx, 1
sub dword [esp + 0x1c], 1
jne 0x4fe7c8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 8]
jge 0x4fe8de
mov ecx, eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x10]
sub eax, edx
cdq
idiv ecx
test edi, edi
mov ebx, eax
je 0x4fe878
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0xa4]
sub eax, edi
sar eax, 2
lea edx, [ecx + edx - 1]
cmp edx, eax
jb 0x4fe885
call fcn.00553698
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
sub eax, dword [esp + 0x14]
xor esi, esi
cdq
idiv ecx
mov eax, dword [esp + 0x48]
add dword [eax + edi], edx
test ecx, ecx
jle 0x4fe8da
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4fe8c2
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xa4]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x4fe8cb
call fcn.00553698
mov eax, dword [esp + 0x68]
add dword [edi + eax], ebx
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x10]
jl 0x4fe8a4
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0xa4]
add dword [esp + 0x4c], 0x1c
mov eax, 4
add dword [esp + 0x24], eax
add dword [esp + 0x48], eax
add esi, 1
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0xa4], esi
jl 0x4fe690
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
add dword [esp + 0x28], 0x10
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
jl 0x4fe630
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jle 0x4fe610
mov esi, dword [esp + 0x78]
mov edx, 1
cmp dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
jl 0x4febd4
jmp 0x4fe960
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
jle 0x4febbb
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
lea ecx, [ecx]
test ecx, ecx
je 0x4fe993
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x24], eax
jb 0x4fe9a0
call fcn.00553698
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
add eax, ecx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0x50], 0
jle 0x4feb9c
mov dword [esp + 0x48], 0
jmp 0x4fe9d0
mov edi, dword [esp + 0xa8]
mov eax, dword [edi + 4]
test eax, eax
je 0x4fe9fc
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x50], eax
jb 0x4fea05
call fcn.00553698
mov esi, dword [esp + 0x78]
mov edi, dword [edi + 4]
add edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
cmp dword [edi + 4], ecx
mov dword [esp + 0x28], edi
jne 0x4feb7e
cmp ecx, 1
jne 0x4feaa3
test esi, esi
mov ebx, dword [esp + 0x24]
je 0x4fea3d
mov ecx, dword [esp + 0x7c]
mov eax, ecx
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x4fea4a
call fcn.00553698
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x14]
cmp dword [edx + esi], eax
jle 0x4fea7f
test esi, esi
je 0x4fea69
mov eax, ecx
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x4fea76
call fcn.00553698
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + esi]
jmp 0x4fea81
mov edi, eax
test esi, esi
je 0x4fea8e
sub ecx, esi
sar ecx, 2
cmp ebx, ecx
jb 0x4fea97
call fcn.00553698
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [ecx + esi], edi
jmp 0x4feb7a
mov ecx, dword [esp + 0x10]
xor ebx, ebx
xor edi, edi
test ecx, ecx
jle 0x4feaf0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
test esi, esi
je 0x4feace
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
sub eax, esi
sar eax, 2
add edx, edi
cmp edx, eax
jb 0x4feadb
call fcn.00553698
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add ebx, dword [eax + esi]
add edi, 1
add eax, 4
cmp edi, ecx
mov dword [esp + 0x1c], eax
jl 0x4feab7
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
cmp ebx, eax
jge 0x4feb7e
sub eax, ebx
cdq
idiv ecx
test esi, esi
mov dword [esp + 0x1c], eax
je 0x4feb1b
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
cmp dword [esp + 0x24], eax
jb 0x4feb28
call fcn.00553698
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
sub eax, ebx
cdq
idiv ecx
mov eax, dword [esp + 0x14]
add dword [eax + esi], edx
xor esi, esi
test ecx, ecx
jle 0x4feb7a
mov edi, eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4feb5e
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x4feb67
call fcn.00553698
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
add dword [edi + eax], ecx
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x10]
jl 0x4feb43
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x50]
add dword [esp + 0x48], 0x1c
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
jl 0x4fe9d0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
add dword [esp + 0x4c], 0x10
add dword [esp + 0x14], 4
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
jl 0x4fe980
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jle 0x4fe960
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xac]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ebp + 8]
lea ecx, [eax + ecx - 1]
add dword [ebx], ecx
mov ecx, dword [esp + 0x30]
lea eax, [eax + ecx - 1]
add dword [ebx + 4], eax
xor eax, eax
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
jle 0x4fec40
test edi, edi
je 0x4fec13
mov ecx, dword [esp + 0x6c]
sub ecx, edi
sar ecx, 2
cmp eax, ecx
jb 0x4fec24
call fcn.00553698
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + eax*4]
add ecx, dword [edx + 0xac]
add eax, 1
add dword [ebx], ecx
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jl 0x4fec02
mov esi, dword [esp + 0x78]
xor edi, edi
cmp dword [esp + 0x30], edi
jle 0x4fec7b
test esi, esi
je 0x4fec59
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x4fec66
call fcn.00553698
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + edi*4]
add eax, dword [edx + 0xac]
add edi, 1
add dword [ebx + 4], eax
cmp edi, dword [esp + 0x30]
jl 0x4fec48
cmp dword [edx + 0x8c], 6
mov eax, dword [edx + 0x90]
jne 0x4fec8d
lea eax, [eax + eax*2]
add eax, eax
add dword [ebx], eax
add dword [ebx + 4], eax
jmp 0x4fecb2
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4fecca
mov edx, dword [edx + 0x10]
sub edx, eax
sar edx, 6
cmp dword [esp + 0xc0], edx
jb 0x4feccf
call fcn.00553698
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0xc]
add edi, dword [esp + 0xc4]
lea esi, [esp + 0x54]
mov eax, edi
call fcn.00506ca0
lea edx, [edi + 0x10]
push edx
lea ebx, [esp + 0x68]
call fcn.00506f10
lea eax, [edi + 0x20]
push eax
lea ebx, [esp + 0x78]
call fcn.00506f10
add edi, 0x30
push edi
lea ebx, [esp + 0x88]
call fcn.00506f10
mov ecx, dword [esp + 0xb8]
push 5
push str.table
call fcn.00402250
mov edi, dword [esp + 0x18]
push 1
call fcn.00502140
test eax, eax
je 0x4fed3b
mov esi, edi
call fcn.00502370
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fed66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x138], 2
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fed8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.004fee20
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc