joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100459e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0x1f
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jne 0x10045b3c
push edi
lea ecx, [eax + 0x1cc4]
lea edi, [eax + 0x1ec4]
mov dword [edi], ecx
cmp ecx, edi
jae 0x10045a1b
mov byte [ecx], 0xff
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x10045a26
mov byte [ecx], 0xfa
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x10045a31
mov byte [ecx], 0x1f
inc dword [edi]
movzx eax, word [eax + 0x1ca8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1caa]
push eax
call esi
mov ecx, dword [ebp + 8]
movzx edx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x10045a65
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x10045a6f
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x10045a79
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x10045a83
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x10045a8e
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x10045a99
mov byte [eax], 0xf0
inc dword [edi]
mov esi, dword [ebp - 4]
mov eax, dword [edi]
mov dword [esi + 0x1ec8], eax
lea ecx, [esi + 0x1cc4]
sub eax, ecx
mov dword [edi], ecx
sub eax, 2
push eax
lea eax, [esi + 0x1cc6]
push eax
push 0x3e
push ebx
call fcn.10045250
add esp, 0x10
lea eax, [esi + 0x1cc4]
push 0
push 3
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x1a0]
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x10045af9
call edi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.10010a90
add esp, 0xc
push 4
lea eax, [esi + 0x1cc7]
push eax
push ebx
call fcn.100458a0
add esp, 0xc
lea eax, [esi + 0x1ccb]
push 0
push 2
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x1a0]
call dword [sym.imp.WS2_32.dll_send]
pop esi
test eax, eax
jns 0x10045b3b
call edi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.10010a90
add esp, 0xc
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10046ad0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1007e820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x90], esi
mov eax, dword [esi + 0x18]
mov edi, dword [eax + 0x2d0]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi + 0x13c]
push ebx
add eax, 4
push eax
push dword [edi + 0x148]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [edi + 0x134], eax
cmp dword [edi + 0x130], ebx
jne 0x10046b62
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [edi + 0xb0]
push eax
call fcn.10053390
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [edi + 0x130], eax
cmp dword [edi + 0x134], 4
jge 0x10046b93
push str.Received_too_short_packet
push esi
call fcn.10010a90
add esp, 8
mov dword [edi + 0xc], 7
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100528f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x148]
movzx eax, byte [ecx]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 1]
or edx, eax
mov dword [edi + 0xc], edx
add edx, 0xfffffffd
cmp edx, 3
ja case.default.0x10046bb8
jmp dword [edx*4 + 0x10046cfc]
cmp dword [edi + 0x134], 4
jle case.0x10046bb8.4
movzx eax, byte [ecx + 2]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 3]
or edx, eax
movzx eax, word [edi + 0x144]
inc eax
and eax, 0xffff
cmp eax, edx
jne case.0x10046bb8.4
mov eax, dword [edi + 0x134]
add eax, 0xfffffffc
push eax
lea eax, [ecx + 4]
push eax
push 1
push esi
call fcn.1003aeb0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je case.0x10046bb8.4
push 5
push edi
call fcn.10047560
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100528f7
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x134]
lea eax, [ecx + 4]
mov edx, ecx
mov dword [ebp - 0x8c], eax
add esi, 0xfffffffc
push esi
push dword [ebp - 0x8c]
movzx eax, byte [edx + 2]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
mov dword [edi + 8], ecx
call fcn.100476a0
add esp, 8
cmp eax, esi
mov esi, dword [ebp - 0x90]
jae case.0x10046bb8.4
push dword [ebp - 0x8c]
push str.TFTP_error:__s
push esi
call fcn.10010b50
jmp 0x10046cc5
mov eax, dword [edi + 0x134]
add eax, 0xfffffffe
push eax
lea eax, [ecx + 2]
push eax
push edi
call fcn.10046880
mov ebx, eax
add esp, 0xc
test ebx, ebx
je case.0x10046bb8.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100528f7
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x1006b2fc
push esi
call fcn.10010a90
add esp, 0xc
push esi
call fcn.10037000
add esp, 4
test eax, eax
je 0x10046b80
push 5
push edi
call fcn.10047560
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.100528f7
mov esp, ebp
pop ebp
ret
Function at 0x10047560
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
cmp edx, 3
ja case.default.0x10047570
jmp dword [edx*4 + 0x100475c4]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.10047030
mov dword [ebp + 8], eax
pop ebp
jmp fcn.10046d10
mov dword [ebp + 8], eax
pop ebp
jmp fcn.100477d0
push str.TFTP_finished
push 0x1006b2fc
push ecx
call fcn.10010b50
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x1006b2fc
push ecx
call fcn.10010a90
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x1004ecd0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1007e820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
cmp esi, 4
jae 0x1004ed08
pop esi
mov eax, 0x16
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100528f7
mov esp, ebp
pop ebp
ret
push edi
inc ebx
sub esi, 2
push str.0123456789abcdefABCDEF:.
push ebx
call fcn.100539e0
add esp, 8
cmp esi, eax
je 0x1004edd4
mov dword [ebp - 0x48], eax
add eax, ebx
mov dword [ebp - 0x4c], eax
cmp byte [eax], 0x25
jne 0x1004eded
push 2
lea esi, [eax + 1]
xor edi, edi
push 0x100764f8
push esi
call fcn.10054260
add esp, 0xc
test eax, eax
jne 0x1004ed5d
mov cl, byte [esi + 2]
lea eax, [esi + 2]
test cl, cl
je 0x1004ed5d
cmp cl, 0x5d
cmovne esi, eax
mov al, byte [esi]
test al, al
je 0x1004eded
lea ecx, [ebp - 0x14]
sub ecx, esi
lea esp, [esp]
cmp al, 0x5d
je 0x1004ed85
cmp edi, 0xf
jge 0x1004ed85
mov byte [ecx + esi], al
inc edi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1004ed70
test edi, edi
je 0x1004eded
cmp byte [esi], 0x5d
jne 0x1004eded
cmp edi, 0x10
jae 0x1004ee5f
lea eax, [ebp - 0x14]
mov byte [ebp + edi - 0x14], 0
push eax
call dword [0x1007d2f0]
mov ecx, dword [ebp - 0x50]
add esp, 4
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x1004edc9
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100528f7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov word [eax], 0x5d
lea eax, [ebp - 0x14]
mov byte [esi + ebx], 0
push eax
push ebx
lea edi, [esi + ebx]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
je 0x1004ee03
pop edi
pop esi
mov eax, 0x16
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100528f7
mov esp, ebp
pop ebp
ret
push 0x2e
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x17
call sub.WS2_32.dll_inet_ntop
test eax, eax
je 0x1004ee49
lea edx, [ebp - 0x44]
lea ecx, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x1004ee20
sub edx, ecx
cmp edx, esi
jae 0x1004ee49
lea ecx, [ebp - 0x44]
mov esi, ebx
mov eax, ecx
sub esi, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x1004ee36
lea edi, [edx + ebx]
mov byte [edi + 1], al
mov ecx, dword [ebp - 4]
xor eax, eax
mov byte [edi], 0x5d
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100528f7
mov esp, ebp
pop ebp
ret
call fcn.10052ab5
int3

