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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 8]
xor edi, edi
mov ecx, 1
add dword [ebx + 0x14], ecx
cmp dword [ebx + 0x164], ecx
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
jne 0x41ce1e
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.00424020
mov ebx, dword [eax + 4]
mov esi, dword [eax]
lea edx, [esp + 0xcc]
push edx
mov dword [esp + 0x34], ebx
call fcn.0041de70
mov dword [esp + 0x138], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], edi
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], edi
mov dword [esp + 0x128], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
cmp esi, edi
mov byte [esp + 0x138], 1
jle 0x41cd3a
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], esi
jmp 0x41cc50
lea eax, [esp + 0x110]
lea esi, [esp + 0x98]
call fcn.00427330
mov esi, dword [esp + 0xe0]
cmp esi, edi
mov edx, dword [esp + 0xe4]
je 0x41cc9a
mov ecx, dword [esp + 0xe8]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x41cc9a
mov dword [edx], edi
add edx, 4
mov dword [esp + 0xe4], edx
jmp 0x41ccc7
cmp esi, edx
mov ebx, edx
jbe 0x41cca5
call fcn.004a79fe
push ebx
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea eax, [esp + 0xec]
call fcn.00443610
mov esi, dword [esp + 0x100]
cmp esi, edi
mov edx, dword [esp + 0x104]
je 0x41ccfe
mov ecx, dword [esp + 0x108]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x41ccfe
mov dword [edx], edi
add edx, 4
mov dword [esp + 0x104], edx
jmp 0x41cd2b
cmp esi, edx
mov ebx, edx
jbe 0x41cd09
call fcn.004a79fe
push ebx
lea eax, [esp + 0x100]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x10c]
call fcn.00443610
sub dword [esp + 0x48], 1
jne 0x41cc50
mov ebx, dword [esp + 0x30]
cmp ebx, edi
jle 0x41cdc7
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], ebx
lea ebx, [ebx]
lea ebx, [esp + 0x98]
lea esi, [esp + 0xcc]
call fcn.00426540
mov esi, dword [esp + 0xf0]
cmp esi, edi
mov edx, dword [esp + 0xf4]
je 0x41cd9a
mov ecx, dword [esp + 0xf8]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x41cd9a
mov dword [edx], edi
add edx, 4
mov dword [esp + 0xf4], edx
jmp 0x41cdc0
cmp esi, edx
mov ebx, edx
jbe 0x41cda5
call fcn.004a79fe
push ebx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.00443610
sub dword [esp + 0x48], 1
jne 0x41cd50
mov esi, dword [esp + 0x18]
add esi, 4
lea ebx, [esp + 0xcc]
call fcn.004267d0
mov eax, dword [esp + 0x9c]
cmp eax, edi
je 0x41cdee
push eax
call fcn.00488fd0
add esp, 4
lea esi, [esp + 0xcc]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0x138], 0xffffffff
call fcn.0041ded0
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
cmp ecx, edi
mov esi, dword [ebx + 0x14]
mov dword [esp + 0xb8], esi
je 0x41ce3b
mov eax, dword [ebx + 0xc]
sub eax, ecx
sar eax, 6
cmp esi, eax
jb 0x41ce40
call fcn.004a79fe
mov eax, dword [ebx + 8]
mov ecx, esi
shl ecx, 6
add eax, ecx
push eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0xcc], ecx
call fcn.0041df50
mov dword [esp + 0x138], 2
mov eax, dword [esp + 0x68]
cmp eax, edi
jne 0x41ce75
mov dword [esp + 0x2c], edi
jmp 0x41ce82
mov ecx, dword [esp + 0x6c]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x78]
cmp ecx, edi
jne 0x41ce90
mov dword [esp + 0x30], edi
jmp 0x41ce9d
mov eax, dword [esp + 0x7c]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x18]
lea edi, [ebx + 0x3c]
push 5
push str.table
mov ecx, edi
mov dword [esp + 0xc4], edi
call fcn.00402310
push edi
lea esi, [ebx + 0x260]
call fcn.00426920
mov eax, dword [edi]
push edi
push eax
push ebx
call fcn.00421f90
push ecx
mov ecx, esp
mov dword [esp + 0xb4], esp
push eax
call fcn.00401f00
call fcn.00422290
mov dword [esp + 0x1c], 0
call fcn.00491248
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cf06
push 0x80004005
call fcn.00401ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x144], 4
call fcn.00423440
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 0x41cf55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xb4]
push ecx
lea esi, [esp + 0x4c]
call fcn.004236f0
mov ecx, dword [esp + 0x18]
push 1
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xb4]
push eax
push ecx
mov byte [esp + 0x148], 5
call fcn.00424450
mov ebx, dword [esp + 0x18]
mov esi, ebx
call fcn.004213d0
cmp dword [ebx + 0x164], 1
mov edi, dword [esp + 0x68]
je 0x41d20f
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 0x41cfc2
xor eax, eax
jmp 0x41cfcb
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
mov ecx, dword [ebx + 0xa8]
lea edx, [ecx + eax - 1]
lea eax, [esp + 0x64]
mov dword [esp + 0x10], edx
xor esi, esi
call fcn.004267a0
test eax, eax
jbe 0x41d01f
test edi, edi
je 0x41cff9
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x41d002
call fcn.004a79fe
mov edi, dword [esp + 0x68]
mov eax, dword [edi + esi*4]
add eax, dword [ebx + 0xa8]
add esi, 1
add dword [esp + 0x10], eax
lea eax, [esp + 0x64]
call fcn.004267a0
cmp esi, eax
jb 0x41cfe8
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x41d02b
xor eax, eax
jmp 0x41d034
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
mov ecx, dword [ebx + 0xa8]
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.004267a0
test eax, eax
jbe 0x41d09c
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x41d072
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x41d07b
call fcn.004a79fe
mov esi, dword [esp + 0x78]
mov ecx, dword [esi + edi*4]
add ecx, dword [ebx + 0xa8]
lea eax, [esp + 0x74]
add dword [esp + 0x40], ecx
add edi, 1
call fcn.004267a0
cmp edi, eax
jb 0x41d061
mov edi, dword [esp + 0x68]
mov eax, 6
cmp dword [ebx + 0x88], eax
je 0x41d0b1
mov eax, dword [ebx + 0x8c]
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 0x41d1ff
sub eax, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x14], ebx
call fcn.004267a0
test eax, eax
mov esi, dword [esp + 0x88]
jbe 0x41d137
lea edi, [ebx + 1]
test esi, esi
je 0x41d10b
mov eax, dword [esp + 0x8c]
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x41d117
call fcn.004a79fe
mov esi, dword [esp + 0x88]
cmp dword [esi + ebx*4], 0
jne 0x41d121
add dword [esp + 0x14], edi
lea eax, [esp + 0x84]
add ebx, edi
call fcn.004267a0
cmp ebx, eax
jb 0x41d0f7
mov edi, dword [esp + 0x68]
xor ebx, ebx
lea esp, [esp]
test esi, esi
je 0x41d1ba
mov eax, dword [esp + 0x8c]
sub eax, esi
sar eax, 2
cmp ebx, eax
jae 0x41d1ba
cmp dword [esp + 0x14], 0
jle 0x41d1ba
cmp ebx, eax
jb 0x41d16f
call fcn.004a79fe
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x68]
cmp dword [esi + ebx*4], 0
jne 0x41d1b5
mov eax, dword [esp + 0x20]
cdq
idiv dword [esp + 0x14]
test edi, edi
mov esi, eax
je 0x41d191
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
cmp ebx, eax
jb 0x41d19a
call fcn.004a79fe
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 0x41d140
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x10], edx
jge 0x41d1f7
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x80]
sub eax, 1
je 0x41d1e8
sub eax, 1
jne 0x41d1f7
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
jmp 0x41d1f7
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 0x41d213
mov esi, dword [esp + 0x78]
cmp dword [ebx + 0x164], 0
jne 0x41d37e
mov eax, dword [ebx + 0x78]
test eax, eax
jl 0x41d25b
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x70]
mov ebx, dword [ecx + 0x15c]
push 0
push 5
push edx
mov edx, dword [ecx + 0x6c]
push edx
mov edx, dword [ecx + 0x60]
push edx
push eax
lea eax, [ecx + 0xd0]
push eax
lea eax, [esp + 0x50]
call fcn.00418ad0
mov ebx, dword [esp + 0x18]
jmp 0x41d306
mov eax, dword [ebx + 0x7c]
cmp dword [eax - 0xc], 0
je 0x41d30e
push ecx
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
lea esi, [eax - 0x10]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xb0], esp
mov dword [esp + 0x20], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41d29b
cmp eax, dword [esi]
jne 0x41d29b
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41d2d7
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 0x41d2b4
call fcn.00401e70
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.004a751c
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 + 0x15c]
push ecx
push eax
mov ecx, ebx
call fcn.00425400
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x78]
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
jle 0x41d37e
cmp dword [ebx + 0x144], 0
je 0x41d344
mov eax, dword [ebx + 0x88]
test eax, eax
mov edx, dword [ebx + 0x15c]
je 0x41d37e
push ecx
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [ebx + 0x68]
push eax
mov eax, dword [ebx + 0x64]
push eax
push ecx
mov esi, edx
jmp 0x41d363
mov edx, dword [ebx + 0x88]
test edx, edx
mov eax, dword [ebx + 0x148]
je 0x41d37e
mov esi, dword [ebx + 0x15c]
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.00419bd0
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 + 0x9c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa4], edx
mov edx, 1
cmp dword [ebx + 0x164], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], eax
je 0x41d3ec
cmp dword [ebx + 0x88], 6
jne 0x41d3c8
add ecx, 3
lea eax, [edx + 2]
jmp 0x41d3d0
mov eax, dword [ebx + 0x8c]
add ecx, eax
add dword [esp + 0x9c], eax
sub dword [esp + 0xa0], eax
sub dword [esp + 0xa4], eax
mov dword [esp + 0x98], ecx
cmp dword [esp + 0x2c], 0
je 0x41d6ad
cmp dword [esp + 0x30], 0
je 0x41d6ad
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.00491248
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41d422
push 0x80004005
call fcn.00401ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x138], 6
call fcn.00491248
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41d454
push 0x80004005
call fcn.00401ee0
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], 7
call fcn.00491248
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41d486
push 0x80004005
call fcn.00401ee0
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 0x41d628
lea esp, [esp]
push ecx
mov ecx, esp
mov dword [esp + 0xb0], esp
push 0x4dc3f0
call fcn.00401f00
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x24]
call fcn.004239d0
test eax, eax
je 0x41d60f
mov esi, dword [esp + 0x20]
lea ebx, [esp + 0x20]
mov eax, edi
mov dword [esp + 0x20], esi
call fcn.004242f0
mov ecx, dword [esp + 0x20]
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.00425fc0
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 0x41d5bb
cmp dword [ebx + 0xc], 0
jl 0x41d5ad
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x41d5ad
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41d550
cmp eax, dword [esi]
jne 0x41d550
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41d58b
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 0x41d2af
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.004a751c
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d5a4
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 0x41d5bb
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402310
mov byte [esp + 0x138], 8
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 0x41d5e3
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 + 0xa0]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0041dfd0
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 0x41d4b0
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 0x41d650
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 + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d678
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 + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d6a0
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 + 0x164], 0
je 0x41dd54
cmp dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
jl 0x41da07
lea esp, [esp]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
jle 0x41d9e9
mov dword [esp + 0x28], 0
jmp 0x41d6f0
test ecx, ecx
je 0x41d703
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x44], eax
jb 0x41d710
call fcn.004a79fe
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 + 0xac], ebx
mov dword [esp + 0xa8], esi
jle 0x41d9cf
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 + 0x50], ecx
jmp 0x41d757
mov ebx, dword [esp + 0xac]
mov eax, dword [ebx + 4]
test eax, eax
je 0x41d77a
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 0x41d783
call fcn.004a79fe
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 0x41d99e
cmp eax, 1
jne 0x41d85e
test edi, edi
je 0x41d7b6
mov ecx, dword [esp + 0x6c]
mov eax, ecx
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x41d7c3
call fcn.004a79fe
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 0x41d7f8
test edi, edi
je 0x41d7de
mov eax, ecx
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x41d7eb
call fcn.004a79fe
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 0x41d7fc
mov dword [esp + 0x20], eax
test edi, edi
je 0x41d809
sub ecx, edi
sar ecx, 2
cmp esi, ecx
jb 0x41d812
call fcn.004a79fe
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 0x41d99a
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x41d842
mov eax, dword [esp + 0x8c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41d84e
call fcn.004a79fe
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x24]
mov dword [edx + ecx], 1
jmp 0x41d99a
test eax, eax
mov dword [esp + 0x14], 0
jle 0x41d8fb
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x41d899
mov eax, dword [esp + 0x6c]
sub eax, edi
sar eax, 2
cmp ebx, eax
jb 0x41d8a9
call fcn.004a79fe
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 0x41d8ee
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41d8d0
sub ecx, eax
sar ecx, 2
mov eax, ecx
cmp ebx, eax
jb 0x41d8d5
call fcn.004a79fe
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 0x41d888
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 8]
jge 0x41d99e
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 0x41d938
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0xa8]
sub eax, edi
sar eax, 2
lea edx, [ecx + edx - 1]
cmp edx, eax
jb 0x41d945
call fcn.004a79fe
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 + 0x50]
add dword [eax + edi], edx
test ecx, ecx
jle 0x41d99a
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41d982
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xa8]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x41d98b
call fcn.004a79fe
mov eax, dword [esp + 0x68]
add dword [edi + eax], ebx
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x10]
jl 0x41d964
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0xa8]
add dword [esp + 0x4c], 0x1c
mov eax, 4
add dword [esp + 0x24], eax
add dword [esp + 0x50], eax
add esi, 1
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0xa8], esi
jl 0x41d750
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
add dword [esp + 0x28], 0x10
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
jl 0x41d6f0
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jle 0x41d6d0
mov esi, dword [esp + 0x78]
mov edx, 1
cmp dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
jl 0x41dc91
jmp 0x41da20
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
jle 0x41dc78
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
lea ecx, [ecx]
test ecx, ecx
je 0x41da53
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x24], eax
jb 0x41da60
call fcn.004a79fe
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 + 0xac], eax
mov dword [esp + 0x44], 0
jle 0x41dc59
mov dword [esp + 0x50], 0
jmp 0x41da90
mov edi, dword [esp + 0xac]
mov eax, dword [edi + 4]
test eax, eax
je 0x41dabc
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 + 0x44], eax
jb 0x41dac5
call fcn.004a79fe
mov esi, dword [esp + 0x78]
mov edi, dword [edi + 4]
add edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
cmp dword [edi + 4], ecx
mov dword [esp + 0x28], edi
jne 0x41dc3b
cmp ecx, 1
jne 0x41db5f
test esi, esi
mov ebx, dword [esp + 0x24]
je 0x41daf9
mov ecx, dword [esp + 0x7c]
mov eax, ecx
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x41db06
call fcn.004a79fe
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 0x41db3b
test esi, esi
je 0x41db25
mov eax, ecx
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x41db32
call fcn.004a79fe
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + esi]
jmp 0x41db3d
mov edi, eax
test esi, esi
je 0x41db4a
sub ecx, esi
sar ecx, 2
cmp ebx, ecx
jb 0x41db53
call fcn.004a79fe
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [ecx + esi], edi
jmp 0x41dc37
mov ecx, dword [esp + 0x10]
xor ebx, ebx
xor edi, edi
test ecx, ecx
jle 0x41dbac
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
test esi, esi
je 0x41db8a
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
sub eax, esi
sar eax, 2
add edx, edi
cmp edx, eax
jb 0x41db97
call fcn.004a79fe
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 0x41db73
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
cmp ebx, eax
jge 0x41dc3b
sub eax, ebx
cdq
idiv ecx
test esi, esi
mov dword [esp + 0x1c], eax
je 0x41dbd7
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
cmp dword [esp + 0x24], eax
jb 0x41dbe4
call fcn.004a79fe
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 0x41dc37
mov edi, eax
nop
mov eax, dword [esp + 0x78]
test eax, eax
je 0x41dc1b
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x41dc24
call fcn.004a79fe
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 0x41dc00
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x44]
add dword [esp + 0x50], 0x1c
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
jl 0x41da90
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 0x41da40
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jle 0x41da20
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xa8]
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 0x41dcfe
nop
test edi, edi
je 0x41dcd1
mov ecx, dword [esp + 0x6c]
sub ecx, edi
sar ecx, 2
cmp eax, ecx
jb 0x41dce2
call fcn.004a79fe
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 + 0xa8]
add eax, 1
add dword [ebx], ecx
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jl 0x41dcc0
mov esi, dword [esp + 0x78]
xor edi, edi
cmp dword [esp + 0x30], edi
jle 0x41dd39
test esi, esi
je 0x41dd17
mov eax, dword [esp + 0x7c]
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x41dd24
call fcn.004a79fe
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + edi*4]
add eax, dword [edx + 0xa8]
add edi, 1
add dword [ebx + 4], eax
cmp edi, dword [esp + 0x30]
jl 0x41dd06
cmp dword [edx + 0x88], 6
mov eax, dword [edx + 0x8c]
jne 0x41dd4b
lea eax, [eax + eax*2]
add eax, eax
add dword [ebx], eax
add dword [ebx + 4], eax
jmp 0x41dd70
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 + 8]
test eax, eax
je 0x41dd88
mov edx, dword [edx + 0xc]
sub edx, eax
sar edx, 6
cmp dword [esp + 0xb8], edx
jb 0x41dd8d
call fcn.004a79fe
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 8]
add edi, dword [esp + 0xc4]
lea esi, [esp + 0x54]
mov eax, edi
call fcn.004263f0
lea edx, [edi + 0x10]
push edx
lea ebx, [esp + 0x68]
call fcn.00426660
lea eax, [edi + 0x20]
push eax
lea ebx, [esp + 0x78]
call fcn.00426660
add edi, 0x30
push edi
lea ebx, [esp + 0x88]
call fcn.00426660
mov ecx, dword [esp + 0xbc]
push 5
push str.table
call fcn.00402310
mov edi, dword [esp + 0x18]
push 1
call fcn.004211a0
test eax, eax
je 0x41ddf9
mov esi, edi
call fcn.004213d0
mov byte [esp + 0x138], 4
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 0x41de24
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 + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x54]
call fcn.0041ded0
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