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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x6a4108]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0x3c], esi
mov ebx, ecx
mov dword [esp + 0x2c], ebx
mov ecx, dword [ebx + 0x3d78]
mov eax, dword [ebx + 0x193c]
add eax, ecx
mov dword [esp + 0x78], eax
mov edx, dword [ebx + 0xf40]
mov dword [esp + 0x48], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [ebx + 0x2f8c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x10], eax
mov edi, 1
shl edi, cl
mov ecx, dword [ebx + 0xf44]
mov dword [esp + 0x70], ecx
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xa0], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 0x64]
mov ecx, dword [ebx + 0xf48]
mov dword [esp + 0xc8], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xac], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xb0], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx + 0x64]
mov ecx, dword [ebx + 0xf4c]
mov dword [esp + 0xcc], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xbc], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 0x64]
mov dword [esp + 0xd0], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x90], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], eax
xor eax, eax
test edx, edx
setne al
mov dword [esp + 0x8c], edi
mov dword [esp + 0xc4], 0
mov ecx, edx
mov dword [esp + 0xc], edx
mov dword [esi + 0xc04], eax
cmp edx, dword [ebx + 0x1938]
jge 0x4038d2
mov eax, ecx
cdq
idiv edi
mov dword [ebp + 8], ecx
add edx, 0x224
lea eax, [edx*8]
sub eax, edx
lea eax, [ebx + eax*4]
mov dword [esi + 0xc78], eax
test ecx, ecx
jle 0x402d7c
mov eax, dword [ebx + 0x3d7c]
lea edx, [ecx - 1]
lea edx, [eax + edx*4]
mov dword [esp + 0x5c], edx
jmp 0x402d84
lea eax, [esp + 0x78]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x3d7c]
lea edi, [ecx*4]
add eax, edi
mov dword [esp + 0x60], eax
mov eax, ecx
imul eax, dword [esp + 0x18]
shl eax, 4
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x26c4]
mov dword [esi + 0xc2c], eax
mov eax, dword [esi + 0xc30]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov byte [eax + 8], 0
mov eax, ecx
neg eax
shl eax, 7
mov edx, ecx
imul edx, dword [esp + 0x10]
mov dword [esi + 0xc60], eax
mov dword [esi + 0xc08], 0
mov eax, dword [ebx + 0x1938]
sub eax, ecx
dec eax
shl eax, 7
shl edx, 3
mov dword [esi + 0xc64], eax
cmp dword [ebx + 0x2690], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], edx
je 0x402e82
mov eax, dword [ebx + 0x3d80]
mov eax, dword [eax + edi]
add eax, 0x20
mov dword [esi + 0xc0c], eax
mov eax, dword [ebx + 0x3d84]
mov eax, dword [eax + edi]
add eax, 0x10
mov dword [esi + 0xc10], eax
mov eax, dword [ebx + 0x3d88]
mov eax, dword [eax + edi]
add eax, 0x10
mov dword [esi + 0xc14], eax
mov eax, dword [ebx + 0x3d8c]
mov eax, dword [edi + eax]
mov dword [esi + 0xc18], eax
mov eax, dword [ebx + 0x3d90]
mov eax, dword [edi + eax]
mov dword [esi + 0xc1c], eax
mov eax, dword [ebx + 0x3d94]
mov eax, dword [edi + eax]
mov dword [esi + 0xc20], eax
mov dword [esi + 0xc24], 1
mov dword [esi + 0xc28], 1
jmp 0x402f92
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x44]
add ecx, edx
add edx, dword [esp + 0x14]
lea ebx, [ecx - 1]
mov dword [esi + 0xc1c], ebx
mov dword [esi + 0xc10], ecx
mov dword [esi + 0xc0c], eax
mov dword [esi + 0xc14], edx
lea edi, [eax - 1]
mov dword [esi + 0xc18], edi
mov dword [esp + 0x38], ebx
lea ebx, [edx - 1]
mov dword [esi + 0xc20], ebx
sub eax, dword [esi + 0xb9c]
mov dword [esp + 0x20], ebx
mov dword [esi + 0xc0c], eax
sub ecx, dword [esi + 0xbb0]
mov dword [esi + 0xc10], ecx
sub edx, dword [esi + 0xbb0]
mov ecx, 0x10
mov dword [esi + 0xc14], edx
mov eax, dword [esi + 0xb9c]
mov dword [esi + 0xc24], eax
mov eax, dword [esi + 0xbb0]
mov dword [esi + 0xc28], eax
mov eax, dword [esi + 0xbb0]
mov edx, dword [esi + 0xb9c]
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov byte [edi], 0x81
add edi, edx
dec ecx
jne 0x402f20
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov byte [ebx], 0x81
mov byte [ebx + eax], 0x81
mov byte [ebx + eax*2], 0x81
lea edi, [eax + eax*2]
lea edx, [eax + eax*4]
mov byte [ebx + edi], 0x81
mov byte [ebx + eax*4], 0x81
mov byte [ebx + edx], 0x81
lea ecx, [eax + eax*2]
shl eax, 3
mov byte [ebx + ecx*2], 0x81
sub eax, esi
mov byte [ebx + eax], 0x81
mov ebx, dword [esp + 0x20]
mov byte [ebx], 0x81
mov byte [ebx + esi], 0x81
mov byte [ebx + esi*2], 0x81
mov esi, ebx
mov ebx, dword [esp + 0x2c]
mov byte [esi + edi], 0x81
mov edi, dword [esp + 0x24]
mov byte [esi + edi*4], 0x81
mov edi, dword [esp + 0x54]
mov byte [esi + edx], 0x81
mov byte [esi + ecx*2], 0x81
mov byte [esi + eax], 0x81
mov esi, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [ebx + 0x193c], ecx
jle 0x403714
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x34], eax
jmp 0x402fe4
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
lea eax, [ecx - 1]
mov dword [ebx], eax
mov ebx, dword [esp + 0x2c]
lea eax, [edx - 1]
test ecx, eax
jne 0x403030
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
sub eax, edx
cmp ecx, eax
jle 0x403030
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
pause
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx]
sub eax, dword [esp + 0x48]
cmp esi, eax
jg 0x403010
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc58], eax
mov eax, dword [ebx + 0x193c]
sub eax, ecx
mov ecx, dword [esp + 0x38]
dec eax
shl eax, 7
mov dword [esi + 0xc5c], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x44]
mov dword [esi + 0xbc8], ecx
mov dword [esi + 0xbc0], eax
mov eax, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esi + 0xbf8]
mov dword [esi + 0xbc4], eax
movzx eax, byte [ecx + 2]
push ecx
lea eax, [eax + eax*2]
mov edx, esi
mov eax, dword [esp + eax*4 + 0x98]
add eax, dword [esp + 0x48]
mov dword [esi + 0xb54], eax
movzx eax, byte [ecx + 2]
lea eax, [eax + eax*2]
mov eax, dword [esp + eax*4 + 0x9c]
add eax, dword [esp + 0x50]
mov dword [esi + 0xb58], eax
movzx eax, byte [ecx + 2]
lea eax, [eax + eax*2]
mov eax, dword [esp + eax*4 + 0xa0]
add eax, dword [esp + 0x50]
mov dword [esi + 0xb5c], eax
movzx eax, byte [ecx + 2]
mov ecx, ebx
mov eax, dword [esp + eax*4 + 0xc8]
or dword [esi + 0xc7c], eax
call fcn.00402820
mov eax, dword [esi + 0xc78]
mov dword [esi + 0xc08], 1
mov eax, dword [eax + 0xc]
add esp, 4
cmp eax, 0x20
jle 0x403102
cmp eax, 0x40000000
jge 0x403102
mov eax, 1
jmp 0x403104
xor eax, eax
or dword [esi + 0xc7c], eax
add dword [esi + 0xc0c], 0x10
add dword [esi + 0xc10], 8
add dword [esi + 0xc14], 8
cmp dword [ebx + 0x2690], 0
jne 0x40314a
add dword [esi + 0xc18], 0x10
add dword [esi + 0xc1c], 8
add dword [esi + 0xc20], 8
cmp dword [ebx + 0x2690], 0
je 0x4036c3
mov eax, dword [esi + 0xbf8]
mov dl, byte [eax]
cmp dl, 4
je 0x40316a
cmp dl, 9
je 0x40316a
cmp byte [eax + 9], 0
mov dword [esp + 0x30], 1
jne 0x403172
mov dword [esp + 0x30], 0
movzx ecx, byte [eax + 0xb]
movzx eax, byte [eax + 2]
lea ecx, [eax + ecx*4]
movzx eax, dl
lea edx, [ebx + 0x1980]
movzx eax, byte [eax + edx + 0xd00]
add eax, edx
mov edx, dword [esp + 0xc]
movzx eax, byte [eax + ecx*4 + 0xc40]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1938]
dec eax
cmp edx, eax
je 0x403241
mov eax, dword [ebx + 0x3d80]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + edi + 4]
add eax, dword [esp + 0x24]
shl ecx, 4
sub ecx, dword [esp + 0x18]
add ecx, dword [esi + 0xbc0]
movq xmm0, qword [ecx]
movq qword [eax], xmm0
movq xmm0, qword [ecx + 8]
movq qword [eax + 8], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xbc4]
lea edi, [eax*8]
sub edi, eax
mov eax, dword [ebx + 0x3d84]
mov ebx, dword [esp + 0x28]
mov edx, dword [eax + edx*4 + 4]
mov eax, dword [edi + ecx]
mov dword [edx + ebx], eax
mov eax, dword [edi + ecx + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x2c]
mov dword [edx + ecx + 4], eax
mov ecx, dword [esi + 0xbc8]
mov eax, dword [ebx + 0x3d88]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
mov edx, dword [eax + edx*4 + 4]
mov eax, dword [ecx + edi]
mov dword [edx + esi], eax
mov eax, dword [ecx + edi + 4]
mov ecx, esi
mov esi, dword [esp + 0x3c]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebx + 0x193c]
mov ecx, dword [esp + 0x1c]
dec eax
cmp ecx, eax
je 0x4034fa
mov eax, dword [esi + 0xbf8]
cmp byte [eax + 0x4e], 0
jne 0x4034fa
mov eax, dword [esp + 0x18]
xor edi, edi
lea ecx, [eax*4]
mov dword [esp + 0x74], ecx
lea ecx, [eax + eax*2]
add eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
jmp 0x403290
mov eax, dword [ebx + 0x3d8c]
mov edx, dword [esi + 0xbc0]
mov ecx, dword [esp + 0xc]
add edi, 4
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x40]
movzx eax, byte [edx + eax + 0xf]
mov byte [edi + ecx - 4], al
mov eax, dword [ebx + 0x3d8c]
mov edx, dword [esi + 0xbc0]
add edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x18]
movzx eax, byte [edx + eax + 0xf]
mov byte [ecx + edi - 3], al
mov eax, dword [ebx + 0x3d8c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0xbc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x50]
movzx eax, byte [edx + eax + 0xf]
mov byte [ecx + edi - 2], al
mov eax, dword [ebx + 0x3d8c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0xbc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x58]
movzx eax, byte [edx + eax + 0xf]
mov byte [ecx + edi - 1], al
mov eax, dword [esp + 0x74]
add dword [esp + 0x40], eax
add dword [esp + 0x50], eax
add dword [esp + 0x58], eax
cmp edi, 0x10
jl 0x403290
mov eax, dword [ebx + 0x3d90]
mov edx, dword [esi + 0xbc4]
mov edi, dword [esp + 0x54]
mov ecx, dword [edi + eax]
movzx eax, byte [edx + 7]
mov byte [ecx], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [edi + eax]
movzx eax, byte [edx + 7]
mov byte [ecx], al
mov eax, dword [ebx + 0x3d90]
mov edx, dword [esi + 0xbc4]
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + edx + 7]
mov byte [ecx + 1], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x10]
movzx eax, byte [edx + eax + 7]
mov byte [ecx + 1], al
mov eax, dword [ebx + 0x3d90]
mov edx, dword [esi + 0xbc4]
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x10]
movzx eax, byte [edx + eax*2 + 7]
mov byte [ecx + 2], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [eax + edi]
mov edi, dword [esp + 0x10]
movzx eax, byte [edx + edi*2 + 7]
mov byte [ecx + 2], al
mov eax, dword [ebx + 0x3d90]
mov edx, dword [esi + 0xbc4]
mov ecx, dword [esp + 0xc]
lea edi, [edi + edi*2]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edi + edx + 7]
mov byte [ecx + 3], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edx + edi + 7]
mov edi, dword [esp + 0xc]
mov byte [ecx + 3], al
mov eax, dword [ebx + 0x3d90]
mov edx, dword [esi + 0xbc4]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x10]
movzx eax, byte [edx + eax*4 + 7]
mov byte [ecx + 4], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [eax + edi*4]
mov edi, dword [esp + 0x10]
movzx eax, byte [edx + edi*4 + 7]
mov byte [ecx + 4], al
mov eax, dword [ebx + 0x3d90]
mov edx, dword [esi + 0xbc4]
mov ecx, dword [esp + 0xc]
lea edi, [edi + edi*4]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edi + edx + 7]
mov byte [ecx + 5], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edx + edi + 7]
mov byte [ecx + 5], al
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0xbc4]
lea edi, [eax + eax*2]
mov eax, dword [ebx + 0x3d90]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edx + edi*2 + 7]
mov byte [ecx + 6], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edx + edi*2 + 7]
mov byte [ecx + 6], al
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0xbc4]
mov ecx, dword [esp + 0xc]
lea edi, [eax*8]
sub edi, eax
mov eax, dword [ebx + 0x3d90]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edi + edx + 7]
mov byte [ecx + 7], al
mov eax, dword [ebx + 0x3d94]
mov edx, dword [esi + 0xbc8]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4]
movzx eax, byte [edx + edi + 7]
mov byte [ecx + 7], al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4036c3
cmp dword [ebx + 0x1978], 0
jne 0x403622
lea edi, [ebx + 0x1980]
mov eax, edx
shl eax, 4
add eax, edi
mov dword [esp + 0x7c], eax
lea eax, [edx + 0x40]
shl eax, 4
add eax, edi
mov dword [esp + 0x80], eax
lea eax, [edx + 0x80]
shl eax, 4
add eax, edi
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0x1928]
add eax, 0x32
shl eax, 6
add eax, edx
movzx eax, byte [eax + edi]
add eax, 0xc0
shl eax, 4
add eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x88], eax
test ecx, ecx
jle 0x403595
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x14]
push edi
push dword [esi + 0xbc8]
push dword [esi + 0xbc4]
push dword [esi + 0xbc0]
call dword [0x75d68c]
add esp, 0x18
cmp dword [esp + 0x30], 0
jne 0x4035c1
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x14]
push edi
push dword [esi + 0xbc8]
push dword [esi + 0xbc4]
push dword [esi + 0xbc0]
call dword [0x75d6a4]
add esp, 0x18
cmp dword [esp + 0xc], 0
jle 0x4035ed
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x14]
push edi
push dword [esi + 0xbc8]
push dword [esi + 0xbc4]
push dword [esi + 0xbc0]
call dword [0x75d694]
add esp, 0x18
cmp dword [esp + 0x30], 0
jne 0x4036c3
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x14]
push edi
push dword [esi + 0xbc8]
push dword [esi + 0xbc4]
push dword [esi + 0xbc0]
call dword [0x75d6b0]
add esp, 0x18
jmp 0x4036c3
mov edi, dword [esp + 0x18]
test ecx, ecx
jle 0x40364c
mov eax, edx
shl eax, 4
lea ecx, [ebx + 0x1980]
add eax, ecx
push eax
push edi
push dword [esi + 0xbc0]
call dword [0x75d69c]
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x30], 0
jne 0x403672
lea eax, [edx + 0x40]
shl eax, 4
lea ecx, [ebx + 0x1980]
add eax, ecx
push eax
push edi
push dword [esi + 0xbc0]
call dword [0x75d6a8]
add esp, 0xc
cmp dword [esp + 0xc], 0
jle 0x403699
mov eax, dword [esp + 0x14]
shl eax, 4
lea ecx, [ebx + 0x1980]
add eax, ecx
push eax
push edi
push dword [esi + 0xbc0]
call dword [0x75d698]
add esp, 0xc
cmp dword [esp + 0x30], 0
jne 0x4036c3
mov eax, dword [esp + 0x14]
add eax, 0x40
shl eax, 4
lea ecx, [ebx + 0x1980]
add eax, ecx
push eax
push edi
push dword [esi + 0xbc0]
call dword [0x75d6ac]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x44], 0x10
add dword [esp + 0x4c], 8
add dword [esp + 0x38], 8
add dword [esi + 0xbf8], 0x4c
add dword [esi + 0xc2c], 9
add dword [esp + 0x24], 0x10
add dword [esp + 0x28], 8
add dword [esp + 0x20], 0xffffff80
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 0x193c]
jl 0x402fe0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
cmp dword [ebx + 0x2690], 0
je 0x40384c
mov eax, dword [ebx + 0x1938]
mov ecx, dword [esp + 0xc]
dec eax
cmp ecx, eax
je 0x40387c
mov eax, dword [esp + 0x70]
mov edi, dword [eax]
mov eax, dword [ebx + 0x3d80]
lea edx, [edi + 0x20]
mov ecx, dword [eax + ecx*4 + 4]
sar edi, 1
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + edx], al
mov eax, dword [ebx + 0x3d84]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x10], al
mov eax, dword [ebx + 0x3d88]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x10], al
mov eax, dword [ebx + 0x3d80]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + edx + 1], al
mov eax, dword [ebx + 0x3d84]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x11], al
mov eax, dword [ebx + 0x3d88]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x11], al
mov eax, dword [ebx + 0x3d80]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + edx + 2], al
mov eax, dword [ebx + 0x3d84]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x12], al
mov eax, dword [ebx + 0x3d88]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x12], al
mov eax, dword [ebx + 0x3d80]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4 + 4]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + edx + 3], al
mov eax, dword [ebx + 0x3d84]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax + edx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x13], al
mov eax, dword [ebx + 0x3d88]
mov ecx, dword [eax + edx*4 + 4]
movzx eax, byte [ecx + edi + 0xf]
mov byte [ecx + edi + 0x13], al
jmp 0x403878
mov eax, dword [esi + 0xbc8]
mov edx, dword [esi + 0xbc0]
mov ecx, dword [esp + 0x90]
add eax, 8
push eax
mov eax, dword [esi + 0xbc4]
add eax, 8
push eax
add edx, 0x10
call fcn.0040adc0
add esp, 8
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x8c]
mov dword [edx], eax
add dword [esi + 0xbf8], 0x4c
mov eax, dword [esi + 0xbfc]
mov dword [esi + 0xc04], 1
imul eax, dword [ebx + 0x3d60]
imul eax, eax, 0x4c
add dword [esi + 0xbf8], eax
inc ecx
add ecx, dword [ebx + 0x3d60]
mov dword [esp + 0xc], ecx
cmp ecx, dword [ebx + 0x1938]
jl 0x402d46
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x1938]
dec eax
cmp edx, eax
jne 0x4038ed
push 0
push 1
push dword [ebx + 0x3da8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c7124
mov esp, ebp
pop ebp
ret