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 0x402e1d
cmp ecx, 1
jne 0x40282f
call fcn.00402400
jmp 0x402dfe
cmp ecx, 2
jne 0x4028bc
mov byte [esp + 0x58], 0x1f
mov byte [esp + 0x59], 0x3f
mov byte [esp + 0x5a], 1
mov byte [esp + 0x5b], 0x1f
mov byte [esp + 0x5c], 0x40
mov byte [esp + 0x5d], 0x4a
mov byte [esp + 0x5e], 6
mov byte [esp + 0x5f], 0x50
mov byte [esp + 0x60], 0x7a
mov byte [esp + 0x61], 0x3f
mov byte [esp + 0x62], 0x6a
mov byte [esp + 0x63], 0x6a
mov byte [esp + 0x64], 0x61
mov al, byte [esp + 0x58]
mov byte [esp + 0x65], 0
cmp byte [esp + 0x65], 0
jne 0x4028b3
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop
mov al, byte [esp + ecx + 0x58]
movzx eax, al
sub eax, 0x61
lea eax, [eax + eax*2]
shl eax, 2
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x58], dl
inc ecx
cmp ecx, 0xd
jb 0x402890
lea esi, [esp + 0x58]
jmp 0x402de1
cmp ecx, 3
jne 0x40293e
mov byte [esp + 0x19], 0x20
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x4c
mov byte [esp + 0x1c], 0x48
mov byte [esp + 0x1d], 0x17
mov byte [esp + 0x1e], 0x79
mov byte [esp + 0x1f], 5
mov byte [esp + 0x20], 0x2f
mov byte [esp + 0x21], 0x19
mov byte [esp + 0x22], 0x19
mov byte [esp + 0x23], 0x44
mov al, byte [esp + 0x19]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x402935
xor edi, edi
lea esi, [ecx + 0x7c]
mov al, byte [esp + edi + 0x19]
mov ecx, 0x44
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x23
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x19], dl
inc edi
cmp edi, 0xb
jb 0x402911
lea esi, [esp + 0x19]
jmp 0x402de1
cmp ecx, 4
jne 0x4029c5
mov byte [esp + 0x25], 0x54
mov byte [esp + 0x26], 0x66
mov byte [esp + 0x27], 0x4d
mov byte [esp + 0x28], 0x41
mov byte [esp + 0x29], 9
mov byte [esp + 0x2a], 0x4d
mov byte [esp + 0x2b], 0x5f
mov byte [esp + 0x2c], 0x6a
mov byte [esp + 0x2d], 0x46
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x30
mov al, byte [esp + 0x25]
mov byte [esp + 0x30], 0
cmp byte [esp + 0x30], 0
jne 0x4029bc
xor edi, edi
lea esi, [ecx + 0x7b]
mov al, byte [esp + edi + 0x25]
movzx ecx, al
sub ecx, 0x30
lea eax, [ecx*8]
sub eax, ecx
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 0x402993
lea esi, [esp + 0x25]
jmp 0x402de1
cmp ecx, 5
jne 0x402a3e
mov byte [esp + 0xe], 0x38
mov byte [esp + 0xf], 0x1f
mov byte [esp + 0x10], 0xd
mov byte [esp + 0x11], 0x16
mov byte [esp + 0x12], 0x16
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0xd
mov byte [esp + 0x15], 0x16
mov byte [esp + 0x16], 0x16
mov byte [esp + 0x17], 0x5b
mov al, byte [esp + 0xe]
mov byte [esp + 0x18], 0
cmp byte [esp + 0x18], 0
jne 0x402a35
xor edi, edi
lea esi, [ecx + 0x7a]
mov al, byte [esp + edi + 0xe]
movzx ecx, al
sub ecx, 0x5b
mov eax, ecx
shl eax, 4
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 0x402a11
lea esi, [esp + 0xe]
jmp 0x402de1
cmp ecx, 6
jne 0x402acd
mov byte [esp + 0x66], 0x79
mov byte [esp + 0x67], 0x16
mov byte [esp + 0x68], 0xd
mov byte [esp + 0x69], 0x51
mov byte [esp + 0x6a], 0x16
mov byte [esp + 0x6b], 0x15
mov byte [esp + 0x6c], 0x16
mov byte [esp + 0x6d], 0x1e
mov byte [esp + 0x6e], 0x2b
mov byte [esp + 0x6f], 0x48
mov byte [esp + 0x70], 0x51
mov byte [esp + 0x71], 0x51
mov byte [esp + 0x72], 0x17
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]
movzx ecx, al
sub ecx, 0x17
mov eax, ecx
shl eax, 4
sub eax, ecx
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 0x402de1
cmp ecx, 7
jne 0x402b5d
mov byte [esp + 0x31], 0x1a
mov byte [esp + 0x32], 0x2e
mov byte [esp + 0x33], 0x3f
mov byte [esp + 0x34], 0x6c
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x32
mov byte [esp + 0x37], 0x62
mov byte [esp + 0x38], 0x24
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0x55
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]
mov ecx, 0x55
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2d
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 0x402de1
cmp ecx, 8
jne 0x402c00
mov byte [esp + 0x74], 0x76
mov byte [esp + 0x75], 0x13
mov byte [esp + 0x76], 0x62
mov byte [esp + 0x77], 0x6c
mov byte [esp + 0x78], 0x3c
mov byte [esp + 0x79], 0x39
mov byte [esp + 0x7a], 0x34
mov byte [esp + 0x7b], 0x6a
mov byte [esp + 0x7c], 0x44
mov byte [esp + 0x7d], 0x49
mov byte [esp + 0x7e], 0x16
mov byte [esp + 0x7f], 0x16
mov byte [esp + 0x80], 0xc
mov al, byte [esp + 0x74]
mov byte [esp + 0x81], 0
cmp byte [esp + 0x81], 0
jne 0x402bf7
xor edi, edi
lea esi, [ecx + 0x77]
nop word [eax + eax]
mov al, byte [esp + edi + 0x74]
mov ecx, 0xc
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 + 0x74], dl
inc edi
cmp edi, 0xd
jb 0x402bd0
lea esi, [esp + 0x74]
jmp 0x402de1
cmp ecx, 0xa
jne 0x402c91
mov byte [esp + 0x3e], 0x4c
mov byte [esp + 0x3f], 0x36
mov byte [esp + 0x40], 0x3e
mov byte [esp + 0x41], 0x54
mov byte [esp + 0x42], 0x28
mov byte [esp + 0x43], 0x46
mov byte [esp + 0x44], 0x38
mov byte [esp + 0x45], 0x41
mov byte [esp + 0x46], 0x2e
mov byte [esp + 0x47], 0x3e
mov byte [esp + 0x48], 0x3e
mov byte [esp + 0x49], 0x64
mov al, byte [esp + 0x3e]
mov byte [esp + 0x4a], 0
cmp byte [esp + 0x4a], 0
jne 0x402c88
xor edi, edi
lea esi, [ecx + 0x75]
nop word [eax + eax]
mov al, byte [esp + edi + 0x3e]
mov ecx, 0x64
movzx eax, al
sub ecx, eax
mov eax, ecx
shl eax, 6
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 0x402c60
lea esi, [esp + 0x3e]
jmp 0x402de1
cmp ecx, 0xb
jne 0x402d1d
mov byte [esp + 0x4b], 0x4a
mov byte [esp + 0x4c], 0x7c
mov byte [esp + 0x4d], 0x48
mov byte [esp + 0x4e], 0x1e
mov byte [esp + 0x4f], 0x5b
mov byte [esp + 0x50], 0x54
mov byte [esp + 0x51], 0x25
mov byte [esp + 0x52], 0x67
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x54], 0x60
mov byte [esp + 0x55], 0x60
mov byte [esp + 0x56], 0x64
mov al, byte [esp + 0x4b]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x402d14
xor edi, edi
lea esi, [ecx + 0x74]
nop dword [eax + eax]
mov al, byte [esp + edi + 0x4b]
mov ecx, 0x64
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x1b
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x4b], dl
inc edi
cmp edi, 0xc
jb 0x402cf0
lea esi, [esp + 0x4b]
jmp 0x402de1
cmp ecx, 0xc
jne 0x402e1b
mov byte [esp + 0x82], 0x7e
mov byte [esp + 0x83], 0x52
mov byte [esp + 0x84], 0x26
mov byte [esp + 0x85], 0x7e
mov byte [esp + 0x86], 0x26
mov byte [esp + 0x87], 0x5c
mov byte [esp + 0x88], 0x66
mov byte [esp + 0x89], 0x7e
mov byte [esp + 0x8a], 0x46
mov byte [esp + 0x8b], 0x6b
mov byte [esp + 0x8c], 9
mov byte [esp + 0x8d], 9
mov byte [esp + 0x8e], 0x3e
mov al, byte [esp + 0x82]
mov byte [esp + 0x8f], 0
cmp byte [esp + 0x8f], 0
jne 0x402dda
xor edi, edi
lea esi, [ecx + 0x73]
nop dword [eax]
mov al, byte [esp + edi + 0x82]
mov ecx, 0x3e
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x1a
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x82], dl
inc edi
cmp edi, 0xd
jb 0x402db0
lea esi, [esp + 0x82]
mov edx, 0x3d
push 0xa753
push 0x5bc9414c
lea ecx, [edx - 0x3c]
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