Function at 0x4028c0
Capabilities:
Enumerate pe sections
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x90
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [eax + eax*4]
push edi
lea edx, [eax + ecx*2]
mov eax, dword [0x40e438]
shl edx, 4
mov ecx, dword [eax + 0x68]
cmp byte [ecx + edx + 0xac], 1
jne 0x402b5a
cmp dword [ebp + 0x2c], 1
jle 0x402b5a
mov esi, dword [esp + 0xac]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
xor edx, edx
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], edx
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
call edi
mov ebx, eax
mov al, byte [esi + 0x1e]
add esp, 4
cmp al, 1
jne 0x402a64
mov edx, dword [ebp + 0x2c]
dec edx
cmp ebx, edx
jne 0x402997
xor eax, eax
push 0x19
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x1448], eax
mov eax, dword [0x40e438]
mov dword [eax + 0x170], 1
mov ecx, dword [0x40e438]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [esp + 0x20]
push str.MGR_PC:_Send_Running_LOG_OK___
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00405820
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc
lea eax, [ebx + 1]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x10], edx
shl ecx, 6
sub ecx, eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x420c]
lea esi, [eax + ecx*8]
lea esi, [esi + esi*2]
shl esi, 1
lea eax, [esi + edx + 0xd]
mov ecx, dword [esi + edx + 0xd]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
mov dx, word [eax + 4]
push ecx
mov word [esp + 0x18], dx
mov al, byte [eax + 6]
mov byte [esp + 0x1a], al
call edi
mov edx, eax
mov eax, dword [ebp + 0x20]
add edx, eax
lea edi, [ebp + 0xc0]
mov ecx, 0x4e2
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x420c]
mov ecx, edx
mov eax, ecx
add esi, edi
lea edi, [ebp + 0xc0]
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0xc0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa8]
push ecx
push edx
mov edx, dword [0x40e438]
push eax
lea ecx, [edx + 0x60]
call fcn.004099a0
mov eax, dword [ebp + 0x2c]
lea ecx, [esp + 0x20]
push eax
lea eax, [ebx + 1]
push eax
push str.MGR_PC:_Send_LOG_PackNo:__d__d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [esp + 0xac]
cmp byte [esi + 0x1e], 3
jne 0x402b37
mov ecx, dword [ebp + 0x30]
inc ecx
mov eax, ecx
mov dword [ebp + 0x30], ecx
cmp eax, 3
jge 0x402b5a
mov ecx, ebx
mov edx, dword [ebp + 0x420c]
shl ecx, 6
sub ecx, ebx
xor eax, eax
mov dword [esp + 0x10], eax
lea esi, [ebx + ecx*8]
mov dword [esp + 0x14], eax
lea esi, [esi + esi*2]
shl esi, 1
lea eax, [esi + edx + 0xd]
mov ecx, dword [esi + edx + 0xd]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
mov dx, word [eax + 4]
push ecx
mov word [esp + 0x18], dx
mov al, byte [eax + 6]
mov byte [esp + 0x1a], al
call edi
mov edx, eax
mov eax, dword [ebp + 0x20]
add edx, eax
lea edi, [ebp + 0xc0]
mov ecx, 0x4e2
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x420c]
mov ecx, edx
mov eax, ecx
add esi, edi
lea edi, [ebp + 0xc0]
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0xc0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa8]
push ecx
push edx
mov edx, dword [0x40e438]
push eax
lea ecx, [edx + 0x60]
call fcn.004099a0
push ebx
lea eax, [esp + 0x24]
push str.MGR_PC:_LOG_ERROR_RESEND__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00405820
mov edx, dword [esp + 0xa4]
push 0x63
and edx, 0xff
mov ecx, ebp
push edx
push 2
mov dword [ebp + 0x1448], 0x6c
call fcn.00405670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc