joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ecf0
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push 8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.00421b46
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x41ed2d
push 0
call fcn.0042986d
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x41ed2f
xor ebx, ebx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x41ed88
push edi
mov edi, dword [ebp + 0xc]
nop word [eax + eax]
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41ed80
push 0
call fcn.0042986d
sub eax, dword [ebx]
add esp, 4
mov ecx, dword [ebp - 0xc]
imul eax, eax, 0x3e8
cmp eax, dword [ecx + 0x24]
ja 0x41ed77
add edi, dword [ebp - 8]
sub esi, dword [ebp - 8]
jne 0x41ed40
jmp 0x41ed87
mov dword [ebp - 4], 0xfffffffe
jmp 0x41ed87
mov dword [ebp - 4], 0xffffffff
pop edi
push 8
push ebx
call fcn.00421b76
mov eax, dword [ebp - 4]
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41f0a0
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d0c5
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x458ac8]
test al, al
jne 0x41f274
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41f272
cmp dword [ebp - 0x198], 5
ja 0x41f10f
cmp dword [ebp - 0x194], 1
jbe 0x41f272
lea eax, [ebp - 0x28]
push eax
call fcn.0041ee70
add esp, 4
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
cmovae esi, dword [ebp - 0x28]
call fcn.00404130
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.004042f0
test eax, eax
jne 0x41f25e
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
mov edi, eax
call fcn.004042e0
test edi, edi
je 0x41f26a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SGTInitialize
push edi
call esi
push str.SGTUninitialize
push edi
mov dword [0x458a88], eax
call esi
push str.SGTInitParams
push edi
mov dword [0x458a8c], eax
call esi
push str.SGTCreateTask
push edi
mov dword [0x458a90], eax
call esi
push str.SGTResumeTask
push edi
mov dword [0x458a94], eax
call esi
push str.SGTPauseTask
push edi
mov dword [0x458a98], eax
call esi
push str.SGTSetTaskUploadLimit
push edi
mov dword [0x458a9c], eax
call esi
push str.SGTSetTaskDownloadLimit
push edi
mov dword [0x458aa0], eax
call esi
push str.SGTReady
push edi
mov dword [0x458aa4], eax
call esi
push str.SGTIsMemoryTask
push edi
mov dword [0x458aa8], eax
call esi
push str.SGTProgress
push edi
mov dword [0x458aac], eax
call esi
push str.SGTGetTaskStatus
push edi
mov dword [0x458ab0], eax
call esi
push str.SGTGetFileContent
push edi
mov dword [0x458ab4], eax
call esi
push str.SGTGetFilePath
push edi
mov dword [0x458ab8], eax
call esi
push str.SGTRemoveTask
push edi
mov dword [0x458abc], eax
call esi
push str.SetCRTExceptionHandler
push edi
mov dword [0x458ac0], eax
call esi
mov dword [0x458ac4], eax
test eax, eax
je 0x41f248
push 0x412e60
call eax
lea ecx, [ebp - 0x28]
mov byte [0x458ac8], 1
call fcn.004054f0
mov al, byte [0x458ac8]
jmp 0x41f274
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.004042e0
lea ecx, [ebp - 0x28]
call fcn.004054f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421dd5
mov esp, ebp
pop ebp
ret
Function at 0x41fcb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x458acc]
test eax, eax
jne 0x41fd4f
push esi
push 0x30
call fcn.00421b46
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x41fd0f
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x18], eax
mov byte [esi + 0x2c], 0
mov dword [esi + 0x1c], 0
jmp 0x41fd11
xor esi, esi
cmp byte [esi + 0x2c], 0
mov dword [0x458acc], esi
jne 0x41fd4c
push 0
push 0
push esi
push 0x41ffc0
push 0
push 0
mov byte [esi + 0x2c], 1
call fcn.00425ba1
add esp, 0x18
mov dword [esi + 0x1c], eax
test eax, eax
mov eax, dword [0x458acc]
jne 0x41fd4e
mov byte [esi + 0x2c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41fee0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x41ff11
push 0
push 0
push esi
push 0x41ffc0
push 0
push 0
mov byte [esi + 0x2c], 1
call fcn.00425ba1
add esp, 0x18
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x41ff11
mov byte [esi + 0x2c], al
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x422ac2
Capabilities:
Parse pe header

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

Function at 0x42de53
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x442f88
push 0x442f80
push str.FlsAlloc
push 0x1f
call fcn.0042dd4e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42de87
push dword [ebp + 8]
mov ecx, esi
call dword [0x43e298]
call esi
jmp 0x42de8d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42ded1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x442f98
push 0x442f90
push str.FlsGetValue
push 0x21
call fcn.0042dd4e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42df08
push dword [ebp + 8]
mov ecx, esi
call dword [0x43e298]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42df10
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x442fa0
push 0x442f98
push str.FlsSetValue
push 0x22
call fcn.0042dd4e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42df4a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43e298]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x430041
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x459640]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x430081
cmp byte [ebx], 0xa
jne 0x430081
or byte [edi + eax + 0x28], 4
jmp 0x430086
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x430185
mov dl, byte [eax]
cmp dl, 0x1a
je 0x430168
inc eax
cmp dl, 0xd
je 0x4300b2
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4300d8
cmp eax, ecx
jae 0x4300e6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x43009a
jmp 0x430185
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430163
cmp dword [ebp - 0x10], 0
je 0x430163
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x459640]
test byte [eax + edi + 0x28], 0x48
je 0x43013d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x430128
mov byte [esi], dl
jmp 0x430139
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x459640]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x430185
cmp byte [ebp - 1], 0xa
jne 0x43014c
cmp esi, ebx
jne 0x43014c
mov byte [esi], 0xa
jmp 0x430184
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00432ef4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x430185
mov byte [esi], 0xd
jmp 0x430184
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x459640]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x430182
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x430185
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43018e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x459640]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4301d4
cmp word [ebx], dx
jne 0x4301d4
or byte [eax + edi + 0x28], 4
jmp 0x4301d9
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x43033c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x43031c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x43021a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x430250
cmp eax, edx
jae 0x43025e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4301f5
jmp 0x43033c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430317
cmp dword [ebp - 0x18], 0
je 0x430317
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x459640]
test byte [eax + edi + 0x28], 0x48
je 0x4302ed
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4302b1
mov word [esi], cx
jmp 0x4302e8
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x459640]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x459640]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x459640]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x43033c
pop eax
cmp word [ebp - 4], ax
jne 0x4302fd
cmp esi, ebx
jne 0x4302fd
mov word [esi], ax
jmp 0x430339
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00432ef4
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x43033c
push 0xd
pop eax
jmp 0x4302f8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x459640]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x430336
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x43033c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x435a04
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x45604c]
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 0x435a4f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00435b9f
test al, al
jne 0x435a49
sub edx, 2
cmp edx, edi
jne 0x435a2f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x435a71
lea eax, [edi + 2]
cmp edx, eax
je 0x435a71
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00435950
add esp, 0x10
jmp 0x435b6b
push esi
lea ecx, [ebp - 0x255]
call fcn.00435b9f
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 0x435ab4
push dword [ebp - 0x25c]
jmp 0x435a61
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 0x435af1
cmp word [ebp - 0x226], 0
je 0x435b12
cmp word [ebp - 0x226], ax
jne 0x435af1
cmp word [ebp - 0x224], 0
je 0x435b12
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00435950
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x435b5e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x435acb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x435b46
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x435b6b
push 0x435780
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042b890
add esp, 0x10
jmp 0x435b3b
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.00421dd5
leave
ret
Function at 0x438d0b
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00438c87
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x438e7a
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x438e7a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x438e2f
jg 0x438d67
test eax, eax
je 0x438e25
push 1
push 0x1000
call fcn.0042dbb8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x438d8a
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x438e1c
push 0x8000
push ebx
call fcn.0042d478
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x438db3
jg 0x438dae
cmp ecx, 0x1000
jb 0x438db3
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00437c43
add esp, 0x10
cmp eax, 0xffffffff
je 0x438df8
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x438dae
jl 0x438ddf
test ecx, ecx
jne 0x438da0
push dword [ebp - 0xc]
push ebx
call fcn.0042d478
push esi
call fcn.0042dc15
add esp, 0xc
xor ebx, ebx
jmp 0x438e88
cmp byte [edi + 0x24], 0
je 0x438e0f
cmp dword [edi + 0x20], 5
jne 0x438e0f
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x438e1a
mov ebx, dword [edi + 0x18]
jmp 0x438e1c
xor ebx, ebx
push esi
call fcn.0042dc15
pop ecx
jmp 0x438e88
test ecx, ecx
jg 0x438df1
jl 0x438e2f
test eax, eax
jae 0x438df1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00432ef4
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x438e4f
cmp byte [edi + 0x1c], 0
je 0x438df1
jmp 0x438e80
push ebx
call fcn.0043342c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x438df1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x438e88
cmp byte [edi + 0x1c], 0
je 0x438e85
mov ebx, dword [edi + 0x18]
jmp 0x438e88
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00432ef4
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439db0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00439fc0
add esp, 0xc
test eax, eax
js 0x439fb7
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x439e30
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x439df0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x439fb2
lea esi, [ebp + 4]
movzx eax, byte [esi + 0xd]
lea esi, [esi + 0x10]
mov edx, dword [esi - 4]
inc edi
movzx ecx, byte [eax*4 + 0x448870]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x449c70]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449470]
movzx eax, byte [esi - 2]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449870]
movzx eax, dl
mov edx, dword [esi]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x44a070]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi - 4], ecx
movzx ecx, byte [eax*4 + 0x448870]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x449870]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449c70]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449470]
movzx eax, dl
mov edx, dword [esi + 4]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x44a070]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi], ecx
movzx ecx, byte [eax*4 + 0x448870]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x449870]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449c70]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449470]
movzx eax, dl
mov edx, dword [esi + 8]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x44a070]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 4], ecx
movzx ecx, byte [eax*4 + 0x448870]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x449870]
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449c70]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x449470]
movzx eax, dl
movzx eax, byte [eax*4 + 0x448870]
xor ecx, dword [eax*4 + 0x44a070]
mov dword [esi + 8], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x439e44
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x43ad30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43ad5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43ad5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x59184eb7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x23b41714
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4015b0
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x4015d0
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret