Function at 0x402e80
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov al, 0x65
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov cl, 0x6c
push edi
mov byte [ebp - 0x37], al
mov byte [ebp - 0x36], al
mov byte [ebp - 0x4f], al
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x3a], cl
mov byte [ebp - 0x4b], cl
mov byte [ebp - 0x46], cl
mov byte [ebp - 0x45], cl
lea eax, [ebp - 0x40]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x50]
mov dl, 0x72
xor ebx, ebx
push eax
push ecx
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], dl
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x3c], 0x75
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x39], 0x46
mov byte [ebp - 0x38], dl
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x50], 0x6b
mov byte [ebp - 0x4e], dl
mov byte [ebp - 0x4d], 0x6e
mov byte [ebp - 0x4a], 0x33
mov byte [ebp - 0x49], 0x32
mov byte [ebp - 0x48], 0x2e
mov byte [ebp - 0x47], 0x64
mov byte [ebp - 0x44], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.VirtualProtect
push str.kernel32.dll
call esi
push eax
call edi
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [edx]
mov cx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edx]
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jge 0x403082
mov eax, dword [edi + 0x24]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x402fa9
lea edx, [ebp - 0x24]
push 0x40a2c8
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 0x4b
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 0x4000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0x403064
ret
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov ecx, dword [edx*4 + 0x41a370]
mov dword [ebp - 0x1c], ecx
je 0x402fc8
mov eax, ecx
or ah, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x403028
lea edx, [ebp - 0x28]
push 0x40a2c8
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x403009
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x40301e
ret
test al, 0x80
je 0x403018
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov eax, 0x40301e
ret
test eax, eax
jbe 0x40306b
lea ecx, [ebp - 0x2c]
push 0x40a2c8
push ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [ebp - 0x30]
mov eax, 0x403064
ret
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc ecx
add edi, 0x28
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
jmp 0x402f40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret