joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004b70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x1001f020]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
xor esi, esi
call fcn.10003b80
mov edi, eax
test edi, edi
je 0x10004be8
lea eax, [esp + 0xc]
mov word [esp + 0x1d], 0x4165
push eax
push edi
mov dword [esp + 0x20], 0x72756f73
mov dword [esp + 0x19], 0x6e6f4665
mov word [esp + 0x1d], 0x5274
mov dword [esp + 0x15], 0x766f6d65
mov byte [esp + 0x27], 0
mov byte [esp + 0x24], 0x63
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x1f], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004be1
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100093fd
add esp, 0x18
ret

Function at 0x10004c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x1001f020]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
xor esi, esi
call fcn.10003c10
mov edi, eax
test edi, edi
je 0x10004c8e
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 0x61507265
push eax
push edi
mov word [esp + 0x22], 0x6c61
mov dword [esp + 0x1d], 0x63657053
mov dword [esp + 0x24], 0x646c6f46
mov dword [esp + 0x18], 0x65474853
mov word [esp + 0x2d], 0x5768
mov byte [esp + 0x21], 0x69
mov byte [esp + 0x2f], 0
mov byte [esp + 0x1c], 0x74
mov byte [esp + 0x2c], 0x74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004c87
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push ebp
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100093fd
add esp, 0x1c
ret

Function at 0x10004cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x1001f020]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
xor esi, esi
call fcn.10003ca0
mov edi, eax
test edi, edi
je 0x10004d0e
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x646e6957
push eax
push edi
mov word [esp + 0x1c], 0x776f
mov byte [esp + 0x1e], 0
mov dword [esp + 0x14], 0x776f6853
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004d07
push dword [esp + 0x24]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100093fd
add esp, 0x10
ret
Function at 0x10004d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x1001f020]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
xor esi, esi
call fcn.10003c50
mov edi, eax
test edi, edi
je 0x10004dde
lea eax, [esp + 0xc]
mov dword [esp + 0xf], 0x6e496f54
push eax
push edi
mov word [esp + 0x1b], 0x4174
mov word [esp + 0x15], 0x7274
mov byte [esp + 0x14], 0x53
mov byte [esp + 0x1d], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004dd7
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100093fd
add esp, 0x10
ret

Function at 0x10004e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x1001f020]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x11], 0x636f7250
mov dword [esp + 0xa], 0x6e696d72
mov word [esp + 0xf], 0x6574
mov dword [esp + 0x15], 0x737365
mov word [esp + 8], 0x6554
mov byte [esp + 0xe], 0x61
call fcn.10003bc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004e6a
push dword [esp + 0x24]
push esi
call eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100093fd
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.100093fd
add esp, 0x18
ret

Function at 0x10005260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x1001f020]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x20]
call fcn.10003b30
mov esi, eax
test esi, esi
je 0x100052c9
lea eax, [esp + 0xc]
mov word [esp + 0xc], 0x444d
push eax
push esi
mov word [esp + 0x1a], 0x7461
mov word [esp + 0x17], 0x7055
mov byte [esp + 0x16], 0x35
mov byte [esp + 0x19], 0x64
mov word [esp + 0x1c], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100052c2
push dword [esp + 0x28]
push ebx
push edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100093fd
add esp, 0x10
ret
Function at 0x10007a80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov edx, 1
push esi
push edi
mov esi, 0x1571
mov dword [ebx + 0x1384], 0xffffffff
lea edi, [ebx + 8]
mov dword [ebx + 4], 0x1571
mov eax, esi
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, esi
imul esi, eax, 0x6c078965
add esi, edx
inc edx
mov dword [edi - 4], esi
cmp edx, 0x270
jl 0x10007aa3
push 0x1388
push dword [esp + 0x14]
mov dword [ebx], 0x270
push ebx
call fcn.100098c0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
ret 4

Function at 0x10007af0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
jmp 0x10007b10
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x10007b10
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
ret 4

