joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43da43
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4541e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea edx, [esi + 0x40]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], ecx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
mov byte [ebp - 4], 2
je 0x41025f
test cl, 0x10
jne 0x41025f
mov al, 1
jmp 0x410261
xor al, al
mov byte [esi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
mov ebx, dword [edx + 4]
mov ecx, ebx
mov edi, dword [edi + 0x18]
sar ecx, 3
cmp edi, ecx
jae 0x410285
lea ecx, [edi*8]
mov dword [edx + 4], ecx
jmp 0x4102bf
jbe 0x4102bf
mov eax, dword [edx + 8]
sar eax, 3
cmp edi, eax
jbe 0x41029f
lea eax, [ebp - 0xd]
mov ecx, edx
push eax
push edi
call fcn.0040fa60
jmp 0x4102bf
sub edi, ecx
je 0x4102bc
lea eax, [edi*8]
push eax
push 0
push ebx
call fcn.0041d260
add esp, 0xc
lea ebx, [ebx + edi*8]
lea edx, [esi + 0x40]
mov dword [edx + 4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4148c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4148f1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4148e0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x417f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push edi
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
push 0x39
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov dword [ebp - 0x38], 0
mov bl, 1
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00401480
push esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401390
add esp, 0xc
lea ecx, [ebp - 0x38]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push 0
push ecx
push 0
push 0x20106
push 1
push 0
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x417f89
xor bl, bl
jmp 0x417fba
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push edi
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x38]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x417fea
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417fe0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41803f
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp ecx, 0x10
jb 0x41802c
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418022
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41803f
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
call fcn.004203af
int3
Function at 0x4193c0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push edi
push edi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push edi
push str.GuiAdlock
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4194ce
push edi
push dword [ebp + 0xc]
push str.127.0.0.1
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4194c8
push dword [ebp - 0x10]
call fcn.0040cf30
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0xc]
push 0x100
push edi
push edi
push str.HTTP_1.1
push esi
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push esi
mov edi, eax
call fcn.0041ac7d
add esp, 4
test edi, edi
je 0x4194c8
mov esi, dword [ebp - 0x14]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419470
push 0
sub ecx, edx
push ecx
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ebx, eax
test ebx, ebx
je 0x4194c8
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419496
lea eax, [ebp - 8]
sub ecx, edx
push eax
push ecx
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, eax
test ebx, ebx
je 0x4194c8
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
setne bl
jmp 0x4194d7
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
setne bl
test edi, edi
je 0x4194da
push edi
call esi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4194e4
push eax
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4194ee
push eax
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret

Function at 0x41bc92
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41bcd1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41bcd1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41bcd1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41bcd1
cmp dword [ecx + 0x74], 0xe
jbe 0x41bcd1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x431425
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44891c
push 0x448914
push str.FlsAlloc
push 0x1e
call fcn.004312ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431459
push dword [ebp + 8]
mov ecx, esi
call dword [0x43f344]
call esi
jmp 0x43145f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4314a3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44892c
push 0x448924
push str.FlsGetValue
push 0x20
call fcn.004312ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4314da
push dword [ebp + 8]
mov ecx, esi
call dword [0x43f344]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x434818
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x434863
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004349b7
test al, al
jne 0x43485d
sub edx, 2
cmp edx, edi
jne 0x434843
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x434885
lea eax, [edi + 2]
cmp edx, eax
je 0x434885
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00434764
add esp, 0x10
jmp 0x43497f
push esi
lea ecx, [ebp - 0x255]
call fcn.004349b7
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4348c8
push dword [ebp - 0x25c]
jmp 0x434875
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x434905
cmp word [ebp - 0x226], 0
je 0x434926
cmp word [ebp - 0x226], ax
jne 0x434905
cmp word [ebp - 0x224], 0
je 0x434926
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00434764
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x434972
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4348df
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x43495a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43497f
push 0x434594
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043b1d0
add esp, 0x10
jmp 0x43494f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b2d9
leave
ret
Function at 0x43c780
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43c7ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43c7ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41e8c6
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a1b8
push 0x420048
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x2c], 0x35
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xd8
call fcn.0041ff30
add esp, 4
test eax, eax
je 0x41e90a
mov ecx, eax
call fcn.0041fbb0
mov dword [ebp - 0x1c], eax
jmp 0x41e911
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xb8
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.0041fb10
test eax, eax
je 0x41e952
cmp dword [ebp - 0x1c], 0
je 0x41e948
mov ecx, dword [ebp - 0x1c]
call fcn.0041fc20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041ff40
add esp, 4
mov eax, 0x7895
jmp 0x41ea85
wait
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0041f2a0
mov ecx, dword [ebp - 0x1c]
call fcn.0041edf0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
call fcn.0041f120
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc4], 0
je 0x41e9b0
mov esi, eax
test esi, esi
je 0x41e99e
mov ecx, esi
call fcn.0041fc20
push esi
call fcn.0041ff40
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x41ea85
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0
mov eax, dword fs:[0x20]
je 0x41e9cc
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041ebc0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd0], 0
je 0x41ea10
mov esi, eax
test esi, esi
je 0x41ea01
mov ecx, esi
call fcn.0041fc20
push esi
call fcn.0041ff40
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x41ea85
cmp dword [ebp - 0x2c], 0
jne 0x41ea1c
mov eax, dword ds:[0]
mov ecx, dword [ebp - 0x1c]
call fcn.0041ef90
xor dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0x7895
wait
jmp 0x41ea54
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x41ea68
mov dword [ebp - 0x20], 0x7895
cmp dword [ebp - 0x1c], 0
je 0x41ea82
mov ecx, dword [ebp - 0x1c]
call fcn.0041fc20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041ff40
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41eaa0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov dword [ecx + 0xc], 0x45f479d7
mov dword [ecx], 0
mov esi, ecx
mov dword [ecx + 0x18], 0xf3cb3e57
mov dword [esi + 0x1c], 0x40092ee0
mov dword [esi + 8], 0x75bbf938
mov dword [esi + 0x10], 0xfd3371b0
mov dword [esi + 0x20], 0x8a4406c7
mov dword [esi + 0x24], 0x2cc8e4f
mov dword [esi + 0x28], 0xd12c3bc9
mov dword [esi + 0x30], 0xebcc478b
mov dword [esi + 0x34], 0x489225be
mov dword [esi + 0x38], 0xafda13f8
mov dword [esi + 0x10], 0x3f4cdc6c
mov dword [esi + 0x28], 0xea71e659
mov dword [esi + 8], 0x1d6efe4e
mov dword [esi + 0x30], 0x5a92a305
mov dword [esi + 0x34], 0x412b44f5
xor eax, eax
mov ecx, eax
inc eax
xor ecx, 0x3c2d1e0f
cmp eax, 0x1e
not ecx
mov dword [esi + eax*4 + 0x38], ecx
jl 0x41eb1c
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov edx, eax
or edx, edi
and eax, edi
and edx, dword [esi + 0x10]
or edx, eax
mov eax, ecx
shl eax, 5
shr ecx, 0x1b
or eax, ecx
add edx, eax
mov eax, edi
shr eax, 2
add edx, dword [esi + 0x24]
shl edi, 0x1e
add edx, 0x5a837999
or eax, edi
add dword [esi + 0x20], edx
mov dword [esi + 0x38], eax
call fcn.0041e890
mov edi, dword [esi + 0x28]
mov ecx, dword [esi + 8]
xor ecx, dword [esi + 0x38]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
xor ecx, edi
mov edx, eax
shl edx, 5
shr eax, 0x1b
or edx, eax
mov eax, edi
shr eax, 2
add ecx, edx
shl edi, 0x1e
add ecx, dword [esi + 0x24]
add ecx, 0x5a837999
or eax, edi
pop edi
add dword [esi + 0x10], ecx
mov dword [esi + 0x28], eax
mov eax, esi
pop esi
ret