Function at 0x1004fcf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005fe66
Function at 0x43b63e
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
push 0x2c024f84
pop esi
call fcn.0043b66d
sub esi, eax
xor dword [ebx], edi
inc eax
or eax, esi
sub esi, esi
add ebx, 1
add eax, eax
sub eax, esi
cmp ebx, ecx
jne fcn.0043b63e
and eax, esi
dec esi
add eax, esi
ret
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x515051da
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x211248de
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0x44
push eax
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..._raze.exe
movups xmmword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4010ac
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x5c]
call esi
cmp dword [ebp - 8], 0x103
jne 0x4010c0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
push 0x3e7
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x5c]
call esi
cmp dword [ebp - 8], 0x103
je 0x401090
pop edi
jmp 0x4010c0
push 0x30
push str.RunStuff
push str.Cant_run_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004010e1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4215b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
or ebp, 0xffffffff
jmp 0x4215d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4215d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4215c8
mov eax, 1
add ebx, ebx
jne 0x4215eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4215e0
jne 0x4215fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4215e0
xor ecx, ecx
sub eax, 3
jb 0x421610
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421682
mov ebp, eax
add ebx, ebx
jne 0x42161b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421628
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42164c
inc ecx
add ebx, ebx
jne 0x421638
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42162d
jne 0x421649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42162d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42166c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42165d
jmp 0x4215ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42166c
add edi, ecx
jmp 0x4215ce
pop esi
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4216cb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x211dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2122c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421689
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21230]
or eax, eax
je 0x4216c5
mov dword [ebx], eax
add ebx, 4
jmp 0x4216a6
call dword [esi + 0x21240]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4216fc
cmp al, 0xef
ja 0x4216ef
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4216d1
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4216de
mov ebp, dword [esi + 0x21234]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x421730
sub esp, 0xffffff80
jmp 0x411023
Function at 0x40b080
Capabilities:
Packed with generic packer
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp - 3]
push edi
mov edi, dword [ebp + 0x1d]
mov esi, 0x4e8b104b
adc al, 0xb
push edx
invalid

