joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101c3190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x101c31bf
cmp ecx, eax
jne 0x101c31bf
mov ecx, ebx
call fcn.101c2e60
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
cmp esi, ecx
je 0x101c327b
push edi
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101c31d5
sub eax, edi
add eax, edx
mov edi, 0x811c9dc5
cmp edx, eax
je 0x101c3200
lea esp, [esp]
movsx ecx, byte [edx]
imul edi, edi, 0x1000193
inc edx
xor edi, ecx
cmp edx, eax
jne 0x101c31f0
mov ecx, dword [ebx + 0x20]
mov eax, ecx
and eax, edi
cmp dword [ebx + 0x24], eax
ja 0x101c3215
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0x101c323e
cmp dword [ecx], esi
jne 0x101c3236
mov edx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
mov dword [edx + eax*8 + 4], ecx
jmp 0x101c3246
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x101c3246
cmp dword [ecx], esi
jne 0x101c3246
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [ebx + 4]
je 0x101c326e
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
mov dword [edx + 4], eax
call fcn.101ba180
push esi
call sub.mfc100u.dll_delete
add esp, 4
dec dword [ebx + 8]
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
jne 0x101c31c8
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x101c5110
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [edx - 2]
cmp ecx, 0xa
ja case.default.0x101c511c
jmp dword [ecx*4 + 0x101c5278]
cmp al, 0x40
jne 0x101c512d
mov eax, 4
ret
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x101c513c
cmp cl, 0x7a
jbe 0x101c518c
cmp al, 0x30
jl 0x101c5144
cmp al, 0x39
jle 0x101c518c
cmp al, 0x2d
je 0x101c518c
cmp al, 0x5f
je 0x101c518c
cmp al, 0x2e
je 0x101c518c
cmp al, 0x21
je 0x101c518c
cmp al, 0x7e
je 0x101c518c
cmp al, 0x2a
je 0x101c518c
cmp al, 0x27
je 0x101c518c
cmp al, 0x28
je 0x101c518c
cmp al, 0x29
je 0x101c518c
cmp al, 0x25
je 0x101c518c
cmp al, 0x3b
je 0x101c518c
cmp al, 0x3a
je 0x101c518c
cmp al, 0x26
je 0x101c518c
cmp al, 0x3d
je 0x101c518c
cmp al, 0x2b
je 0x101c518c
cmp al, 0x24
je 0x101c518c
cmp al, 0x2c
jne case.default.0x101c511c
mov eax, 3
ret
cmp al, 0x5b
jne 0x101c519c
mov eax, 5
ret
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x101c51ab
cmp cl, 0x7a
jbe 0x101c51bf
cmp al, 0x30
jl 0x101c51b3
cmp al, 0x39
jle 0x101c51bf
cmp al, 0x2e
je 0x101c51bf
cmp al, 0x2d
jne case.default.0x101c511c
mov eax, 6
ret
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x101c51d4
cmp cl, 0x7a
jbe 0x101c51bf
cmp al, 0x30
jl 0x101c51dc
cmp al, 0x39
jle 0x101c51bf
cmp al, 0x2e
je 0x101c51bf
cmp al, 0x2d
je 0x101c51bf
cmp al, 0x3a
jne case.default.0x101c511c
mov eax, 0xb
ret
cmp al, 0x5d
jne case.0x101c511c.5
mov eax, 8
ret
cmp al, 0x30
jl 0x101c5204
cmp al, 0x39
jle 0x101c522a
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x101c5213
cmp cl, 0x66
jbe 0x101c522a
cmp al, 0x3a
je 0x101c522a
cmp al, 0x2e
je 0x101c522a
cmp edx, 7
jne case.default.0x101c511c
cmp al, 0x25
jne case.default.0x101c511c
mov eax, 9
ret
mov eax, 7
ret
cmp al, 0x5d
je 0x101c51f6
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x101c5243
cmp cl, 0x7a
jbe 0x101c525f
cmp al, 0x30
jl 0x101c524b
cmp al, 0x39
jle 0x101c525f
cmp al, 0x25
je 0x101c525f
cmp al, 0x2e
je 0x101c525f
cmp al, 0x2d
je 0x101c525f
cmp al, 0x5f
je 0x101c525f
cmp al, 0x7e
jne case.default.0x101c511c
mov eax, 0xa
ret
sub al, 0x30
cmp al, 9
mov eax, 0xc
jbe 0x101c5275
mov eax, 1
ret
Function at 0x101c8500
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp dword [ebp + 0xc], ebx
je 0x101c856f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push 0x30
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x101c85e5
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x1c]
xor ecx, ecx
cmp word [eax], 2
setne cl
dec ecx
and ecx, 0xfffffff4
add ecx, 0x1c
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x101c8564
cmp eax, 0xffffffff
jne 0x101c855c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x101c8564
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp word [eax], 2
setne cl
dec ecx
and ecx, 0xfffffff4
add ecx, 0x1c
push ecx
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x101c85e5
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push 0x23
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x101c85e5
mov dword [esi + 0x4c], 1
push 0
mov dword [esi + 0x50], 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
cmp eax, 2
jne 0x101c8564
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x101c85de
mov eax, 0x4c7
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x101c8830
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18c]
push edi
test eax, eax
jne 0x101c88ec
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
lea esp, [esp]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x1c]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x101c88bf
push 0
call ebx
mov eax, dword [esi + 0x5c]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
cmp eax, 2
jne 0x101c88c8
mov edx, dword [esi + 0x24]
push edx
push str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.10001860
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x101c88a4
mov eax, 0x4c7
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi + 0x18], ecx
pop edi
mov dword [esi + 0xc], ecx
pop esi
xor eax, eax
pop ebx
ret
cmp edi, 0xffffffff
je 0x101c88df
test edi, edi
je 0x101c88f5
mov ecx, dword [esi + 0x18c]
test ecx, ecx
je 0x101c8850
pop edi
pop esi
mov eax, 1
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x101c88a4
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov dword [esi + 0x10], 5
mov dword [esi + 0x14], 0
mov ecx, 1
mov dword [esi + 0x18], ecx
pop edi
mov dword [esi + 0xc], ecx
pop esi
xor eax, eax
pop ebx
ret
Function at 0x101c8920
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
push esi
mov esi, ecx
mov ecx, dword [ebx + 0x14]
sub eax, ecx
push edi
je 0x101c89c6
lea esp, [esp]
mov edx, dword [esi + 0x2c]
cmp eax, edx
jl 0x101c8949
mov eax, edx
push 0
push eax
mov eax, dword [esi + 0x1c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x101c89b3
lea ebx, [esi + 0x154]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [esi + 0x188], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0xb8]
mov ecx, esi
call eax
cmp eax, 2
jne 0x101c89a9
mov ecx, dword [esi + 0x24]
push ecx
push str._C_CNNID:__Iu__OnSend___event_should_not_return_HR_ERROR____n
call fcn.10001860
add esp, 8
push edi
mov ecx, ebx
call fcn.101c7ff0
jmp 0x101c89b8
cmp edi, 0xffffffff
je 0x101c89d2
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
sub eax, ecx
jne 0x101c8940
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x101c89f4
mov edx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [edx], 1
mov eax, 1
pop ebx
pop ebp
ret 8
mov ecx, 1
pop edi
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 3
mov dword [esi + 0x18], ecx
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x101c9840
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x44]
push eax
push 0
push esi
push 0x101c9640
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 0x40], eax
pop esi
mov eax, ecx
ret
Function at 0x101cbd30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
cdq
push esi
mov esi, eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, eax
or edi, ecx
jne 0x101cbda6
mov eax, esi
mov ecx, edx
movzx edi, byte [ebp + 0xc]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov esi, dword [ebp + 0x28]
setne bl
and edi, 7
mov dword [esi], 0
mov edx, 2
add ebx, ebx
add ebx, ebx
add ebx, ebx
or ebx, edi
movzx edi, byte [ebp + 0x10]
shl ebx, 4
and edi, 0xf
or ebx, edi
mov edi, dword [ebp + 0x14]
mov dword [esi], ebx
xor ebx, ebx
test edi, edi
setne bl
shl ebx, 0xf
or dword [esi], ebx
test ecx, ecx
ja 0x101cbde7
jb 0x101cbd99
cmp eax, 0x7e
jae 0x101cbdbe
movzx eax, al
and eax, 0x7f
shl eax, 8
or dword [esi], eax
jmp 0x101cbe02
cmp ecx, edx
ja 0x101cbd4b
jb 0x101cbdb0
cmp eax, esi
jae 0x101cbd4b
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
pop ebp
ret
test ecx, ecx
ja 0x101cbde7
jb 0x101cbdcb
cmp eax, 0xffff
ja 0x101cbde7
or dword [esi], 0x7e00
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
shl ecx, 0x10
or dword [esi], ecx
mov edx, 4
jmp 0x101cbe02
or dword [esi], 0x7f00
push ecx
push eax
call fcn.101bfe90
mov dword [esi + 6], edx
add esp, 8
mov dword [esi + 2], eax
mov edx, 0xa
mov ecx, dword [ebp + 0x18]
test edi, edi
je 0x101cbe29
mov eax, dword [edi]
mov dword [edx + esi], eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
jle 0x101cbe26
mov ebx, eax
and ebx, 3
mov bl, byte [ebx + edi]
xor byte [eax + ecx], bl
inc eax
cmp eax, dword [ebp + 0x1c]
jl 0x101cbe15
add edx, 4
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
pop ebx
mov dword [eax + 4], esi
pop edi
mov dword [eax], edx
mov dword [eax + 8], ecx
mov eax, 1
pop esi
pop ebp
ret

Function at 0x101cbf00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push esi
mov eax, edx
lea esi, [eax + 1]
push ebx
nop
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x101cbf10
sub eax, esi
add eax, edx
mov esi, 0x811c9dc5
pop ebx
cmp edx, eax
je 0x101cbf37
push edi
movsx edi, byte [edx]
imul esi, esi, 0x1000193
inc edx
xor esi, edi
cmp edx, eax
jne 0x101cbf26
pop edi
mov edx, dword [ecx + 0x20]
mov eax, edx
and eax, esi
pop esi
cmp dword [ecx + 0x24], eax
ja 0x101cbf4d
shr edx, 1
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
pop ebp
ret 4

Function at 0x101ce6e0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.101ce470
Function at 0x101ce9e2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10263fdc]
jne 0x101ce9ec
repz ret
jmp fcn.101cf6b4
Function at 0x101d0b40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x101d3d68
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10263fdc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x10264014]
cmp eax, 0xffffffff
jne 0x101d0b75
xor esi, esi
jmp 0x101d0b7e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x24], 0
test esi, esi
je 0x101d0bc5
cmp dword [esi + 0x1c], 0
jne 0x101d0c08
cmp dword [esi + 0xc], 0
jne 0x101d0c10
push 0x101cfed0
push 0x10268320
call fcn.101d0510
mov eax, dword [0x10264014]
add esp, 8
cmp eax, 0xffffffff
je 0x101d0bc5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test esi, esi
je 0x101d0bf4
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x101d0bf4
mov edx, dword [esi]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esi + 0xc], 0
je 0x101d0c50
mov edi, edi
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x101d0c3e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0xc], 0
jne 0x101d0c10
cmp dword [esi + 0x1c], 0
je 0x101d0b9a
lea ebx, [ebx]
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x101d0c7d
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x101d0c7d
mov edx, dword [edi + 0x10]
push ecx
push eax
call edx
add esp, 8
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x14]
call fcn.10003730
cmp dword [esi + 0x1c], 0
jne 0x101d0c60
jmp 0x101d0b94

Function at 0x101d0d30
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x10]
push ecx
push 4
push eax
push 0x101d0ca0
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x101d0d5a
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x101d0d7c
cmp eax, 0xffffffff
je 0x101d0d7c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x101d0f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d3e20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10263fdc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.boost::exception_detail::clone_base.0
mov ebp, dword [esp + 0x2c]
lea edi, [esi + 4]
xor ebx, ebx
push ebp
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [ebp + 0x14]
push 0xffffffffffffffff
lea ecx, [edi + 0x18]
mov dword [edi + 0x14], edx
push ebx
add ebp, 0x18
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push ebp
mov byte [esp + 0x30], 1
mov byte [ecx], bl
call fcn.10003440
mov dword [edi], vtable.boost::lock_error.0
mov dword [esi + 0x38], vtable.boost::exception.0
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0xffffffff
mov dword [esi], vtable.boost::wrapexcept_class_boost::lock_error_.2.0
mov dword [edi], vtable.boost::wrapexcept_class_boost::lock_error_.1.0
mov dword [esi + 0x38], vtable.boost::wrapexcept_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
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
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1001bba0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1003fc88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 4
call fcn.1003d3b0
mov ebx, esp
lea eax, [ebp - 0x28]
push 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1001bc7d
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
lea edi, [eax - 1]
not edi
and edi, ebx
sub edi, eax
lea eax, [esi + 0x2000]
cmp edi, eax
jb 0x1001bc7d
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1001bc7d
add esi, dword [ebp - 0x1c]
test dword [ebp - 0x18], 0x1000
je 0x1001bc00
test dword [ebp - 0x14], 0x100
mov esi, dword [ebp - 0x28]
je 0x1001bc42
mov eax, 1
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003cb60
mov esp, ebp
pop ebp
ret
cmp edi, esi
jb 0x1001bc7d
mov edi, dword [ebp - 8]
push 4
push 0x1000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea eax, [ebp - 0xc]
push eax
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003cb60
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003cb60
mov esp, ebp
pop ebp
ret
Function at 0x10024b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1003de18
push 0x1003cb80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1003fc88]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, esi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10024c5d
xor eax, eax
mov word [esi], ax
mov dword [ebp - 4], eax
mov ecx, ebx
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [ebp - 0x20], edx
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x1c], ecx
test ax, ax
je 0x10024b9a
inc edx
jmp 0x10024b86
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x10024bc3
test edx, edx
jne 0x10024bd1
mov esi, 0x10005678
jmp 0x10024c5f
mov eax, esi
add edi, 0x1fe
xor ecx, ecx
mov word [edi], cx
mov dword [ebp - 0x30], 0xb000b6
mov dword [ebp - 0x2c], 0x5c00b1
mov ecx, 1
cmp esi, edi
jae 0x10024c3f
sub ebx, esi
movzx ecx, word [ebx + eax]
cmp ecx, 0x20
jae 0x10024c27
cmp ecx, 0xa
jne 0x10024c0e
lea ecx, [ebp - 0x30]
movzx ecx, word [ecx + 2]
jmp 0x10024c27
cmp ecx, 9
jne 0x10024c1c
lea ecx, [ebp - 0x30]
movzx ecx, word [ecx + 4]
jmp 0x10024c27
cmp ecx, 0xd
jne 0x10024c27
lea ecx, [ebp - 0x30]
movzx ecx, word [ecx]
mov word [eax], cx
add eax, 2
sub edx, 1
je 0x10024c3d
cmp eax, edi
jb 0x10024bf7
mov ecx, 1
jmp 0x10024c3f
xor ecx, ecx
xor edx, edx
mov word [eax], dx
test ecx, ecx
je 0x10024c5f
sub eax, 6
cmp eax, esi
jbe 0x10024c5f
mov dword [eax], 0x2e002e
xor ecx, ecx
mov word [eax + 4], cx
jmp 0x10024c5f
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10025240
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
push 0
push 2
mov dword [esi + 0x14], 0
mov byte [edi], 0
push dword [esi + 8]
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov edx, eax
test edx, edx
jne 0x1002528a
cmp dword [ebp - 4], 1
jbe 0x1002528a
xor ecx, ecx
cmp byte [edi], 0x3a
setne cl
mov dword [esi + 0x14], ecx
xor eax, eax
test edx, edx
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003cf50
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1003cf8e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1003cf86
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1003cf90
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1003cf76
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1003d060
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1003d076
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1003d091
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x62b785
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6363a0
cmp edx, dword [eax]
je 0x62b7a7
add eax, 8
inc ecx
cmp eax, 0x636430
jl 0x62b798
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6363a0]
jne 0x62b8d5
mov eax, dword [0x63dd30]
cmp eax, 1
je 0x62b8af
test eax, eax
jne 0x62b7d8
cmp dword [0x6362cc], 1
je 0x62b8af
cmp edx, 0xfc
je 0x62b8d5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62b80f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062c170
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062c600
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62b852
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062c600
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x630f8c
push edi
call fcn.0062e4d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062c170
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062c180
lea eax, [ebp - 0xa0]
push 0x630f6c
push eax
call fcn.0062c180
push dword [esi + 0x6363a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062c180
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062e444
add esp, 0x2c
pop edi
jmp 0x62b8d5
lea eax, [ebp + 8]
lea esi, [esi + 0x6363a4]
push 0
push eax
push dword [esi]
call fcn.0062c600
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xf160b21
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42f314
mov ecx, 0x43ac4a89
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219