joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5957a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x61df80]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0xa0]
push esi
or ebp, 0x10
push edi
mov dword [esp + 0x10], 0x80
test ebx, ebx
je 0x59584d
push ebx
call fcn.00597210
add esp, 4
test eax, eax
je 0x59584d
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
test eax, eax
jle 0x5957f7
push eax
jmp 0x5957fe
jge 0x595809
push 0x80
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jl 0x59584d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x59582e
push str.getsockname
push esi
call fcn.00596c30
add esp, 8
jmp 0x59584d
push 0x3c
push 1
call fcn.005811a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x595868
push str.calloc
call fcn.00596ba0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c7d13
add esp, 0x88
ret
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov dword [edi + 0x14], ebp
mov ebp, 1
or dword [edi + 0x20], ebp
mov ecx, ebp
push ebx
mov dword [edi], 0x5dd3dc
mov dword [edi + 8], edx
mov dword [edi + 0x10], eax
mov word [edi + 0x18], cx
call fcn.00597210
push ebp
push esi
push eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], ebx
call fcn.00596e50
add esp, 0x10
test eax, eax
jl 0x595992
push ebp
call fcn.00596330
mov edx, 4
push edx
push edx
mov dword [edi + 4], eax
mov word [edi + 0x30], dx
call fcn.005811a0
add esp, 0xc
mov dword [edi + 0x38], eax
test eax, eax
jne 0x5958e7
push str.calloc
call fcn.00596ba0
jmp 0x59597e
xor eax, eax
xor ebx, ebx
cmp ax, word [edi + 0x30]
jge 0x595933
movzx ecx, word [esp + 0x14]
push ecx
call fcn.00595700
mov edx, dword [edi + 0x38]
mov dword [edx + ebx*4], eax
mov eax, dword [edi + 0x38]
lea eax, [eax + ebx*4]
add esp, 4
cmp dword [eax], 0
je 0x595941
cmp dword [esp + 0xa0], 0
je 0x595925
mov esi, dword [eax]
call fcn.005953e0
test eax, eax
jl 0x595950
add word [edi + 0x18], bp
movsx ecx, word [edi + 0x30]
add ebx, ebp
cmp ebx, ecx
jl 0x5958f1
mov ecx, edi
call fcn.00595190
mov eax, edi
jmp 0x59584f
push str.Couldnt_create_accepting_socket
call fcn.00596cb0
add esp, 4
jmp 0x595975
push str.Couldnt_start_accepting_on_socket
call fcn.00596cb0
mov edx, dword [edi + 0x38]
mov eax, dword [edx + ebx*4]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x38]
mov esi, dword [ecx + ebx*4]
call fcn.005951b0
mov edx, dword [edi + 0x38]
push edx
call fcn.00581290
mov eax, dword [edi + 4]
add esp, 4
test eax, eax
je 0x595992
push ebp
push eax
call fcn.00596360
add esp, 8
push edi
call fcn.00581290
jmp 0x59584a
Function at 0x595ab0
Capabilities:
Set socket configuration

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x20]
push edi
mov dword [esp + 8], 1
test ebp, ebp
je 0x595ac9
movzx ecx, word [ebp]
jmp 0x595acb
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov eax, 0x4000001
test edi, edi
jne 0x595ade
pop edi
xor eax, eax
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x20]
test bl, 4
je 0x595aed
mov eax, 0x84000001
push esi
push 0
push eax
push ecx
call fcn.0058eb40
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x595b8f
push 4
lea eax, [esp + 0x14]
push eax
push 8
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jl 0x595b86
test bl, 8
je 0x595b30
push esi
call fcn.0058db30
add esp, 4
test eax, eax
jl 0x595b86
test bl, bl
jns 0x595b41
push esi
call fcn.0058db30
add esp, 4
test eax, eax
jl 0x595b86
test bl, 0x40
je 0x595b53
push esi
call fcn.0058db30
add esp, 4
test eax, eax
jl 0x595b86
test ebp, ebp
je 0x595b68
mov ecx, dword [esp + 0x30]
push ecx
push ebp
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jl 0x595b86
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push edi
push ebx
push edx
push eax
push ecx
call fcn.005959a0
add esp, 0x18
test eax, eax
jne 0x595b91
push esi
call fcn.0058db40
add esp, 4
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0x596e90
Capabilities:
Create tcp socket

Disassembly:
sub esp, 0x3c
mov eax, dword [0x61df80]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, 0xddf3
mov word [esp + 0x24], si
xor ebx, ebx
mov esi, 0x4660
mov word [esp + 0x26], si
mov eax, 0xcbac
mov ecx, 0x11cf
push ebx
mov esi, 0xcbac
mov word [esp + 0x18], ax
mov word [esp + 0x1a], cx
mov dl, 0x48
mov cl, 0xa1
mov al, 0x92
mov word [esp + 0x38], si
push 1
mov esi, 0x11cf
push 2
mov dword [esp + 0x1c], 0xb5367df1
mov byte [esp + 0x24], 0x95
mov byte [esp + 0x25], 0xca
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x80
mov byte [esp + 0x28], 0x5f
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], al
mov dword [esp + 0x2c], 0x25a207b9
mov byte [esp + 0x34], 0x8e
mov byte [esp + 0x35], 0xe9
mov byte [esp + 0x36], 0x76
mov byte [esp + 0x37], 0xe5
mov byte [esp + 0x38], 0x8c
mov byte [esp + 0x39], 0x74
mov byte [esp + 0x3a], 6
mov byte [esp + 0x3b], 0x3e
mov dword [esp + 0x3c], 0xb5367df2
mov word [esp + 0x42], si
mov byte [esp + 0x44], 0x95
mov byte [esp + 0x45], 0xca
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x80
mov byte [esp + 0x48], 0x5f
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], cl
mov byte [esp + 0x4b], al
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x59701e
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_WSAIoctl]
push ebx
push ebx
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push 0x10
lea ecx, [esp + 0x2c]
push ecx
push 0xc8000006
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call ebp
mov edx, dword [esp + 0xc]
push ebx
push ebx
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x10
mov dword [edi], edx
lea edx, [esp + 0x3c]
push edx
push 0xc8000006
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call ebp
mov eax, dword [esp + 0xc]
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push 0x10
mov dword [edi + 4], eax
lea eax, [esp + 0x4c]
push eax
push 0xc8000006
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call ebp
mov ecx, dword [esp + 0xc]
push esi
mov dword [edi + 8], ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x62a2b8], 1
pop ebp
mov ecx, dword [esp + 0x40]
pop esi
pop ebx
xor ecx, esp
call fcn.004c7d13
add esp, 0x3c
ret
Function at 0x597040
Capabilities:
Create thread

Disassembly:
cmp dword [0x62a2b8], 0
push esi
push edi
jne 0x597055
mov edi, 0x62a2ac
call fcn.00596e90
push 0x30
push 1
call fcn.005811a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x59706a
pop edi
pop esi
ret
mov edi, dword [esp + 0xc]
test edi, edi
jg 0x597077
mov edi, 2
lea eax, [edi + edi]
mov word [esi + 0x1c], ax
push ebp
cwde
push 4
push eax
call fcn.005811a0
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x59710e
push edi
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi], eax
mov dword [esi + 0x20], 0xffffffff
test eax, eax
je 0x597117
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x59710e
xor ecx, ecx
xor edi, edi
cmp cx, word [esi + 0x1c]
jge 0x5970f9
push esi
push 0
push 0x596d30
call fcn.0059b095
add esp, 0xc
cmp eax, 0xffffffff
je 0x59710e
mov edx, dword [esi + 0x24]
mov dword [edx + edi*4], eax
inc word [esi + 0x28]
movsx eax, word [esi + 0x1c]
inc edi
cmp edi, eax
jl 0x5970d1
push 0x3e8
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
pop ebp
pop edi
mov eax, esi
pop esi
ret
mov eax, dword [esi]
test eax, eax
je 0x597117
push eax
call ebp
mov eax, dword [esi + 0x24]
test eax, eax
je 0x597127
push eax
call fcn.00581290
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x597131
push eax
call ebp
push esi
call fcn.00581290
add esp, 4
pop ebp
pop edi
xor eax, eax
pop esi
ret
Function at 0x598310
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
dec byte [0x62a6e8]
push ebx
mov ecx, 2
push ebp
lea ecx, [ecx]
mov al, byte [0x62a6e8]
inc al
mov byte [0x62a6e8], al
movzx ebp, al
lea eax, [ecx - 2]
cdq
idiv esi
mov bl, byte [ebp + 0x62a6ea]
mov al, byte [0x62a6e9]
movzx edx, byte [edx + edi]
add dl, bl
add al, dl
mov byte [0x62a6e9], al
movzx eax, al
movzx edx, byte [eax + 0x62a6ea]
mov byte [ebp + 0x62a6ea], dl
movzx eax, byte [0x62a6e9]
mov byte [eax + 0x62a6ea], bl
mov al, byte [0x62a6e8]
inc al
mov byte [0x62a6e8], al
movzx ebp, al
lea eax, [ecx - 1]
cdq
idiv esi
mov bl, byte [ebp + 0x62a6ea]
mov al, byte [0x62a6e9]
movzx edx, byte [edx + edi]
add dl, bl
add al, dl
mov byte [0x62a6e9], al
movzx eax, al
movzx edx, byte [eax + 0x62a6ea]
mov byte [ebp + 0x62a6ea], dl
movzx eax, byte [0x62a6e9]
mov byte [eax + 0x62a6ea], bl
mov al, byte [0x62a6e8]
inc al
mov byte [0x62a6e8], al
movzx ebp, al
mov eax, ecx
cdq
idiv esi
mov bl, byte [ebp + 0x62a6ea]
mov al, byte [0x62a6e9]
movzx edx, byte [edx + edi]
add dl, bl
add al, dl
mov byte [0x62a6e9], al
movzx eax, al
movzx edx, byte [eax + 0x62a6ea]
mov byte [ebp + 0x62a6ea], dl
movzx eax, byte [0x62a6e9]
mov byte [eax + 0x62a6ea], bl
mov al, byte [0x62a6e8]
inc al
mov byte [0x62a6e8], al
movzx ebp, al
lea eax, [ecx + 1]
cdq
idiv esi
mov bl, byte [ebp + 0x62a6ea]
mov al, byte [0x62a6e9]
add ecx, 4
movzx edx, byte [edx + edi]
add dl, bl
add al, dl
mov byte [0x62a6e9], al
movzx eax, al
movzx edx, byte [eax + 0x62a6ea]
mov byte [ebp + 0x62a6ea], dl
movzx eax, byte [0x62a6e9]
lea edx, [ecx - 2]
cmp edx, 0x100
mov byte [eax + 0x62a6ea], bl
jl 0x598320
mov al, byte [0x62a6e8]
pop ebp
mov byte [0x62a6e9], al
pop ebx
ret