Function at 0x41f1c0
Capabilities:
Resolve function by hash

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x1c]
push edi
push 0xec0e4e8e
call fcn.0041eeb0
mov ecx, dword [esi + 0x14]
push edi
push 0xffd97fb
mov dword [ecx], eax
call fcn.0041eeb0
mov ecx, dword [esi + 0x14]
push edi
push 0x7c0017a5
mov dword [ecx + 4], eax
call fcn.0041eeb0
mov ecx, dword [esi + 0x14]
push edi
push 0x4dc9d5a0
mov dword [ecx + 8], eax
call fcn.0041eeb0
mov ecx, dword [esi + 0x14]
lea edx, [esp + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x419a44]
mov edi, dword [0x419a48]
mov ecx, 0x419a44
push edx
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov dword [edx + 4], edi
mov cl, byte [ecx + 0xc]
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
mov ecx, esi
call fcn.0041f0d0
mov ecx, dword [esi + 0x14]
lea eax, [esp + 8]
push eax
mov edx, dword [ecx]
mov dword [0x419a10], edx
call fcn.0041ef10
mov dword [esi], eax
test eax, eax
je 0x41f28d
push eax
push 0xa84aeb81
call fcn.0041eeb0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esi]
push eax
push 0xfcba95ab
call fcn.0041eeb0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [esi]
push edx
push 0x35e273e6
call fcn.0041eeb0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x41fc46
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a220
push 0x420048
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x2c], 0x3459fe
mov dword [ebp - 0x28], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xd8
call fcn.0041ff30
add esp, 4
test eax, eax
je 0x41fc91
mov ecx, eax
call fcn.0041fbb0
mov dword [ebp - 0x1c], eax
jmp 0x41fc98
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xb8
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.0041fb10
test eax, eax
je 0x41fcd2
cmp dword [ebp - 0x1c], 0
je 0x41fcc8
mov ecx, dword [ebp - 0x1c]
call fcn.0041fc20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041ff40
add esp, 4
mov eax, 0x2a
jmp 0x41fdfe
wait
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.0041f120
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0
mov eax, dword fs:[0x20]
je 0x41fd01
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0041f2a0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc4], 0
je 0x41fd44
mov esi, eax
test esi, esi
je 0x41fd32
mov ecx, esi
call fcn.0041fc20
push esi
call fcn.0041ff40
add esp, 4
mov eax, 0x926
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x41fdfe
mov ecx, dword [ebp - 0x20]
call fcn.0041f550
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x2c], 0
jne 0x41fd8c
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd0], 0
je 0x41fd86
mov esi, eax
test esi, esi
je 0x41fd77
mov ecx, esi
call fcn.0041fc20
push esi
call fcn.0041ff40
add esp, 4
mov eax, 0xc3
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x41fdfe
mov eax, dword ds:[0]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041ed00
mov ecx, dword [ebp - 0x20]
call fcn.0041f6b0
xor dword [ebp - 0x24], eax
wait
jmp 0x41fdcd
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x41fdee
mov ecx, dword [ebp - 0x1c]
call fcn.0041fc20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041ff40
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x41fdfb
mov dword [ebp - 0x24], 0x4e6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4207c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ecx, dword [esp + 0xc]
push ebp
mov eax, ecx
push edi
sub eax, 0x80
je 0x4207ef
sub eax, 0x40
je 0x4207e8
sub eax, 0x40
je 0x4207e1
pop edi
mov eax, 0xfffffffe
pop ebp
ret
mov edi, 8
jmp 0x4207f4
mov edi, 6
jmp 0x4207f4
mov edi, 4
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x4207fe
mov eax, ecx
sub eax, 0x80
je 0x420825
sub eax, 0x40
je 0x42081e
sub eax, 0x40
je 0x420817
pop edi
mov eax, 0xfffffffd
pop ebp
ret
mov ebp, 0xe
jmp 0x42082a
mov ebp, 0xc
jmp 0x42082a
mov ebp, 0xa
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebx
push esi
call fcn.004208c0
add esp, 0xc
cmp ebp, 1
jle 0x420887
lea eax, [ebp - 1]
add ebx, 0x20
mov dword [esp + 0x1c], eax
push edi
push 0x419cf8
push esi
call fcn.004209a0
push edi
push 0
push esi
call fcn.00420910
push edi
push esi
call fcn.004209e0
push edi
push ebx
push esi
call fcn.004208c0
mov eax, dword [esp + 0x48]
add esp, 0x2c
add ebx, 0x20
dec eax
mov dword [esp + 0x1c], eax
jne 0x42084e
mov ebx, dword [esp + 0x20]
push edi
push 0x419cf8
push esi
call fcn.004209a0
push edi
push 0
push esi
call fcn.00420910
shl ebp, 5
add ebp, ebx
push edi
push ebp
push esi
call fcn.004208c0
add esp, 0x24
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x4208c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov ebp, edx
mov dword [esp + 0x1c], 4
test edi, edi
jle 0x4208f3
mov ecx, dword [esp + 0x18]
mov eax, ebp
sub ecx, edx
mov esi, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x4208ea
mov eax, dword [esp + 0x1c]
add ebp, 8
dec eax
mov dword [esp + 0x1c], eax
jne 0x4208dc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x47b820
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47000]
push edi
or ebp, 0xffffffff
jmp 0x47b842
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47b849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b838
mov eax, 1
add ebx, ebx
jne 0x47b85b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47b86c
jne 0x47b88b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b88b
dec eax
add ebx, ebx
jne 0x47b878
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47b850
add ebx, ebx
jne 0x47b887
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47b8dd
xor ecx, ecx
sub eax, 3
jb 0x47b8a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47b912
sar eax, 1
mov ebp, eax
jmp 0x47b8ae
add ebx, ebx
jne 0x47b8ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b87c
inc ecx
add ebx, ebx
jne 0x47b8bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b87c
add ebx, ebx
jne 0x47b8c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47b8be
jne 0x47b8da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47b8be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47b8fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47b8ee
jmp 0x47b83e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47b8fc
add edi, ecx
jmp 0x47b83e
pop esi
mov edi, esi
mov ecx, 0xfc4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47b91a
cmp byte [edi], 7
jne 0x47b91a
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 0x47b91f
lea edi, [esi + 0x79000]
mov eax, dword [edi]
or eax, eax
je 0x47b98e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7b000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7b06c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47b94c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7b074]
or eax, eax
je 0x47b988
mov dword [ebx], eax
add ebx, 4
jmp 0x47b969
call dword [esi + 0x7b070]
mov ebp, dword [esi + 0x7b078]
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 0x47b9c2
sub esp, 0xffffff80
jmp 0x40b2e8
Function at 0x561d74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
push edi
push esi
and eax, 0xffff0000
mov dword [ebp - 0x50], eax
mov ecx, 0x8000
add eax, 0xaf631837
xor ebx, eax
add bx, ax
rol ebx, 7
loop 0x561d8d
push dword [ebp + 8]
pop edx
add edx, 0xe000
mov ebx, 0xe000
mov eax, 0xe000
mov edi, 0xcc0b57f
sub eax, 4
sub edx, 4
mov ecx, dword [edx]
add ecx, eax
add edi, 0xf9907bec
sub ecx, edi
add edi, 0xdd2c4e65
xor ecx, edi
add ecx, 0x25a03912
sub ecx, eax
not ecx
add ecx, eax
bswap ecx
sub ecx, edi
add edi, 0xfbc0a8e7
not ecx
xor ecx, eax
add ecx, edi
add ecx, eax
rol ecx, 0x31
sub edi, 0x2296c96f
add ecx, eax
neg ecx
add ecx, 0x2ef60013
sub ecx, eax
xor ecx, 0xa558f6d8
xor ecx, eax
mov dword [edx], ecx
test eax, eax
jne 0x561db5
call fcn.005621a2
push 0
push 0x6c6c642e
push 0x32336c65
push 0x6e72656b
push esp
mov eax, dword [ebp + 0x10]
call dword [eax]
add esp, 0x10
mov edi, eax
push eax
push ebp
push esi
push edi
push ebx
call 0x561e3f
add dword [esp], 0x17
xor eax, eax
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [pe_dos_header]
jmp 0x562198
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
leave
ret 0xc