Function at 0x4027e0
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
mov ebx, edx
push esi
push edi
mov eax, dword [ebx*4 + 0x455c98]
test eax, eax
jne 0x402dff
cmp ecx, 1
jne 0x40280f
call fcn.004023e0
jmp 0x402de0
cmp ecx, 2
jne 0x40289b
mov byte [esp + 0x58], 0x53
mov byte [esp + 0x59], 0x60
mov byte [esp + 0x5a], 0x2f
mov byte [esp + 0x5b], 0x53
mov byte [esp + 0x5c], 0x15
mov byte [esp + 0x5d], 0x21
mov byte [esp + 0x5e], 0x35
mov byte [esp + 0x5f], 0x5b
mov byte [esp + 0x60], 0x74
mov byte [esp + 0x61], 0x60
mov byte [esp + 0x62], 0x2e
mov byte [esp + 0x63], 0x2e
mov byte [esp + 0x64], 0x56
mov al, byte [esp + 0x58]
mov byte [esp + 0x65], 0
cmp byte [esp + 0x65], 0
jne 0x402892
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop
mov al, byte [esp + ecx + 0x58]
movzx eax, al
sub eax, 0x56
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x58], dl
inc ecx
cmp ecx, 0xd
jb 0x402870
lea esi, [esp + 0x58]
jmp 0x402dc3
cmp ecx, 3
jne 0x40291d
mov byte [esp + 0x19], 0x27
mov byte [esp + 0x1a], 0x21
mov byte [esp + 0x1b], 0x76
mov byte [esp + 0x1c], 0x1e
mov byte [esp + 0x1d], 0x5f
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x50
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], 0xc
mov byte [esp + 0x22], 0xc
mov byte [esp + 0x23], 0x45
mov al, byte [esp + 0x19]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x402914
xor edi, edi
lea esi, [ecx + 0x7c]
mov al, byte [esp + edi + 0x19]
mov ecx, 0x45
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2a
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x19], dl
inc edi
cmp edi, 0xb
jb 0x4028f0
lea esi, [esp + 0x19]
jmp 0x402dc3
cmp ecx, 4
jne 0x4029a2
mov byte [esp + 0x25], 0x1b
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x46
mov byte [esp + 0x28], 0x35
mov byte [esp + 0x29], 0x10
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x20
mov byte [esp + 0x2c], 0x25
mov byte [esp + 0x2d], 0x71
mov byte [esp + 0x2e], 0x71
mov byte [esp + 0x2f], 0x67
mov al, byte [esp + 0x25]
mov byte [esp + 0x30], 0
cmp byte [esp + 0x30], 0
jne 0x402999
xor edi, edi
lea esi, [ecx + 0x7b]
mov al, byte [esp + edi + 0x25]
mov ecx, 0x67
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 3
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x25], dl
inc edi
cmp edi, 0xb
jb 0x402972
lea esi, [esp + 0x25]
jmp 0x402dc3
cmp ecx, 5
jne 0x402a25
mov byte [esp + 0xe], 0x77
mov byte [esp + 0xf], 0x7b
mov byte [esp + 0x10], 0x46
mov byte [esp + 0x11], 0x21
mov byte [esp + 0x12], 0x21
mov byte [esp + 0x13], 0x22
mov byte [esp + 0x14], 0x46
mov byte [esp + 0x15], 0x21
mov byte [esp + 0x16], 0x21
mov byte [esp + 0x17], 0x58
mov al, byte [esp + 0xe]
mov byte [esp + 0x18], 0
cmp byte [esp + 0x18], 0
jne 0x402a1c
xor edi, edi
lea esi, [ecx + 0x7a]
mov al, byte [esp + edi + 0xe]
mov ecx, 0x58
movzx eax, al
sub ecx, eax
mov eax, ecx
shl eax, 5
sub eax, ecx
add eax, eax
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0xe], dl
inc edi
cmp edi, 0xa
jb 0x4029f2
lea esi, [esp + 0xe]
jmp 0x402dc3
cmp ecx, 6
jne 0x402ab3
mov byte [esp + 0x66], 1
mov byte [esp + 0x67], 0x6b
mov byte [esp + 0x68], 0x52
mov byte [esp + 0x69], 0x1f
mov byte [esp + 0x6a], 0x6b
mov byte [esp + 0x6b], 0x4c
mov byte [esp + 0x6c], 0x6b
mov byte [esp + 0x6d], 0x65
mov byte [esp + 0x6e], 0x7b
mov byte [esp + 0x6f], cl
mov byte [esp + 0x70], 0x1f
mov byte [esp + 0x71], 0x1f
mov byte [esp + 0x72], 0xb
mov al, byte [esp + 0x66]
mov byte [esp + 0x73], 0
cmp byte [esp + 0x73], 0
jne 0x402aaa
xor edi, edi
lea esi, [ecx + 0x79]
mov al, byte [esp + edi + 0x66]
mov ecx, 0xb
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 2
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x66], dl
inc edi
cmp edi, 0xd
jb 0x402a83
lea esi, [esp + 0x66]
jmp 0x402dc3
cmp ecx, 7
jne 0x402b40
mov byte [esp + 0x31], 0x30
mov byte [esp + 0x32], 0x49
mov byte [esp + 0x33], 0x7e
mov byte [esp + 0x34], 0x57
mov byte [esp + 0x35], 0x57
mov byte [esp + 0x36], 0x4e
mov byte [esp + 0x37], 0xb
mov byte [esp + 0x38], 0x7c
mov byte [esp + 0x39], 0x3b
mov byte [esp + 0x3a], 0x57
mov byte [esp + 0x3b], 0x57
mov byte [esp + 0x3c], 0x5a
mov al, byte [esp + 0x31]
mov byte [esp + 0x3d], 0
cmp byte [esp + 0x3d], 0
jne 0x402b37
xor edi, edi
lea esi, [ecx + 0x78]
nop dword [eax]
mov al, byte [esp + edi + 0x31]
mov ecx, 0x5a
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*8]
shl eax, 2
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x31], dl
inc edi
cmp edi, 0xc
jb 0x402b10
lea esi, [esp + 0x31]
jmp 0x402dc3
cmp ecx, 8
jne 0x402be0
mov byte [esp + 0x74], 0x5b
mov byte [esp + 0x75], 0x14
mov byte [esp + 0x76], 0x33
mov byte [esp + 0x77], 0x47
mov byte [esp + 0x78], 0x66
mov byte [esp + 0x79], 0x60
mov byte [esp + 0x7a], 0x56
mov byte [esp + 0x7b], 0x43
mov byte [esp + 0x7c], 0x76
mov byte [esp + 0x7d], 1
mov byte [esp + 0x7e], 0x1a
mov byte [esp + 0x7f], 0x1a
mov byte [esp + 0x80], 6
mov al, byte [esp + 0x74]
mov byte [esp + 0x81], 0
cmp byte [esp + 0x81], 0
jne 0x402bd7
xor edi, edi
lea esi, [ecx + 0x77]
nop dword [eax + eax]
mov al, byte [esp + edi + 0x74]
mov ecx, 6
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 2
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x74], dl
inc edi
cmp edi, 0xd
jb 0x402bb0
lea esi, [esp + 0x74]
jmp 0x402dc3
cmp ecx, 0xa
jne 0x402c6f
mov byte [esp + 0x3e], 0x2a
mov byte [esp + 0x3f], 0x71
mov byte [esp + 0x40], 0x29
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x42], 0x70
mov byte [esp + 0x43], 0x60
mov byte [esp + 0x44], 0x5f
mov byte [esp + 0x45], 0xe
mov byte [esp + 0x46], 0x3a
mov byte [esp + 0x47], 0x29
mov byte [esp + 0x48], 0x29
mov byte [esp + 0x49], 0x50
mov al, byte [esp + 0x3e]
mov byte [esp + 0x4a], 0
cmp byte [esp + 0x4a], 0
jne 0x402c66
xor edi, edi
lea esi, [ecx + 0x75]
nop word [eax + eax]
mov al, byte [esp + edi + 0x3e]
movzx ecx, al
sub ecx, 0x50
lea eax, [ecx*8]
sub eax, ecx
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x3e], dl
inc edi
cmp edi, 0xc
jb 0x402c40
lea esi, [esp + 0x3e]
jmp 0x402dc3
cmp ecx, 0xb
jne 0x402d00
mov byte [esp + 0x4b], 0x5c
mov byte [esp + 0x4c], 0x35
mov byte [esp + 0x4d], 0x3a
mov byte [esp + 0x4e], 0x6a
mov byte [esp + 0x4f], 0
mov byte [esp + 0x50], 8
mov byte [esp + 0x51], 0x62
mov byte [esp + 0x52], 0x4d
mov byte [esp + 0x53], 0x2b
mov byte [esp + 0x54], 0x55
mov byte [esp + 0x55], 0x55
mov byte [esp + 0x56], 0x1a
mov al, byte [esp + 0x4b]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x402cf7
xor edi, edi
lea esi, [ecx + 0x74]
nop dword [eax]
mov al, byte [esp + edi + 0x4b]
mov ecx, 0x1a
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 3
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x4b], dl
inc edi
cmp edi, 0xc
jb 0x402cd0
lea esi, [esp + 0x4b]
jmp 0x402dc3
cmp ecx, 0xc
jne 0x402dfd
mov byte [esp + 0x82], 0x42
mov byte [esp + 0x83], 0x30
mov byte [esp + 0x84], 0x1e
mov byte [esp + 0x85], 0x42
mov byte [esp + 0x86], 0x1e
mov byte [esp + 0x87], 0x1d
mov byte [esp + 0x88], 0xa
mov byte [esp + 0x89], 0x42
mov byte [esp + 0x8a], 0x14
mov byte [esp + 0x8b], 0x40
mov byte [esp + 0x8c], 0x2f
mov byte [esp + 0x8d], 0x2f
mov byte [esp + 0x8e], 0x56
mov al, byte [esp + 0x82]
mov byte [esp + 0x8f], 0
cmp byte [esp + 0x8f], 0
jne 0x402dbc
xor edi, edi
lea esi, [ecx + 0x73]
nop
mov al, byte [esp + edi + 0x82]
movzx ecx, al
sub ecx, 0x56
lea eax, [ecx*8]
sub eax, ecx
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x82], dl
inc edi
cmp edi, 0xd
jb 0x402d90
lea esi, [esp + 0x82]
mov edx, 0x33
push 0x375a
push 0xe3a9414c
lea ecx, [edx - 0x32]
call fcn.004027e0
add esp, 8
push esi
call eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00402630
add esp, 0xc
mov dword [ebx*4 + 0x455c98], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret