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

Disassembly:
xor dx, word [eax*2 + 0x5ce5b4]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x4f180b
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6dba88], eax
push 0
push 0x18
push edi
push 0
push esi
call dword [0x6dba88]
mov ecx, dword [ebp - 4]
xor ecx, ebp
jmp 0x541196
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
jmp 0x4f17c4
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x6dba8c], cl
jne 0x457cdf
or dword [0x6dba8c], ecx
xor eax, eax
jmp 0x4f17e5
lea edx, [eax + 1]
imul edx, edx, 0xe1e
xor dx, word [eax*2 + 0x5ce598]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x4f17e5
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5f04
jmp 0x457ca4
call fcn.00528601
mov esp, ebp
pop ebp
ret

Function at 0x4be7d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6279
xor cx, word [eax*2 + 0x5ce180]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 7
jl 0x4be7e5
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4593
xor dx, word [eax*2 + 0x5ce190]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x4be80a
jmp 0x4ec00e
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4ec03f
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528601
mov esp, ebp
pop ebp
ret
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528601
mov esp, ebp
pop ebp
ret

Function at 0x4c6c13
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 5
jl 0x4ed6b9
lea edx, [ebp - 0x118]
push edx
call fcn.0044a294
xor eax, eax
mov ecx, esi
xor ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
jmp dword [0x455ffa]
push ebp
mov ebp, esp
sub esp, 0x118
jmp 0x57e9b8
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 9
jl 0x57e9e3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea edx, [ebp - 0x118]
push edx
push 0x6923c8
call dword [sym.imp.msvcrt.dll_sprintf]
push 0x6923c8
jmp 0x4ed696
call fcn.0044a294
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528601
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x5ceabc]
jmp 0x455fac
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x6d753c], eax
cmp eax, 0xffffffff
jne 0x4ed6b0
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
xor cx, word [eax*2 + 0x5ceaa8]
jmp 0x4e265c
Function at 0x4c7198
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x4e2ccc
push esi
mov esi, dword [sym.imp.msvcrt.dll_rand]
push edi
mov edi, dword [0x6d753c]
call esi
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x50], 0xa
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x54], 1
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
mov word [ebp - 0x56], dx
call esi
and eax, 0x800000ff
jns 0x4e2d17
dec eax
or eax, 0xffffff00
inc eax
cmp byte [ebp - 0x54], 0
mov byte [ebp - 0x53], al
je 0x51d24a
mov cl, al
xor eax, eax
jmp 0x51d23c
xor byte [ebp + eax - 0x52], cl
inc eax
cmp eax, 0x4a
jl 0x51d23c
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x51d276
mov cl, byte [ebp - 0x53]
xor eax, eax
xor byte [ebp + eax - 0x52], cl
inc eax
cmp eax, 0x4a
jl 0x51d268
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00528601
mov esp, ebp
pop ebp
push 0x557c80
ret

Function at 0x4caaac
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4caac6
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4caac2
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jmp 0x58b6ea
sete dl
mov eax, edx
pop ebp
ret
Function at 0x4d2dfe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [ebp + 0x18], 0
jne 0x564cf5
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x418]
jmp dword [0x416fb9]
inc eax
mov dword [ebp - 0x414], eax
cmp eax, dword [esi + 0x18]
jb 0x4a205c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00528601
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x414]
cmp ecx, 0xffffffff
jmp 0x52a1d8
test ebx, ebx
je 0x49b2fb
mov byte [ebx + 0xff], 1
lea eax, [esi + edi]
lea edx, [ebp - 0x10c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x49b306
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x10c]
mov eax, 0x2e
push edx
mov word [ebp - 0x40c], ax
call dword [sym.imp.msvcrt.dll_strstr]
mov edi, eax
add esp, 8
jmp dword [0x49b342]
mov eax, dword [ebp - 0x410]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
add eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f5297
test dl, dl
je 0x4f5290
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f5297
jmp dword [0x4a2092]
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
jmp 0x544f8c
inc eax
test cl, cl
jne 0x544fba
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
je 0x52a1de
mov dword [ebp - 0x414], ecx
cmp dword [esi + 0x18], ecx
jbe 0x49993c
mov eax, dword [esi + 0x20]
add eax, edi
mov dword [ebp - 0x410], eax
jmp 0x4a2062
xor eax, eax
jmp 0x4f529c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49994f
mov eax, dword [ebp - 0x414]
add dword [ebp - 0x410], 4
jmp 0x49992c
je 0x49993c
cmp dword [ebp + 0x10], 0
movzx eax, word [ebp + 0x14]
je 0x52a1fd
mov edx, dword [esi + 0x24]
lea eax, [edx + ecx*2]
mov cx, word [eax + edi]
add cx, word [esi + 0x10]
movzx eax, cx
movzx edx, ax
sub edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
mov esi, dword [ecx + edi]
mov eax, dword [ebx + edi + 0x78]
cmp esi, eax
jb 0x416f9c
mov edx, dword [ebx + edi + 0x7c]
add edx, eax
cmp esi, edx
ja 0x416f9c
mov ebx, dword [ebp - 0x420]
jmp 0x49b2ec
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x3c]
mov esi, dword [ebx + edi + 0x78]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0xc]
add esi, edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], edx
test edx, edx
je 0x4e62bf
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
jmp 0x4e62b6
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret
Function at 0x4ec050
Capabilities:
Encode data using xor
Terminate process

Disassembly:
add esp, 0xc
mov esi, 0x6d72f8
mov dword [0x6d72f8], 0x114
call fcn.004be7d0
mov edi, eax
xor eax, eax
jmp 0x46e94a
lea ecx, [eax + 1]
imul ecx, ecx, 0x4f5a
xor cx, word [eax*2 + 0x5ce19c]
inc eax
mov word [ebp + eax*2 - 0x30a], cx
cmp eax, 5
jl 0x46e94a
lea edx, [ebp - 0x308]
jmp 0x5b5ee0
xor cx, word [eax*2 + 0x5ce1c8]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
cmp eax, 0xe
jl 0x5216f1
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x6ad3
xor dx, word [eax*2 + 0x5ce1e8]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
cmp eax, 5
jl 0x4e7486
jmp 0x56115e
push ebp
mov ebp, esp
sub esp, 0x30c
jmp 0x562982
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x20
push 0
push 0
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx ecx, word [esi + 0x40]
mov dword [0x6d72fc], ecx
movzx edx, word [esi + 0x42]
mov dword [0x6d7300], edx
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x57be
jmp 0x4e746a
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne dl
pop esi
xor ecx, ebp
mov byte [0x6d7414], dl
jmp 0x503168
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x10043a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x114
push 0
push 0x6d72f8
mov dword [0x6d7410], eax
call sub.msvcrt.dll_memset
jmp 0x46e92a
lea ebx, [eax + 1]
imul ebx, ebx, 0x22ea
xor bx, word [eax*2 + 0x5ce1a8]
inc eax
mov word [ebp + eax*2 - 0x10a], bx
cmp eax, 0xe
jl 0x58fb50
movzx eax, word [esi + 0x42]
push eax
mov eax, dword [0x6d7300]
push ecx
mov ecx, dword [0x6d7304]
push ecx
push eax
push edx
push edi
jmp 0x5216a2
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [eax + 0x3c]
mov edx, dword [0x6d72fc]
add esi, eax
movzx eax, word [esi + 0x40]
mov ecx, eax
cmp edx, ecx
je 0x5216ef
cmp eax, 0xa
jne 0x5216db
xor eax, eax
lea esp, [esp]
jmp 0x58fb50
Function at 0x54b358
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [edx + eax]
xor dl, cl
mov byte [ebx + 0x691f20], dl
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x3a3a
xor cx, word [eax*2 + 0x5ce788]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 4
jl 0x417abb
movzx edx, dl
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x10c]
add esp, 0xc
mov ecx, eax
jmp 0x4a2ed8
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a2ed8
mov edi, 0x6d7a88
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4a2eed
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
cmp byte [ebp - 0x20d], 0
jmp 0x5136ee
rep movsb byte es:[edi], byte [esi]
je 0x5a64bb
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x54b378
push 0x4000
sub eax, edx
push 0
push 0x6d7a88
jmp 0x5a649e
mov dword [ebp - 0x214], eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor ebx, ebx
mov byte [0x6d7a88], 0
mov byte [ebp - 0x20d], bl
mov cl, byte [ebx + 0x691f20]
test cl, cl
jne 0x5a64d0
mov byte [ebp - 0x20d], 1
mov eax, ebx
cdq
idiv dword [ebp - 0x214]
mov eax, dword [ebp + 8]
jmp 0x417aaa

Function at 0x550253
Capabilities:
Encode data using xor

Disassembly:
imul ecx, ecx, 0x2048
lea ecx, [ecx + edi + 8]
mov esi, ecx
mov dword [ecx + 0x2040], 0
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x417452
inc dword [edi]
mov eax, dword [ecx + 0x2040]
cmp eax, 0x3e8
jl 0x597b4f
jmp 0x4c7a44
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x7f0f
xor dx, word [eax*2 + 0x5ce314]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xd
jl 0x4c7a47
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
jmp dword [0x4c7a8a]
jle 0x4ffd62
lea ebx, [edi + 8]
mov eax, dword [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x4ffd50
inc esi
add ebx, 0x2048
cmp esi, dword [edi]
jl 0x4ffd23
jmp 0x4ffd62
imul esi, esi, 0x2048
lea ecx, [esi + edi + 8]
test ecx, ecx
jne 0x417462
mov ecx, dword [edi]
mov eax, dword [ebp - 0x110]
jmp 0x41743a
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [edi]
push ebx
push esi
cmp eax, 0x64
jl 0x5976a5
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x63cd
xor cx, word [eax*2 + 0x5ce2f8]
push 0x59766e
ret
xor esi, esi
test eax, eax
jmp 0x4ffd1a
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x100], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*8 + 0x104], edx
inc dword [ecx + 0x2040]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret 0xc
Function at 0x557c81
Capabilities:
Send data
Send data on socket

Disassembly:
cdq
idiv ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], bl
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
xor ecx, ecx
mov word [ebp - 0x56], dx
lea ebx, [ebx]
mov eax, ecx
and eax, 0x80000001
jns 0x444cb3
dec eax
or eax, 0xfffffffe
inc eax
je 0x50221e
mov al, bl
not al
imul cl
jmp 0x502228
push edi
push esi
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dl, bl
call fcn.005b08fc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret
imul cl
jmp 0x4b306c
mov al, cl
imul dl
mov bl, al
add bl, bl
add al, bl
mov bl, byte [ebp + 0xc]
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x50225e
test esi, esi
je 0x489fc8
mov dl, bl
call fcn.005b08fc
mov ecx, dword [ebp - 0x5c]
push 0
jmp 0x489fb8
mov al, cl
imul bl
mov dl, al
add dl, dl
add al, dl
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x444ca1
mov ecx, dword [ebp - 0x5c]
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x4b307a
mov dl, byte [ebp - 0x53]
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
and eax, 0x80000001
jns 0x502270
dec eax
or eax, 0xfffffffe
inc eax
je 0x4b305f
mov al, dl
not al
jmp 0x4b3058
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
mov eax, dword [0x6d753c]
push ebx
mov bl, byte [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x5c], eax
je 0x4b307a
call dword [sym.imp.msvcrt.dll_rand]
mov ecx, 0xbb8
jmp 0x444c78
Function at 0x562d0c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, 0x18
mov word [ebp - 0x115], ax
mov eax, dword [0x6d7660]
mov dword [ebp - 0x11f], esi
cmp eax, ebx
jne 0x468b1f
push 0x40
push 0x3000
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x118]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x114]
jmp dword [0x441ef9]
mov edx, dword [0x6d7664]
push edx
mov ebx, eax
call fcn.00503172
mov eax, dword [0x6d7660]
add esp, 4
jmp 0x4f24a4
mov ebx, dword [0x6d7660]
push eax
call fcn.00503172
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
push 0x40
push 0x3000
push ecx
push ebx
push edx
push edi
call eax
mov esi, eax
cmp dword [0x6d7664], ebx
jne 0x4f24e3
mov edi, dword [sym.imp.msvcrt.dll_rand]
call edi
mov word [0x6d7664], ax
call edi
mov word [0x6d7666], ax
mov eax, dword [0x6d7664]
jmp 0x46f6d8
mov esi, 0x1a6
jmp 0x441ea1
cmp eax, 0x3839
jne 0x4fb9a1
mov esi, 0x1a8
jmp 0x441ea1
cmp eax, 0x3ad7
jne 0x4fb9b6
mov esi, 0x1ad
jmp 0x441ea1
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x2d67
jmp 0x5a4ee4
mov byte [ebp - 0x10f], 0xc3
cmp eax, 6
jne 0x539dd6
mov eax, dword [0x6d7300]
cmp eax, 1
jne 0x5082d4
lea esi, [ebx + 0x13]
jmp 0x441ea1
cmp eax, 2
jne 0x5082e7
mov esi, 0x196
jmp 0x441ea1
cmp eax, 3
jne 0x5082fa
mov esi, 0x19b
jmp 0x441ea1
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x17b3
xor dx, word [eax*2 + 0x5ce290]
jmp 0x539db6
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 6
jl 0x5082fc
push ebx
push ebx
lea eax, [ebp - 0x10c]
push eax
jmp 0x5a4f07
cmp eax, 0xa
jne 0x441ea1
mov eax, dword [0x6d7304]
cmp eax, 0x2800
jne 0x539df9
mov esi, 0x1a3
jmp 0x441ea1
cmp eax, 0x295a
jne 0x4fb98c
jmp 0x4fb982
push ebp
jmp 0x5a663a
xor cx, word [eax*2 + 0x5ce2a0]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 6
jl 0x4fb9b8
push ebx
push ebx
lea edx, [ebp - 0x10c]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp dword [0x5a4f1f]
mov ebp, esp
sub esp, 0x128
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x124], eax
mov eax, dword [0x6d72fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x128], ecx
mov byte [ebp - 0x120], 0xb8
mov dword [ebp - 0x11b], 0x3e8
mov word [ebp - 0x117], 0xc200
mov dword [ebp - 0x113], 0x340fd48b
jmp 0x5082ae
Function at 0x58b6f1
Capabilities:
Enumerate pe sections

Disassembly:
jb 0x58b71a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x472b2c
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x58b732
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x472b2e
inc edx
add eax, 0x28
cmp edx, esi
jmp 0x472b26

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x411d62
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x417678], 0
push ebx
push esi
mov esi, 0x417680
jne 0x411d8e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x417698], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x417678], 1
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x411e2b
push 0x14
push 8
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x411e55
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x41767c]
test eax, eax
je 0x411dd0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x41767c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x411e5a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411e55
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x23d42728
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x7b1d6af4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219