Function at 0x40b3e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xd]
jp 0x40b43f
push edx
call 0x40b400
pop ebp
ret 0xc
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
imul edx, dword [esi - 0x73], 0x7b
invalid
add al, 0xb
sal dword [ebx], cl
in eax, 0x3c
mov dword [0x4075e59a], eax
add byte [eax + 0x548aff50], cl
aaa
dec byte [edx - 0x7c00c8a4]
loop 0x40b468
shl edx, 2
shr ebx, 0x21
or edx, ebx
inc eax
mov ch, dh
sbb bh, al
inc eax
add byte [eax + 0x548aff50], cl
das
inc dword [ebx - 0x30bdc01e]
js 0x40b400
mov byte [eax - 1], dl
mov dl, byte [edi + ebp - 1]
and edx, 0x3f
inc edx
iretd
xchg edx, eax
sbb bh, al
add byte [eax - 0x67b900b0], cl
mov edx, dword [ebp + 0x10]
cmp esi, edx
aam 0x18
cmc
jp 0x40b4b5
or al, 0x19
rol dword [eax + 2], 0x56
dec edx
scasb al, byte es:[edi]
mov dword [eax], ebx
mov dword [eax], 0x4888f23b
dec dword [edx - 0x60499f01]
sub ebp, 3
adc eax, 0x8a4004e2
mov bl, byte [eax]
mov dword [eax], 0xc6ff2162
push 0x3d
jmp 0x40b4e1
sub ecx, dword [ebp + 0x337daa4c]
fild dword [ebx + 0x19f803e2]
shl edx, 4
shr ebx, 4
retf
inc eax
mov byte [ebp + 0x558b403d], 0x43
mov byte [eax], 0
cmp edx, eax
inc byte [edx - 0x3da2a4c0]
loope 0x40b4f6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [0x41409d], 0xffffffff
jne 0x40b515
push dword [eax + esi + 4]
inc dword [esi - 8]
fld dword [eax]
pop ecx
ret
mov edx, dword [ebx + 0x68004140]
pop eax
add byte [eax + 0x58], ch
inc eax
inc ecx
add byte [0xca0c24ad], al
clc
loop 0x40b527
add byte [ebx - 0xe1f33c], al
je 0x40b553
push eax
call fcn.00407100
neg eax
sbb eax, eax
pop ecx
pop edi
fmul dword [eax - 0x67]
int3
add al, 0xf7
loope 0x40b519
fadd dword [eax]
push ebx
stosb byte es:[edi], al
loope 0x40b56b
fmul dword [ebx - 0x8f7dbbc]
and al, 0x14
add ebx, eax
mov eax, dword [ebp + edx*8 + 8]
not dword [0xc25bd3c2]
or bh, dh
adc eax, 0xc25bd3c2
adc byte [eax], al
int3
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
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x100012e5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov ebx, 0x104
call fcn.10003350
add esp, 4
mov dword [ebp - 4], eax
push str.confif.ini
push dword [ebp - 4]
mov ecx, 2
call fcn.10001289
add esp, 8
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000132b
push ebx
call fcn.10002e6d
add esp, 4
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x10010453]
test ebx, ebx
je 0x10001342
push ebx
call fcn.10002e6d
add esp, 4
pop eax
mov dword [0x10010453], eax
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x1000
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001385
push 0x81
push 0x401422e
push 6
call fcn.10002e91
add esp, 0xc
mov dword [0x10010457], eax
call fcn.100014ec
call fcn.10002512
mov esp, ebp
pop ebp
ret
Function at 0x10003670
Capabilities:
Query environment variable

Disassembly:
jmp 0x100f0c22
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100f0c36
xor edi, edi
jmp 0x100f0c7a
push ebx
push esi
call fcn.100f0b1b
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.10005420
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100f0c67
push ebx
push esi
push edi
call fcn.1000562d
add esp, 0xc
push 2
push 0
call fcn.10004dea
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x10004f43
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1010cfa0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x1015cd20], 1
jge 0x1010d00f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x1010cfe5
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x1010cfe5
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x1010cfc2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x1010cffb
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x1010d002
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x1010d0ff
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x1010d0d0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1010d0c5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x1010d0b9
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x1010d0c0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x1010d0ff
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x1010d0fa
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x1010d0e3
mov eax, dword [ebx + 8]
jmp 0x1010d0ff
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x1010d0f1
xor eax, eax
jmp 0x1010d0ff
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x1010d02f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1000570e
Capabilities:
Print debug messages

Disassembly:
jmp 0x1005dd2f
push esi
mov esi, ecx
call fcn.10005bf0
mov eax, 0x10000000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x10120c20
call fcn.10002e2d
test eax, eax
jns 0x1005dd7e
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005dd77
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1015baa8], 1
mov eax, esi
pop esi
ret
Function at 0x405fa3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x40d230]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ecx
call dword [0x40d058]
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x414], ebx
jne 0x405fdc
xor esi, esi
jmp 0x406011
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00409c00
mov esi, esp
cmp esi, ebx
je 0x405fd8
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x40602d
call fcn.00402ff7
mov esi, eax
jmp 0x4060c8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40604f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x406056
call fcn.00402ff7
jmp 0x4060bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, 0x400
jbe 0x406078
push eax
lea ecx, [ebp - 0x414]
call fcn.004070f2
jmp 0x406084
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], ebx
jne 0x406093
mov esi, 0x8007000e
jmp 0x4060c1
push esi
push dword [ebp + 8]
push dword [ebp - 0x414]
call fcn.004098c0
mov eax, dword [ebp - 0x414]
add esp, 0xc
push dword [ebp + 0x14]
mov byte [esi + eax], bl
push dword [ebp - 0x414]
lea ecx, [ebp - 0x10]
call fcn.004060fb
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x410]
cmp dword [ebp - 0x414], eax
je 0x4060e1
lea ecx, [ebp - 0x414]
call fcn.004070e9
mov eax, esi
lea esp, [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004093a6
pop edi
pop esi
pop ebx
leave
ret 0x10