Function at 0x10007bb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
dec eax
jmp 0x10007bc0
xor ebp, ebp
xor ebx, ebx
test eax, eax
je 0x10007c44
mov ecx, dword [edi + 4]
dec ecx
shl ebp, cl
add ebp, ebp
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x10007be4
mov ecx, esi
call fcn.10008060
jmp 0x10007bf2
cmp eax, 0x4e0
jb 0x10007bf2
mov ecx, esi
call fcn.10007fa0
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [edi + 8]
ja 0x10007bd0
mov ecx, dword [edi + 4]
or ebp, eax
mov eax, dword [esp + 0x14]
dec ecx
shl ebx, cl
dec eax
add ebx, ebx
or ebx, dword [edi + 8]
cmp ebx, eax
jb 0x10007bc8
xor edx, edx
mov eax, ebx
mov ebx, dword [esp + 0x14]
div ebx
mov ecx, eax
mov esi, edx
xor edx, edx
mov eax, ebp
div ebx
cmp eax, ecx
jb 0x10007c67
lea eax, [ebx - 1]
cmp esi, eax
jne 0x10007bc0
mov eax, ebp
xor edx, edx
div ebx
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
ret 4
Function at 0x10007e60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, ecx
xor ebp, ebp
lea ebx, [ebx]
mov ecx, dword [edi + 4]
dec ecx
shl ebx, cl
add ebx, ebx
jmp 0x10007e80
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x10007e94
mov ecx, esi
call fcn.10008060
jmp 0x10007ea2
cmp eax, 0x4e0
jb 0x10007ea2
mov ecx, esi
call fcn.10007fa0
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [edi + 8]
ja 0x10007e80
add ebp, dword [edi + 4]
or ebx, ecx
cmp ebp, 0x20
jb 0x10007e70
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x10007fa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
dec ecx
jne 0x10007fb0
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi]
lea esi, [esi + 4]
xor ecx, dword [esi]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
dec edi
jne 0x10007ff0
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret

Function at 0x10008060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
lea esp, [esp]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
dec esi
jne 0x10008070
pop esi
ret
Function at 0xba1058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xba11a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xba107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xba106a
add dl, dl
jne 0xba1089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xba10dc
xor eax, eax
add dl, dl
jne 0xba1096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xba117d
add dl, dl
jne 0xba10a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba10b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba10bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba10c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xba10d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xba1075
mov eax, 1
add dl, dl
jne 0xba10ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba10f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xba10e1
sub eax, ebx
mov ebx, 1
jne 0xba1128
mov ecx, 1
add dl, dl
jne 0xba110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xba1119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xba1105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xba1075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xba113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xba114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xba1136
cmp eax, 0x7d00
jae 0xba116d
cmp eax, 0x500
jb 0xba1168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xba1075
cmp eax, 0x7f
ja 0xba1170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xba1075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xba119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xba1075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x402b10
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0046084d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0046084d
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x402bb0
mov dword [ebp - 0x18], esp
mov eax, 0xc
call fcn.00460859
cmp dword [ebp - 0x18], esp
je 0x402bad
push 0x46
push 0x403b91c
push 6
call fcn.00460853
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0xd
call fcn.00460859
cmp dword [ebp - 0x18], esp
je 0x402be6
push 0x75
push 0x403b91c
push 6
call fcn.00460853
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0xe
call fcn.00460859
cmp dword [ebp - 0x18], esp
je 0x402c1e
push 0xa2
push 0x403b91c
push 6
call fcn.00460853
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x5212b5
push 0
mov eax, 0xf
call fcn.00460859
cmp dword [ebp - 0x18], esp
je 0x402c54
push 0xcc
push 0x403b91c
push 6
call fcn.00460853
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x10
call fcn.00460859
cmp dword [ebp - 0x18], esp
je 0x402ced
push 0x1dc
push 0x403b91c
push 6
call fcn.00460853
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0xa
call fcn.00460859
cmp dword [ebp - 0x18], esp
je 0x402d1c
push 0x21c
push 0x403b91c
push 6
call fcn.00460853
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x402d24
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00460847
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00460847
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4058cc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4058ea
mov eax, 0x5210a8
push eax
push 1
mov ebx, 0x460ef0
call fcn.0046085f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x405914
mov eax, 0
jmp 0x405988
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x405975
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40595e
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40594d
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40593e
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x413dd6
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x414023
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x413f20
cmp byte [edx + edi], 0xd
jne 0x413f20
cmp byte [edx + edi + 1], 0xa
je 0x413f59
mov al, byte [edx + edi]
cmp al, 0xa
je 0x413f59
cmp al, 0x3d
jne 0x413f35
inc ecx
cmp ecx, 2
ja 0x414031
cmp al, 0x7f
ja 0x414031
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x414031
cmp al, 0x40
jae 0x413f58
test ecx, ecx
jne 0x414031
inc esi
inc edx
cmp edx, ebx
jb 0x413f0a
test esi, esi
je 0x414023
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x414042
cmp dword [ecx], eax
jb 0x414042
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x414012
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x41400e
cmp al, 0xa
je 0x41400e
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x41400e
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x413ff9
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x414006
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x41400e
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x413faa
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x43dc75
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x43dc97
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
mov dword [ebp - 4], 0
nop
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
nop
imul esi, esi, 0x88
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
imul edx, edx, 6
add esi, edx
nop
nop
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
imul ecx, ecx, 9
add esi, ecx
pop edx
pop ecx
pop ebx
nop
nop
nop
xor esi, 0x124254
mov dword [ebp - 4], esi
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
nop
nop
nop
mov eax, dword [ebp - 4]
jmp 0x43ddd2
mov esp, ebp
pop ebp
ret

Function at 0x43fb4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x43fb6f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 4], 0x2b7e9735
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x43fbe8
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x43fc36
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 8