Function at 0x4027e0
Capabilities:
Contain obfuscated stackstrings
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 0x40289d
mov byte [esp + 0x58], 0x11
mov byte [esp + 0x59], 0xc
mov byte [esp + 0x5a], 0x6d
mov byte [esp + 0x5b], 0x11
mov byte [esp + 0x5c], 0x77
mov byte [esp + 0x5d], 0x2e
mov byte [esp + 0x5e], 9
mov byte [esp + 0x5f], 0x35
mov byte [esp + 0x60], 0x66
mov byte [esp + 0x61], 0xc
mov byte [esp + 0x62], 0x29
mov byte [esp + 0x63], 0x29
mov byte [esp + 0x64], 0x5e
mov al, byte [esp + 0x58]
mov byte [esp + 0x65], 0
cmp byte [esp + 0x65], 0
jne 0x402894
xor edi, edi
lea esi, [ecx + 0x7d]
nop
mov al, byte [esp + edi + 0x58]
mov ecx, 0x5e
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x1a
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x58], dl
inc edi
cmp edi, 0xd
jb 0x402870
lea esi, [esp + 0x58]
jmp 0x402dc3
cmp ecx, 3
jne 0x402919
mov byte [esp + 0x19], 0xd
mov byte [esp + 0x1a], 0x4e
mov byte [esp + 0x1b], 0x19
mov byte [esp + 0x1c], 0x2f
mov byte [esp + 0x1d], 0x7e
mov byte [esp + 0x1e], 0x5f
mov byte [esp + 0x1f], 0x62
mov byte [esp + 0x20], 0x79
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0x73
mov byte [esp + 0x23], 0x45
mov al, byte [esp + 0x19]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x402910
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop
mov al, byte [esp + ecx + 0x19]
movzx eax, al
sub eax, 0x45
imul eax, eax, 0x29
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x19], dl
inc ecx
cmp ecx, 0xb
jb 0x4028f0
lea esi, [esp + 0x19]
jmp 0x402dc3
cmp ecx, 4
jne 0x4029a0
mov byte [esp + 0x25], 0x4d
mov byte [esp + 0x26], 0x38
mov byte [esp + 0x27], 0x40
mov byte [esp + 0x28], 0x4e
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0x40
mov byte [esp + 0x2b], 0x2b
mov byte [esp + 0x2c], 9
mov byte [esp + 0x2d], 0x33
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x77
mov al, byte [esp + 0x25]
mov byte [esp + 0x30], 0
cmp byte [esp + 0x30], 0
jne 0x402997
xor edi, edi
lea esi, [ecx + 0x7b]
nop
mov al, byte [esp + edi + 0x25]
mov ecx, 0x77
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 + 0x25], dl
inc edi
cmp edi, 0xb
jb 0x402970
lea esi, [esp + 0x25]
jmp 0x402dc3
cmp ecx, 5
jne 0x402a20
mov byte [esp + 0xe], 0x32
mov byte [esp + 0xf], 0x12
mov byte [esp + 0x10], 0x3d
mov byte [esp + 0x11], 0x67
mov byte [esp + 0x12], 0x67
mov byte [esp + 0x13], 0x5f
mov byte [esp + 0x14], 0x3d
mov byte [esp + 0x15], 0x67
mov byte [esp + 0x16], 0x67
mov byte [esp + 0x17], 0x2c
mov al, byte [esp + 0xe]
mov byte [esp + 0x18], 0
cmp byte [esp + 0x18], 0
jne 0x402a17
xor edi, edi
lea esi, [ecx + 0x7a]
mov al, byte [esp + edi + 0xe]
mov ecx, 0x2c
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 + 0xe], dl
inc edi
cmp edi, 0xa
jb 0x4029f0
lea esi, [esp + 0xe]
jmp 0x402dc3
cmp ecx, 6
jne 0x402ab0
mov byte [esp + 0x66], 0x47
mov byte [esp + 0x67], 0x75
mov byte [esp + 0x68], 0x4b
mov byte [esp + 0x69], 0x60
mov byte [esp + 0x6a], 0x75
mov byte [esp + 0x6b], 0x46
mov byte [esp + 0x6c], 0x75
mov byte [esp + 0x6d], 0x70
mov byte [esp + 0x6e], 0x58
mov byte [esp + 0x6f], 0x36
mov byte [esp + 0x70], 0x60
mov byte [esp + 0x71], 0x60
mov byte [esp + 0x72], 0x25
mov al, byte [esp + 0x66]
mov byte [esp + 0x73], 0
cmp byte [esp + 0x73], 0
jne 0x402aa7
xor edi, edi
lea esi, [ecx + 0x79]
nop
mov al, byte [esp + edi + 0x66]
mov ecx, 0x25
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 + 0x66], dl
inc edi
cmp edi, 0xd
jb 0x402a80
lea esi, [esp + 0x66]
jmp 0x402dc3
cmp ecx, 7
jne 0x402b3d
mov byte [esp + 0x31], 0x27
mov byte [esp + 0x32], 6
mov byte [esp + 0x33], 0x7c
mov byte [esp + 0x34], 0x12
mov byte [esp + 0x35], 0x12
mov byte [esp + 0x36], 0x65
mov byte [esp + 0x37], 0x62
mov byte [esp + 0x38], 0x56
mov byte [esp + 0x39], 0x79
mov byte [esp + 0x3a], 0x12
mov byte [esp + 0x3b], 0x12
mov byte [esp + 0x3c], 0x4b
mov al, byte [esp + 0x31]
mov byte [esp + 0x3d], 0
cmp byte [esp + 0x3d], 0
jne 0x402b34
xor edi, edi
lea esi, [ecx + 0x78]
nop word [eax + eax]
mov al, byte [esp + edi + 0x31]
mov ecx, 0x4b
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2a
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], 0x17
mov byte [esp + 0x75], 0x70
mov byte [esp + 0x76], 0x20
mov byte [esp + 0x77], 0x5b
mov byte [esp + 0x78], 0xb
mov byte [esp + 0x79], 6
mov byte [esp + 0x7a], 0x28
mov byte [esp + 0x7b], 3
mov byte [esp + 0x7c], 0x6d
mov byte [esp + 0x7d], 0x4b
mov byte [esp + 0x7e], 0x75
mov byte [esp + 0x7f], 0x75
mov byte [esp + 0x80], 0x3a
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 word [eax + eax]
mov al, byte [esp + edi + 0x74]
mov ecx, 0x3a
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 + 0x74], dl
inc edi
cmp edi, 0xd
jb 0x402bb0
lea esi, [esp + 0x74]
jmp 0x402dc3
cmp ecx, 0xa
jne 0x402c6f
mov byte [esp + 0x3e], 9
mov byte [esp + 0x3f], 0x3b
mov byte [esp + 0x40], 0x57
mov byte [esp + 0x41], 0x25
mov byte [esp + 0x42], cl
mov byte [esp + 0x43], 0x73
mov byte [esp + 0x44], 0x42
mov byte [esp + 0x45], 0x22
mov byte [esp + 0x46], 0x1f
mov byte [esp + 0x47], 0x57
mov byte [esp + 0x48], 0x57
mov byte [esp + 0x49], 0x5d
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 dword [eax]
mov al, byte [esp + edi + 0x3e]
mov ecx, 0x5d
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*8]
add eax, eax
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 0x402cfd
mov byte [esp + 0x4b], 0x2c
mov byte [esp + 0x4c], 0x35
mov byte [esp + 0x4d], 3
mov byte [esp + 0x4e], 0x1f
mov byte [esp + 0x4f], 0x4b
mov byte [esp + 0x50], 0x7a
mov byte [esp + 0x51], 0x6f
mov byte [esp + 0x52], 0x43
mov byte [esp + 0x53], 0x1a
mov byte [esp + 0x54], 0x72
mov byte [esp + 0x55], 0x72
mov byte [esp + 0x56], 0x45
mov al, byte [esp + 0x4b]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x402cf4
xor edi, edi
lea esi, [ecx + 0x74]
nop dword [eax]
mov al, byte [esp + edi + 0x4b]
mov ecx, 0x45
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x17
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], 0x28
mov byte [esp + 0x83], 0x16
mov byte [esp + 0x84], 4
mov byte [esp + 0x85], 0x28
mov byte [esp + 0x86], 4
mov byte [esp + 0x87], 3
mov byte [esp + 0x88], 0x6f
mov byte [esp + 0x89], 0x28
mov byte [esp + 0x8a], 0x79
mov byte [esp + 0x8b], 0x26
mov byte [esp + 0x8c], 0x15
mov byte [esp + 0x8d], 0x15
mov byte [esp + 0x8e], 0x3c
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 dword [eax]
mov al, byte [esp + edi + 0x82]
movzx ecx, al
sub ecx, 0x3c
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, 0x31
push 0x67cb
push 0xff5b414c
lea ecx, [edx - 0x30]
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