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 0x402df9
cmp ecx, 1
jne 0x40282f
call fcn.00402400
jmp 0x402dda
cmp ecx, 2
jne 0x4028bd
mov byte [esp + 0x58], 0x1c
mov byte [esp + 0x59], 0x4f
mov byte [esp + 0x5a], 4
mov byte [esp + 0x5b], 0x1c
mov byte [esp + 0x5c], 0x1d
mov byte [esp + 0x5d], 0x25
mov byte [esp + 0x5e], 8
mov byte [esp + 0x5f], 0x76
mov byte [esp + 0x60], 0x32
mov byte [esp + 0x61], 0x4f
mov byte [esp + 0x62], 0x58
mov byte [esp + 0x63], 0x58
mov byte [esp + 0x64], 0x1e
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]
movzx ecx, al
sub ecx, 0x1e
mov eax, ecx
shl eax, 4
sub eax, ecx
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 0x402dbd
cmp ecx, 3
jne 0x402945
mov byte [esp + 0x19], 0x7e
mov byte [esp + 0x1a], 0x28
mov byte [esp + 0x1b], 0x49
mov byte [esp + 0x1c], 0x7c
mov byte [esp + 0x1d], 0x52
mov byte [esp + 0x1e], 0x27
mov byte [esp + 0x1f], 0x79
mov byte [esp + 0x20], 0x1e
mov byte [esp + 0x21], 0x78
mov byte [esp + 0x22], 0x78
mov byte [esp + 0x23], 0x30
mov al, byte [esp + 0x19]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x40293c
xor edi, edi
lea esi, [ecx + 0x7c]
mov al, byte [esp + edi + 0x19]
mov ecx, 0x30
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 + 0x19], dl
inc edi
cmp edi, 0xb
jb 0x402912
lea esi, [esp + 0x19]
jmp 0x402dbd
cmp ecx, 4
jne 0x4029c5
mov byte [esp + 0x25], 8
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], 0x3e
mov byte [esp + 0x28], 0x52
mov byte [esp + 0x29], 6
mov byte [esp + 0x2a], 0x3e
mov byte [esp + 0x2b], 0x20
mov byte [esp + 0x2c], 0x38
mov byte [esp + 0x2d], 0x74
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x2f], 0x44
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, 0x44
mov eax, ecx
shl eax, 4
add eax, ecx
add eax, eax
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x25], dl
inc edi
cmp edi, 0xb
jb 0x402996
lea esi, [esp + 0x25]
jmp 0x402dbd
cmp ecx, 5
jne 0x402a3e
mov byte [esp + 0xe], 0x1d
mov byte [esp + 0xf], 0x2f
mov byte [esp + 0x10], 0x7e
mov byte [esp + 0x11], 0x17
mov byte [esp + 0x12], 0x17
mov byte [esp + 0x13], 0x5b
mov byte [esp + 0x14], 0x7e
mov byte [esp + 0x15], 0x17
mov byte [esp + 0x16], 0x17
mov byte [esp + 0x17], 0x50
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]
mov ecx, 0x50
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2a
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 0x402dbd
cmp ecx, 6
jne 0x402ac9
mov byte [esp + 0x66], 0x7a
mov byte [esp + 0x67], 0x68
mov byte [esp + 0x68], 0xa
mov byte [esp + 0x69], 0x39
mov byte [esp + 0x6a], 0x68
mov byte [esp + 0x6b], 0x17
mov byte [esp + 0x6c], 0x68
mov byte [esp + 0x6d], 0x75
mov byte [esp + 0x6e], 0x1b
mov byte [esp + 0x6f], 0x5a
mov byte [esp + 0x70], 0x39
mov byte [esp + 0x71], 0x39
mov byte [esp + 0x72], 0x3a
mov al, byte [esp + 0x66]
mov byte [esp + 0x73], 0
cmp byte [esp + 0x73], 0
jne 0x402ac0
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop dword [eax]
mov al, byte [esp + ecx + 0x66]
movzx eax, al
sub eax, 0x3a
imul eax, eax, 0x13
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x66], dl
inc ecx
cmp ecx, 0xd
jb 0x402aa0
lea esi, [esp + 0x66]
jmp 0x402dbd
cmp ecx, 7
jne 0x402b53
mov byte [esp + 0x31], 0x42
mov byte [esp + 0x32], 0x6f
mov byte [esp + 0x33], 0x36
mov byte [esp + 0x34], 0x3c
mov byte [esp + 0x35], 0x3c
mov byte [esp + 0x36], 0x78
mov byte [esp + 0x37], 0x65
mov byte [esp + 0x38], 0x19
mov byte [esp + 0x39], 0x23
mov byte [esp + 0x3a], 0x3c
mov byte [esp + 0x3b], 0x3c
mov byte [esp + 0x3c], 0x28
mov al, byte [esp + 0x31]
mov byte [esp + 0x3d], 0
cmp byte [esp + 0x3d], 0
jne 0x402b4a
xor edi, edi
lea esi, [ecx + 0x78]
mov al, byte [esp + edi + 0x31]
mov ecx, 0x28
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 + 0x31], dl
inc edi
cmp edi, 0xc
jb 0x402b23
lea esi, [esp + 0x31]
jmp 0x402dbd
cmp ecx, 8
jne 0x402be9
mov byte [esp + 0x74], 0x1a
mov byte [esp + 0x75], 0x62
mov byte [esp + 0x76], 0x1d
mov byte [esp + 0x77], 0x5b
mov byte [esp + 0x78], 0x16
mov byte [esp + 0x79], 0x69
mov byte [esp + 0x7a], 0x4a
mov byte [esp + 0x7b], 0x68
mov byte [esp + 0x7c], 0x61
mov byte [esp + 0x7d], 1
mov byte [esp + 0x7e], 0xf
mov byte [esp + 0x7f], 0xf
mov byte [esp + 0x80], 0x50
mov al, byte [esp + 0x74]
mov byte [esp + 0x81], 0
cmp byte [esp + 0x81], 0
jne 0x402be0
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x74]
movzx eax, al
sub eax, 0x50
imul eax, eax, 0x37
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x74], dl
inc ecx
cmp ecx, 0xd
jb 0x402bc0
lea esi, [esp + 0x74]
jmp 0x402dbd
cmp ecx, 0xa
jne 0x402c70
mov byte [esp + 0x3e], 0x4a
mov byte [esp + 0x3f], 0xe
mov byte [esp + 0x40], 0x52
mov byte [esp + 0x41], 0xf
mov byte [esp + 0x42], 0x16
mov byte [esp + 0x43], 0x17
mov byte [esp + 0x44], 0x1f
mov byte [esp + 0x45], 0x2c
mov byte [esp + 0x46], 0x49
mov byte [esp + 0x47], 0x52
mov byte [esp + 0x48], 0x52
mov byte [esp + 0x49], 0x18
mov al, byte [esp + 0x3e]
mov byte [esp + 0x4a], 0
cmp byte [esp + 0x4a], 0
jne 0x402c67
xor edi, edi
lea esi, [ecx + 0x75]
mov al, byte [esp + edi + 0x3e]
movzx ecx, al
sub ecx, 0x18
mov eax, ecx
shl eax, 4
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 0x402c43
lea esi, [esp + 0x3e]
jmp 0x402dbd
cmp ecx, 0xb
jne 0x402cf9
mov byte [esp + 0x4b], 0x72
mov byte [esp + 0x4c], 0x5f
mov byte [esp + 0x4d], 3
mov byte [esp + 0x4e], 0x55
mov byte [esp + 0x4f], 0x69
mov byte [esp + 0x50], 0x22
mov byte [esp + 0x51], 0x1d
mov byte [esp + 0x52], 9
mov byte [esp + 0x53], 0x19
mov byte [esp + 0x54], 0x41
mov byte [esp + 0x55], 0x41
mov byte [esp + 0x56], 0x21
mov al, byte [esp + 0x4b]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x402cf0
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop word [eax + eax]
mov al, byte [esp + ecx + 0x4b]
movzx eax, al
sub eax, 0x21
imul eax, eax, 0x33
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x4b], dl
inc ecx
cmp ecx, 0xc
jb 0x402cd0
lea esi, [esp + 0x4b]
jmp 0x402dbd
cmp ecx, 0xc
jne 0x402df7
mov byte [esp + 0x82], 0x56
mov byte [esp + 0x83], 0x48
mov byte [esp + 0x84], 0x3a
mov byte [esp + 0x85], 0x56
mov byte [esp + 0x86], 0x3a
mov byte [esp + 0x87], 0x1d
mov byte [esp + 0x88], 0x71
mov byte [esp + 0x89], 0x56
mov byte [esp + 0x8a], 0x16
mov byte [esp + 0x8b], 0x1c
mov byte [esp + 0x8c], 0x2b
mov byte [esp + 0x8d], 0x2b
mov byte [esp + 0x8e], 0x1f
mov al, byte [esp + 0x82]
mov byte [esp + 0x8f], 0
cmp byte [esp + 0x8f], 0
jne 0x402db6
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x82]
movzx eax, al
sub eax, 0x1f
lea eax, [eax + eax*8]
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x82], dl
inc ecx
cmp ecx, 0xd
jb 0x402d90
lea esi, [esp + 0x82]
mov edx, 0x43
push 0x3f4e
push 0x5dd9414c
lea ecx, [edx - 0x42]
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