Function at 0x402800
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 0x402e0d
cmp ecx, 1
jne 0x40282f
call fcn.00402400
jmp 0x402dee
cmp ecx, 2
jne 0x4028bd
mov byte [esp + 0x58], 0x4e
mov byte [esp + 0x59], 0x57
mov byte [esp + 0x5a], 0xe
mov byte [esp + 0x5b], 0x4e
mov byte [esp + 0x5c], 0x7b
mov byte [esp + 0x5d], 0x66
mov byte [esp + 0x5e], 0x43
mov byte [esp + 0x5f], 0x40
mov byte [esp + 0x60], 0x34
mov byte [esp + 0x61], 0x57
mov byte [esp + 0x62], 0x6f
mov byte [esp + 0x63], 0x6f
mov byte [esp + 0x64], 0x29
mov al, byte [esp + 0x58]
mov byte [esp + 0x65], 0
cmp byte [esp + 0x65], 0
jne 0x4028b4
xor edi, edi
lea esi, [ecx + 0x7d]
nop
mov al, byte [esp + edi + 0x58]
mov ecx, 0x29
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2a
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x58], dl
inc edi
cmp edi, 0xd
jb 0x402890
lea esi, [esp + 0x58]
jmp 0x402dd1
cmp ecx, 3
jne 0x402940
mov byte [esp + 0x19], 0x71
mov byte [esp + 0x1a], 0x27
mov byte [esp + 0x1b], 0x1d
mov byte [esp + 0x1c], 2
mov byte [esp + 0x1d], 0x54
mov byte [esp + 0x1e], 0x2f
mov byte [esp + 0x1f], 0x1a
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x22
mov byte [esp + 0x22], 0x22
mov byte [esp + 0x23], 0x66
mov al, byte [esp + 0x19]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x402937
xor edi, edi
lea esi, [ecx + 0x7c]
nop
mov al, byte [esp + edi + 0x19]
mov ecx, 0x66
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 + 0x19], dl
inc edi
cmp edi, 0xb
jb 0x402910
lea esi, [esp + 0x19]
jmp 0x402dd1
cmp ecx, 4
jne 0x4029c1
mov byte [esp + 0x25], 0x24
mov byte [esp + 0x26], 0x57
mov byte [esp + 0x27], 0x7a
mov byte [esp + 0x28], 0x58
mov byte [esp + 0x29], 0xe
mov byte [esp + 0x2a], 0x7a
mov byte [esp + 0x2b], 0x2e
mov byte [esp + 0x2c], 0x38
mov byte [esp + 0x2d], 0x51
mov byte [esp + 0x2e], 0x51
mov byte [esp + 0x2f], 0x3d
mov al, byte [esp + 0x25]
mov byte [esp + 0x30], 0
cmp byte [esp + 0x30], 0
jne 0x4029b8
xor edi, edi
lea esi, [ecx + 0x7b]
mov al, byte [esp + edi + 0x25]
mov ecx, 0x3d
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 + 0x25], dl
inc edi
cmp edi, 0xb
jb 0x402991
lea esi, [esp + 0x25]
jmp 0x402dd1
cmp ecx, 5
jne 0x402a3d
mov byte [esp + 0xe], 0x78
mov byte [esp + 0xf], 0x70
mov byte [esp + 0x10], 0x5b
mov byte [esp + 0x11], 0x26
mov byte [esp + 0x12], 0x26
mov byte [esp + 0x13], 0x24
mov byte [esp + 0x14], 0x5b
mov byte [esp + 0x15], 0x26
mov byte [esp + 0x16], 0x26
mov byte [esp + 0x17], 0x37
mov al, byte [esp + 0xe]
mov byte [esp + 0x18], 0
cmp byte [esp + 0x18], 0
jne 0x402a34
xor edi, edi
lea esi, [ecx + 0x7a]
nop dword [eax]
mov al, byte [esp + edi + 0xe]
movzx ecx, al
sub ecx, 0x37
mov eax, ecx
shl eax, 5
sub eax, ecx
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0xe], dl
inc edi
cmp edi, 0xa
jb 0x402a10
lea esi, [esp + 0xe]
jmp 0x402dd1
cmp ecx, 6
jne 0x402acd
mov byte [esp + 0x66], 0x44
mov byte [esp + 0x67], 0x7b
mov byte [esp + 0x68], 1
mov byte [esp + 0x69], 0x3e
mov byte [esp + 0x6a], 0x7b
mov byte [esp + 0x6b], 0x35
mov byte [esp + 0x6c], 0x7b
mov byte [esp + 0x6d], 0x30
mov byte [esp + 0x6e], 0x45
mov byte [esp + 0x6f], 0x43
mov byte [esp + 0x70], 0x3e
mov byte [esp + 0x71], 0x3e
mov byte [esp + 0x72], 0x42
mov al, byte [esp + 0x66]
mov byte [esp + 0x73], 0
cmp byte [esp + 0x73], 0
jne 0x402ac4
xor edi, edi
lea esi, [ecx + 0x79]
nop dword [eax]
mov al, byte [esp + edi + 0x66]
mov ecx, 0x42
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x1b
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x66], dl
inc edi
cmp edi, 0xd
jb 0x402aa0
lea esi, [esp + 0x66]
jmp 0x402dd1
cmp ecx, 7
jne 0x402b5d
mov byte [esp + 0x31], 0x7b
mov byte [esp + 0x32], 0x35
mov byte [esp + 0x33], 0x39
mov byte [esp + 0x34], 0x5a
mov byte [esp + 0x35], 0x5a
mov byte [esp + 0x36], 0x27
mov byte [esp + 0x37], 0x7d
mov byte [esp + 0x38], 0x58
mov byte [esp + 0x39], 0x10
mov byte [esp + 0x3a], 0x5a
mov byte [esp + 0x3b], 0x5a
mov byte [esp + 0x3c], 0x6b
mov al, byte [esp + 0x31]
mov byte [esp + 0x3d], 0
cmp byte [esp + 0x3d], 0
jne 0x402b54
xor edi, edi
lea esi, [ecx + 0x78]
nop word [eax + eax]
mov al, byte [esp + edi + 0x31]
movzx ecx, al
sub ecx, 0x6b
mov eax, ecx
shl eax, 5
sub eax, ecx
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x31], dl
inc edi
cmp edi, 0xc
jb 0x402b30
lea esi, [esp + 0x31]
jmp 0x402dd1
cmp ecx, 8
jne 0x402bf7
mov byte [esp + 0x74], 0x65
mov byte [esp + 0x75], 0x3d
mov byte [esp + 0x76], 0x39
mov byte [esp + 0x77], 0x4f
mov byte [esp + 0x78], 0x4b
mov byte [esp + 0x79], 0x2b
mov byte [esp + 0x7a], 0x20
mov byte [esp + 0x7b], 0x64
mov byte [esp + 0x7c], 0x76
mov byte [esp + 0x7d], 2
mov byte [esp + 0x7e], 0x5d
mov byte [esp + 0x7f], 0x5d
mov byte [esp + 0x80], 0x47
mov al, byte [esp + 0x74]
mov byte [esp + 0x81], 0
cmp byte [esp + 0x81], 0
jne 0x402bee
xor edi, edi
lea esi, [ecx + 0x77]
mov al, byte [esp + edi + 0x74]
movzx ecx, al
sub ecx, 0x47
lea eax, [ecx*8]
sub eax, ecx
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 0x402bc5
lea esi, [esp + 0x74]
jmp 0x402dd1
cmp ecx, 0xa
jne 0x402c7e
mov byte [esp + 0x3e], 0x4c
mov byte [esp + 0x3f], 0x52
mov byte [esp + 0x40], 0x7e
mov byte [esp + 0x41], 0x78
mov byte [esp + 0x42], 5
mov byte [esp + 0x43], 0x2b
mov byte [esp + 0x44], 0x5d
mov byte [esp + 0x45], 0x4f
mov byte [esp + 0x46], 0x26
mov byte [esp + 0x47], 0x7e
mov byte [esp + 0x48], 0x7e
mov byte [esp + 0x49], 0x51
mov al, byte [esp + 0x3e]
mov byte [esp + 0x4a], 0
cmp byte [esp + 0x4a], 0
jne 0x402c75
xor edi, edi
lea esi, [ecx + 0x75]
mov al, byte [esp + edi + 0x3e]
mov ecx, 0x51
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x17
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x3e], dl
inc edi
cmp edi, 0xc
jb 0x402c51
lea esi, [esp + 0x3e]
jmp 0x402dd1
cmp ecx, 0xb
jne 0x402d0d
mov byte [esp + 0x4b], 0x26
mov byte [esp + 0x4c], 0x56
mov byte [esp + 0x4d], 0x1f
mov byte [esp + 0x4e], cl
mov byte [esp + 0x4f], 0x22
mov byte [esp + 0x50], 0x49
mov byte [esp + 0x51], 0x63
mov byte [esp + 0x52], 0x4c
mov byte [esp + 0x53], 0x45
mov byte [esp + 0x54], 0x73
mov byte [esp + 0x55], 0x73
mov byte [esp + 0x56], 2
mov al, byte [esp + 0x4b]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x402d04
xor edi, edi
lea esi, [ecx + 0x74]
nop word [eax + eax]
mov al, byte [esp + edi + 0x4b]
mov ecx, 2
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2c
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x4b], dl
inc edi
cmp edi, 0xc
jb 0x402ce0
lea esi, [esp + 0x4b]
jmp 0x402dd1
cmp ecx, 0xc
jne 0x402e0b
mov byte [esp + 0x82], 0x49
mov byte [esp + 0x83], 0x19
mov byte [esp + 0x84], 0x68
mov byte [esp + 0x85], 0x49
mov byte [esp + 0x86], 0x68
mov byte [esp + 0x87], 0x3b
mov byte [esp + 0x88], 0x5d
mov byte [esp + 0x89], 0x49
mov byte [esp + 0x8a], 0x23
mov byte [esp + 0x8b], 0x6e
mov byte [esp + 0x8c], 0x6b
mov byte [esp + 0x8d], 0x6b
mov byte [esp + 0x8e], 0x54
mov al, byte [esp + 0x82]
mov byte [esp + 0x8f], 0
cmp byte [esp + 0x8f], 0
jne 0x402dca
xor edi, edi
lea esi, [ecx + 0x73]
nop dword [eax]
mov al, byte [esp + edi + 0x82]
mov ecx, 0x54
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2d
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x82], dl
inc edi
cmp edi, 0xd
jb 0x402da0
lea esi, [esp + 0x82]
mov edx, 0x65
push 0x7759
push 0xfbdd414c
lea ecx, [edx - 0x64]
call fcn.00402800
add esp, 8
push esi
call eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00402650
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