Function at 0x401030
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
call fcn.0040a9b0
test eax, eax
je 0x401101
lea edi, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 0x2c], 0x36776f57
mov dword [esp + 0x30], 0x61725434
mov dword [esp + 0x34], 0x7469736e
mov dword [esp + 0x38], 0x6e6f69
mov dword [esp + 0x3c], 0x36
mov dword [esp + 0x40], 0x66
mov dword [esp + 0x44], 0x76
mov dword [esp + 0x48], 0x73
mov dword [esp + 0x4c], 0x6f
mov dword [esp + 0x50], 0x30
mov dword [esp + 0x54], 0x6c
mov dword [esp + 0x58], 0x4a
mov dword [esp + 0x5c], 0x64
mov dword [esp + 0x60], 0x6e
mov dword [esp + 0x64], 0x5a
mov dword [esp + 0x68], 0x70
mov dword [esp + 0x6c], 0x5a
mov dword [esp + 0x70], 0x66
mov dword [esp + 0x74], 0x64
call fcn.00403b10
test eax, eax
setne byte [section..bss]
call fcn.00402800
test eax, eax
je 0x401110
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x120116
mov ecx, edi
mov dword [esp], str.__CONOUT_
call fcn.0040b870
sub esp, 8
mov eax, dword [esp + 0x2c]
mov dword [0x440004], eax
call fcn.00404500
cmp eax, 0xffffffff
je 0x4016a8
call fcn.0040a8a0
cmp eax, 0xffffffff
je 0x401861
call fcn.00402560
lea edi, [esp + 0x28]
mov dword [esp + 0x1c], edi
cmp eax, 0xffffffff
je 0x401990
mov ebx, dword [0x440034]
call dword [0x4400b0]
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call ebx
sub esp, 8
mov edi, eax
mov eax, dword [esp + 0x20]
test edi, edi
je 0x4014c0
shl eax, 2
mov dword [esp + 0xc], 4
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp + 8], 0x3000
mov dword [esp], eax
call fcn.00402c60
test eax, eax
js 0x4014c0
mov eax, dword [edi]
mov ebx, 0xfffffffc
lea esi, [edi + 4]
sub ebx, edi
test eax, eax
je 0x401246
lea esi, [esi]
mov dword [esp], eax
lea edi, [ebx + esi]
call fcn.00403170
mov dword [esp + 0xc], 4
add eax, 1
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
add eax, edi
mov dword [esp], eax
call fcn.00402c60
test eax, eax
js 0x4014c0
mov eax, dword [esi - 4]
movzx edx, word [eax]
xor eax, eax
test dx, dx
je 0x401231
lea esi, [esi]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + edi]
mov byte [ecx + eax], dl
mov edx, dword [esi - 4]
add eax, 1
movzx edx, word [edx + eax*2]
test dx, dx
jne 0x401218
mov edx, dword [esp + 0x2c]
add esi, 4
mov edx, dword [edx + edi]
mov byte [edx + eax], 0
mov eax, dword [esi - 4]
test eax, eax
jne 0x4011d0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4014c8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040baa0
cmp eax, 0xffffffff
je 0x401b16
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4012af
lea esi, [esi]
nop
mov edx, dword [esp + 0x24]
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
lea eax, [edx + eax*4 - 4]
mov dword [esp], eax
call fcn.00402d50
mov eax, dword [esp + 0x20]
sub eax, 1
mov dword [esp + 0x20], eax
test eax, eax
jg 0x401280
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00402d50
mov dword [esp + 0x2c], 0
xor edx, edx
mov eax, 4
mov dword [esp + eax + 0x2c], edx
mov dword [esp + eax + 0x30], 0
add eax, 8
cmp eax, 0x1c
jb 0x4012da
lea ebx, [esp + 0x2c]
mov byte [esp + eax + 0x2c], 0
lea ebp, [esp + 0x49]
mov esi, 0x81020409
mov eax, ebx
mov dword [esp + 0x4c], 7
mov edi, ebx
mov dword [esp + 0x50], 0x6d
shl eax, 2
mov dword [esp + 0x54], 0x37
sub edi, eax
mov dword [esp + 0x58], 0x37
mov dword [esp + 0x5c], 0x3d
mov dword [esp + 0x60], 0x67
mov dword [esp + 0x64], 0x67
mov dword [esp + 0x68], 0x40
mov dword [esp + 0x6c], 0x6d
mov dword [esp + 0x70], 0x52
mov dword [esp + 0x74], 0x52
mov dword [esp + 0x78], 0x79
mov dword [esp + 0x7c], 0x6c
mov dword [esp + 0x80], 0x3d
mov dword [esp + 0x84], 0x76
mov dword [esp + 0x88], 0x3d
mov dword [esp + 0x8c], 0x37
mov dword [esp + 0x90], 0x6d
mov dword [esp + 0x94], 0x6a
mov dword [esp + 0x98], 0x3d
mov dword [esp + 0x9c], 0x3a
mov dword [esp + 0xa0], 0x6c
mov dword [esp + 0xa4], 0x5e
mov dword [esp + 0xa8], 0x31
mov dword [esp + 0xac], 0x79
mov dword [esp + 0xb0], 0x52
mov dword [esp + 0xb4], 0x5b
mov dword [esp + 0xb8], 0x31
mov dword [esp + 0xbc], 0x3a
lea esi, [esi]
mov eax, dword [edi + ebx*4 + 0x20]
add ebx, 1
lea ecx, [eax - 0xc]
imul ecx, ecx, 0xffffffd6
mov eax, ecx
imul esi
mov eax, ecx
sar eax, 0x1f
add edx, ecx
sar edx, 6
sub edx, eax
mov eax, edx
shl eax, 7
sub eax, edx
sub ecx, eax
add ecx, 0x7f
mov eax, ecx
imul esi
mov eax, ecx
sar eax, 0x1f
add edx, ecx
sar edx, 6
sub edx, eax
mov eax, edx
shl eax, 7
sub eax, edx
sub ecx, eax
mov byte [ebx - 1], cl
cmp ebp, ebx
jne 0x401428
lea eax, [esp + 0x2c]
mov ecx, 0x440004
mov byte [esp + 0x49], 0
mov dword [esp], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 0x43c018
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 0
call dword [0x4400dc]
sub esp, 4
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
xor edx, edx
mov eax, 4
mov dword [esp + eax + 0x2c], edx
mov dword [esp + eax + 0x30], 0
add eax, 8
cmp eax, 0x1c
jb 0x4014d7
lea ebx, [esp + 0x2c]
mov dword [esp + 0x4c], 0x3b
lea ebp, [esp + 0x48]
mov esi, 0x81020409
mov eax, ebx
mov dword [esp + 0x50], 0x69
mov edi, ebx
mov dword [esp + 0x54], 0x2a
shl eax, 2
mov dword [esp + 0x58], 0x49
sub edi, eax
mov dword [esp + 0x5c], 0x1e
mov dword [esp + 0x60], 0x34
mov dword [esp + 0x64], 0x63
mov dword [esp + 0x68], 0x74
mov dword [esp + 0x6c], 0x6d
mov dword [esp + 0x70], 0x3e
mov dword [esp + 0x74], 0x53
mov dword [esp + 0x78], 0x74
mov dword [esp + 0x7c], 0x6d
mov dword [esp + 0x80], 0x7d
mov dword [esp + 0x84], 0xa
mov dword [esp + 0x88], 0x3e
mov dword [esp + 0x8c], 0x3f
mov dword [esp + 0x90], 0x6d
mov dword [esp + 0x94], 0x74
mov dword [esp + 0x98], 0x69
mov dword [esp + 0x9c], 0x6d
mov dword [esp + 0xa0], 0x2a
mov dword [esp + 0xa4], 0x34
mov dword [esp + 0xa8], 0x29
mov dword [esp + 0xac], 0x68
mov dword [esp + 0xb0], 0x69
mov dword [esp + 0xb4], 0x1e
mov dword [esp + 0xb8], 0x53
nop
mov eax, dword [edi + ebx*4 + 0x20]
add ebx, 1
lea ecx, [eax + eax*2 - 0xc0]
shl ecx, 2
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
add ecx, 0x7f
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
mov byte [ebx - 1], cl
cmp ebp, ebx
jne 0x401610
lea eax, [esp + 0x2c]
mov ecx, 0x440004
mov byte [esp + 0x48], 0
mov dword [esp], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 0x43c018
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 1
call dword [0x4400dc]
sub esp, 4
mov eax, dword [esp + 0x24]
jmp 0x401256
xor edx, edx
xor eax, eax
mov dword [esp + eax + 0x2c], edx
mov dword [esp + eax + 0x30], 0
add eax, 8
cmp eax, 0x18
jb 0x4016ac
lea ebx, [esp + 0x2c]
xor edx, edx
lea ebp, [esp + 0x46]
mov esi, 0x81020409
mov word [esp + eax + 0x2c], dx
mov eax, ebx
mov edi, ebx
mov dword [esp + 0x48], 2
shl eax, 2
mov dword [esp + 0x4c], 0xb
sub edi, eax
mov dword [esp + 0x50], 0x12
mov dword [esp + 0x54], 0x47
mov dword [esp + 0x58], 0x68
mov dword [esp + 0x5c], 0x1f
mov dword [esp + 0x60], 0x36
mov dword [esp + 0x64], 0x26
mov dword [esp + 0x68], 0x43
mov dword [esp + 0x6c], 0x2c
mov dword [esp + 0x70], 0x54
mov dword [esp + 0x74], 0x26
mov dword [esp + 0x78], 0x43
mov dword [esp + 0x7c], 0x25
mov dword [esp + 0x80], 0x47
mov dword [esp + 0x84], 0x47
mov dword [esp + 0x88], 0x43
mov dword [esp + 0x8c], 0x40
mov dword [esp + 0x90], 0x12
mov dword [esp + 0x94], 0x1f
mov dword [esp + 0x98], 0x7c
mov dword [esp + 0x9c], 0x26
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], 0xb
mov dword [esp + 0xa8], 0x1f
mov dword [esp + 0xac], 0x3a
lea esi, [esi]
mov eax, dword [edi + ebx*4 + 0x1c]
add ebx, 1
sub eax, 0x48
lea edx, [eax + eax*8]
lea ecx, [eax + edx*2]
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
add ecx, 0x7f
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
mov byte [ebx - 1], cl
cmp ebx, ebp
jne 0x4017d8
mov byte [esp + 0x46], 0
lea eax, [esp + 0x2c]
mov ecx, 0x440004
mov dword [esp], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 0x43c018
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.0040b8b0
sub esp, 4
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
lea ebp, [esp + 0x3f]
mov esi, 0x81020409
mov eax, ebx
mov dword [esp + 0x30], 0
mov edi, ebx
mov dword [esp + 0x34], 0
shl eax, 2
mov dword [esp + 0x38], 0
sub edi, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x48], 0x29
mov dword [esp + 0x4c], 0x12
mov dword [esp + 0x50], 0x36
mov dword [esp + 0x54], 9
mov dword [esp + 0x58], 0xb
mov dword [esp + 0x5c], 0x6d
mov dword [esp + 0x60], 0x6a
mov dword [esp + 0x64], 0x29
mov dword [esp + 0x68], 9
mov dword [esp + 0x6c], 0x24
mov dword [esp + 0x70], 0x44
mov dword [esp + 0x74], 0x44
mov dword [esp + 0x78], 0x56
mov dword [esp + 0x7c], 0x6a
mov dword [esp + 0x80], 4
mov dword [esp + 0x84], 0x12
mov dword [esp + 0x88], 0x12
mov eax, dword [edi + ebx*4 + 0x14]
add ebx, 1
lea ecx, [eax - 0x7b]
imul ecx, ecx, 0x1c
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
add ecx, 0x7f
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
mov byte [ebx - 1], cl
cmp ebp, ebx
jne 0x401940
jmp 0x40182b
lea ebx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
lea ebp, [esp + 0x40]
mov esi, 0x81020409
mov eax, ebx
mov dword [esp + 0x30], 0
mov edi, ebx
mov dword [esp + 0x34], 0
shl eax, 2
mov dword [esp + 0x38], 0
sub edi, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0x25
mov dword [esp + 0x48], 0x5b
mov dword [esp + 0x4c], 6
mov dword [esp + 0x50], 0x46
mov dword [esp + 0x54], 0xe
mov dword [esp + 0x58], 0x54
mov dword [esp + 0x5c], 0x5f
mov dword [esp + 0x60], 0x7e
mov dword [esp + 0x64], 0x2e
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x22
mov dword [esp + 0x70], 0x62
mov dword [esp + 0x74], 0x78
mov dword [esp + 0x78], 0x77
mov dword [esp + 0x7c], 0x77
mov dword [esp + 0x80], 0x2e
mov dword [esp + 0x84], 0x17
mov dword [esp + 0x88], 0x6b
mov dword [esp + 0x8c], 0x16
mov dword [esp + 0x90], 0x4f
lea esi, [esi]
mov eax, dword [edi + ebx*4 + 0x18]
add ebx, 1
lea ecx, [eax - 0x4c]
imul ecx, ecx, 0xffffffee
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
add ecx, 0x7f
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
mov byte [ebx - 1], cl
cmp ebp, ebx
jne 0x401a80
lea eax, [esp + 0x2c]
mov ecx, 0x440004
mov byte [esp + 0x40], 0
mov dword [esp], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 0x43c018
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 1
call dword [0x4400dc]
sub esp, 4
jmp 0x401164
mov dword [esp + 0x2c], 0
xor edx, edx
mov eax, 4
mov dword [esp + eax + 0x2c], edx
mov dword [esp + eax + 0x30], 0
add eax, 8
cmp eax, 0x1c
jb 0x401b25
lea ebx, [esp + 0x2c]
mov dword [esp + 0x48], 0x43
lea ebp, [esp + 0x47]
mov esi, 0x81020409
mov eax, ebx
mov dword [esp + 0x4c], 0x11
mov edi, ebx
mov dword [esp + 0x50], 0x5b
shl eax, 2
mov dword [esp + 0x54], 0x6b
sub edi, eax
mov dword [esp + 0x58], 0x5d
mov dword [esp + 0x5c], 0x2f
mov dword [esp + 0x60], 0x12
mov dword [esp + 0x64], 0x79
mov dword [esp + 0x68], 0x65
mov dword [esp + 0x6c], 0x3f
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], 0x3f
mov dword [esp + 0x78], 0x7b
mov dword [esp + 0x7c], 0x5b
mov dword [esp + 0x80], 0x79
mov dword [esp + 0x84], 0x3f
mov dword [esp + 0x88], 0x65
mov dword [esp + 0x8c], 0x72
mov dword [esp + 0x90], 0x38
mov dword [esp + 0x94], 0x62
mov dword [esp + 0x98], 0x6b
mov dword [esp + 0x9c], 0x11
mov dword [esp + 0xa0], 0x38
mov dword [esp + 0xa4], 0x5d
mov dword [esp + 0xa8], 0x3e
mov dword [esp + 0xac], 0x3e
mov dword [esp + 0xb0], 0x3e
nop
mov eax, dword [edi + ebx*4 + 0x1c]
add ebx, 1
lea ecx, [eax - 0x2d]
imul ecx, ecx, 0x37
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
add ecx, 0x7f
mov eax, ecx
imul esi
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 6
sub eax, edx
mov edx, eax
shl edx, 7
sub edx, eax
sub ecx, edx
mov byte [ebx - 1], cl
cmp ebp, ebx
jne 0x401c50
lea eax, [esp + 0x2c]
mov ecx, 0x440004
mov dword [esp], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 0x43c018
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.0040b8b0
sub esp, 4
mov dword [esp], 1
call dword [0x4400dc]
sub esp, 4
jmp 0x40126f