Function at 0x598470
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0x24
mov eax, dword [0x61df80]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [0x62a7ec], 0
jne 0x5984ca
push 0xf0000000
push 1
push 0
push 0
push 0x62a6e0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x5984c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x5984c0
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c7d13
add esp, 0x24
ret
mov dword [0x62a7ec], 1
mov ecx, dword [0x62a6e0]
lea eax, [esp]
push eax
push 0x20
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x5984ae
push esi
push edi
mov esi, 0x20
lea edi, [esp + 8]
call fcn.00598310
mov edx, edi
push esi
push edx
call fcn.0058e9a0
mov ecx, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
xor ecx, esp
mov dword [0x62a6dc], 1
xor eax, eax
call fcn.004c7d13
add esp, 0x24
ret
Function at 0x599540
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
cmp esi, edi
je 0x59955e
test byte [esi + 0x1c], 0x10
je 0x59955e
mov ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x599564
mov dword [esp + 0xc], edi
mov ebx, edi
or eax, 0xffffffff
mov dword [esp + 0x10], eax
cmp esi, edi
je 0x599698
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x599584
push eax
push edi
call fcn.00596370
add esp, 8
test byte [esi + 0x1c], 2
jne 0x599683
test byte [ebx + 0x4c], 2
jne 0x599683
mov eax, dword [esi + 0xc]
cmp eax, edi
jne 0x5995a8
mov dword [esp + 0x10], edi
jmp 0x599683
push ebp
mov ebp, dword [esp + 0x24]
cmp ebp, edi
jl 0x5995b5
cmp ebp, eax
jbe 0x5995b7
mov ebp, eax
push 1
push esi
call fcn.0058c540
push 0x80
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], edi
lea edi, [ebx + 0x58]
push 0
push edi
call fcn.004ce490
mov esi, dword [esi]
add esp, 0x14
mov dword [ebx + 0x50], esi
xor ebx, ebx
nop
test esi, esi
je 0x599614
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 8]
push 0x20
push esi
mov dword [edi + 4], eax
call fcn.0058b6b0
add esp, 8
inc ebx
cmp ebp, dword [esi + 0x10]
jbe 0x599612
mov ecx, dword [esi + 0x10]
mov dword [edi], ecx
sub ebp, dword [esi + 0x10]
mov esi, dword [esi]
add edi, 8
cmp ebx, 0x10
jl 0x5995e0
jmp 0x599614
mov dword [edi], ebp
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
push edi
mov dword [esi + 0x54], ebx
call fcn.0058b730
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x48]
add esp, 4
push 0
push edx
push 0
lea eax, [esp + 0x24]
push eax
push ebx
lea eax, [esi + 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
pop ebp
test eax, eax
je 0x599673
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x599673
push 0x20
mov ebx, esi
call fcn.00599380
push 1
push edi
call fcn.0058c580
push edi
call fcn.0058ba00
add esp, 0x10
jmp 0x59967f
or dword [esi + 0x4c], 2
mov dword [esp + 0x10], 0
mov esi, edi
xor edi, edi
mov esi, dword [esi + 0x18]
cmp esi, edi
je 0x599694
push esi
push edi
call fcn.00596380
add esp, 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x5996a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x90
push ebx
mov ebx, dword [esp + 0x98]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
je 0x5996c0
test byte [ebx + 0x1c], 0x10
je 0x5996c0
mov esi, ebx
jmp 0x5996c2
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
cmp esi, ebp
je 0x599827
mov eax, dword [ebx + 0x18]
cmp eax, ebp
je 0x5996e6
push eax
push ebp
call fcn.00596370
add esp, 8
test byte [ebx + 0x1c], 4
jne 0x599811
test byte [esi + 0x4c], 1
jne 0x599811
push edi
push 0x80
lea edi, [esi + 0x58]
push ebp
push edi
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
call fcn.004ce490
mov ebp, dword [esp + 0xb4]
push 0x10
push ebp
push ebx
call fcn.0058d020
add esp, 0x18
cmp eax, 0xffffffff
je 0x599810
push 0
push ebx
call fcn.0058c540
push 1
lea eax, [esp + 0x24]
push eax
push 0x10
lea ecx, [esp + 0x34]
push ecx
push ebp
push ebx
call fcn.0058bf10
mov ebp, eax
add esp, 0x20
xor eax, eax
test ebp, ebp
jle 0x599775
mov ecx, edi
jmp 0x599760
mov edx, dword [esp + eax*8 + 0x20]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x24]
mov dword [ecx], edx
inc eax
add ecx, 8
cmp eax, ebp
jl 0x599760
mov eax, dword [esp + 0x18]
mov dword [esi + 0x54], ebp
mov edi, dword [eax]
mov dword [esi + 0x50], edi
test edi, edi
je 0x599796
push 0x10
push edi
call fcn.0058b6b0
mov edi, dword [edi]
add esp, 8
test edi, edi
jne 0x599785
push ebx
call fcn.0058b730
mov ecx, dword [esp + 0xb0]
add esp, 4
xor edi, edi
push edi
push ecx
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push ebp
lea eax, [esi + 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x599808
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x599808
cmp dword [esi + 0x54], edi
mov eax, dword [esi + 0x50]
jle 0x5997f5
lea esp, [esp]
mov ebp, dword [eax]
push 0x10
push eax
call fcn.0058c7c0
inc edi
add esp, 8
cmp edi, dword [esi + 0x54]
mov eax, ebp
jl 0x5997e0
push 0
push ebx
call fcn.0058c580
push ebx
call fcn.0058ba00
add esp, 0xc
jmp 0x599810
or dword [esi + 0x4c], 1
mov dword [esp + 0x10], edi
pop edi
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x599823
push ebx
push 0
call fcn.00596380
add esp, 8
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
Function at 0x59b14e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x59b17f
call fcn.004c9c8a
mov dword [eax], esi
call fcn.004c9c77
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004c870a
add esp, 0x14
push 0x16
pop eax
jmp 0x59b1d4
test dword [ebp + 0xc], 0xfffffff9
jne 0x59b15b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x59b1ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004c9c9d
pop ecx
call fcn.004c9c77
mov eax, dword [eax]
jmp 0x59b1d4
test al, 0x10
jne 0x59b1d2
test al, 1
je 0x59b1d2
test byte [ebp + 0xc], 2
je 0x59b1d2
call fcn.004c9c8a
mov dword [eax], 5
call fcn.004c9c77
mov dword [eax], 0xd
jmp 0x59b1a3
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100ba5b0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100ba77d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x85000]
push edi
or ebp, 0xffffffff
jmp 0x100ba5da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100ba5e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100ba5d0
mov eax, 1
add ebx, ebx
jne 0x100ba5f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100ba5e8
jne 0x100ba604
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100ba5e8
xor ecx, ecx
sub eax, 3
jb 0x100ba618
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100ba68a
mov ebp, eax
add ebx, ebx
jne 0x100ba623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100ba630
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100ba654
inc ecx
add ebx, ebx
jne 0x100ba640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100ba635
jne 0x100ba651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100ba635
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100ba674
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100ba665
jmp 0x100ba5d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100ba674
add edi, ecx
jmp 0x100ba5d6
pop esi
mov edi, esi
mov ecx, 0x2dfe
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100ba692
cmp byte [edi], 0x13
jne 0x100ba692
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100ba697
lea edi, [esi + 0xb5000]
mov eax, dword [edi]
or eax, eax
je 0x100ba70f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xba000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xba17c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100ba6c4
mov ecx, edi
jns 0x100ba6f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xba180]
or eax, eax
je 0x100ba709
mov dword [ebx], eax
add ebx, 4
jmp 0x100ba6e1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100ba740
cmp al, 0xef
ja 0x100ba733
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100ba715
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100ba722
mov ebp, dword [esi + 0xba184]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x100ba774
sub esp, 0xffffff80
jmp 0x1005139e
Function at 0x41b250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x41b272
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b268
mov eax, 1
add ebx, ebx
jne 0x41b28b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b280
jne 0x41b29c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b280
xor ecx, ecx
sub eax, 3
jb 0x41b2b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b322
mov ebp, eax
add ebx, ebx
jne 0x41b2bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b2c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b2ec
inc ecx
add ebx, ebx
jne 0x41b2d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b2cd
jne 0x41b2e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b2cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b30c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b2fd
jmp 0x41b26e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b30c
add edi, ecx
jmp 0x41b26e
pop esi
mov edi, esi
mov ecx, 0x399
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b32a
cmp byte [edi], 5
jne 0x41b32a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41b32f
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41b39e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b174]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b1c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b35c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b1c8]
or eax, eax
je 0x41b398
mov dword [ebx], eax
add ebx, 4
jmp 0x41b379
call dword [esi + 0x1b1d0]
mov ebp, dword [esi + 0x1b1cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x41b3d2
sub esp, 0xffffff80
jmp 0x4017f2
Function at 0x417a10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417a36
mov eax, dword [0x6357d0]
test eax, eax
je 0x417a2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
adc eax, sym.imp.KERNEL32.dll_FreeLibrary
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6357d0], eax
test eax, eax
pop ebx
je 0x417ad1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov ecx, dword [0x6357d0]
or eax, 0x6357d0
Function at 0x42e948
Capabilities:
Encode data using xor

Disassembly:
lcall 0xcb22, 0x43efef23
mov dword [0xf318bae2], eax
inc edi
fxch st(6)
mov cl, 0xab
aad 0x7c
scasb al, byte es:[edi]
fist word [eax + 0xaef4479]
and al, 0x78
xor edx, dword [ebx - 8]
sbb ah, ah
sbb ebp, ebp
loopne 0x42e92c
inc eax
mov ch, 0xc0
and al, 6
cmpsd dword [esi], dword es:[edi]
xchg dword [ebx], esp
stosd dword es:[edi], eax
mov bl, 0xfc
mov dword [0xa4adacee], eax
mov byte [0xabe383b5], al
sub ah, bh