joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b680
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x42b697
test eax, eax
je 0x42b697
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x42b6a5
mov ecx, dword [0x4be484]
test ecx, ecx
jne 0x42b6e1
cmp dword [0x4be47c], 0
je 0x42b691
mov esi, dword [0x4be480]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x42b6eb
test esi, esi
je 0x42b691
mov ecx, dword [0x4be47c]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x42b691
call dword [section..00cfg]
call ecx
jmp 0x42b6a5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42b6c9

Function at 0x42e030
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4b6014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x42e060
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x42e150
push 0
push eax
push 0x42e010
push 0x4c0568
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x42e13f
cmp dword [0x4c056c], 0
jne 0x42e04c
push dword [0x4c0570]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42e04c
mov esi, eax
mov eax, 0x4c0574
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov ebx, dword [0x4c0578]
mov edi, dword [0x4c057c]
mov eax, dword [0x4c0580]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4c0584]
mov dword [ebp - 0x1c], eax
mov eax, 0x4c0574
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test ebx, ebx
je 0x42e0ec
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov ecx, ebx
call dword [section..00cfg]
push dword [ebp - 0x20]
call ebx
add esp, 4
test edi, edi
je 0x42e101
mov ebx, dword [esi + 4]
mov ecx, edi
call dword [section..00cfg]
push ebx
call edi
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x42e119
mov edi, dword [esi + 8]
mov ecx, dword [ebp - 0x18]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x42e131
mov edi, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
push esi
call fcn.0044bd40
add esp, 4
jmp 0x42e04c
call fcn.0045c710
int3
Function at 0x437790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x4377cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4377e2
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4377c4
mov dword [esi], ebx
call fcn.0043a0f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x4377f9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0043a0f0
push dword [esi]
call fcn.0043bf60
add esp, 4
mov dword [esi], 0
jmp 0x4377b5
int3

Function at 0x43a100
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4bb564]
mov ecx, dword [0x4b9b2c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43a151
mov eax, dword [0x4bb560]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4bb564
call fcn.0044c137
add esp, 4
cmp dword [0x4bb564], 0xffffffff
jne 0x43a133
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.00450040
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x58
call fcn.0044c095
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x4bb594]
mov ecx, dword [0x4b9b2c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x43a21d
push 0x4bb594
call fcn.0044c137
add esp, 4
cmp dword [0x4bb594], 0xffffffff
jne 0x43a21d
xorps xmm0, xmm0
movups xmmword [0x4bb580], xmm0
movups xmmword [0x4bb570], xmm0
mov dword [0x4bb590], 0
push 0x4bb570
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4bb594
call fcn.0044c1ad
add esp, 4
mov ecx, esi
push ebx
push 0x4bb570
push edi
call fcn.00420750
mov dword [0x4bb560], esi
push 0x4bb564
call fcn.0044c1ad
add esp, 4
jmp 0x43a133
Function at 0x43e620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.0044d220
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4b898c]
cmp eax, 0xffffffff
je 0x43e652
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
jne 0x43e667
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.0044f540
add esp, 0xc
mov ecx, dword [0x4b898c]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.0042a4f0
add esp, 8
test ebx, ebx
je 0x43e6a8
push ebx
call fcn.0044c0fc
add esp, 4
mov eax, dword [0x4bd8b4]
mov ecx, dword [0x4b9b2c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43e795
mov esi, dword [0x4bd8b0]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x43e7da
lea eax, [ebp - 0x1410]
push 0xc00
push 0x4bccb0
push eax
call fcn.0044f540
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x100
lea edx, [ebp - 0x1408]
test al, 1
je 0x43e780
mov dword [ebp - 0x1418], ecx
xor esi, esi
mov edi, edx
xor eax, eax
jmp 0x43e72e
add esi, 1
add edi, 0xc
cmp esi, 0x100
je 0x43e772
mov ebx, dword [ebp + esi*8 - 0x810]
test ebx, ebx
je 0x43e720
cmp dword [edi - 8], 0
je 0x43e720
mov ecx, dword [ebp + esi*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x43e720
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x43e720
mov dword [ebp + esi*8 - 0x810], 0
call dword [section..00cfg]
push ebx
call ecx
lea edx, [ebp - 0x1408]
add esp, 4
mov al, 1
jmp 0x43e720
mov esi, dword [ebp - 0x1418]
lea ecx, [esi - 1]
cmp esi, 2
jae 0x43e70b
push 2
push dword [ebp - 0x1414]
call fcn.0042a4f0
add esp, 8
jmp 0x43e652
push 0x4bd8b4
call fcn.0044c137
add esp, 4
cmp dword [0x4bd8b4], 0xffffffff
jne 0x43e6c9
push 4
call fcn.0044c095
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.0043a020
mov dword [0x4bd8b0], esi
push 0x4bd8b4
call fcn.0044c1ad
add esp, 4
jmp 0x43e6c9
mov ecx, esi
call fcn.0043a030
jmp 0x43e6de
Function at 0x43f4d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
movzx eax, byte [ecx + 0x27]
test al, al
js 0x43f58c
test eax, eax
jne 0x43f581
cmp dword [esi + 0x28], 0
jne 0x43f581
mov byte [esi + 0x2c], 0
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
cmp eax, dword [esi + 0xc]
je 0x43f5b6
lea edi, [esi + 0x10]
mov ebx, 0x80001b
lea ecx, [eax + 1]
mov dword [esi + 8], ecx
movsx eax, byte [eax]
mov ecx, edi
push 0
push eax
call fcn.004335b0
cmp eax, 0xffffffff
jne 0x43f5a7
cmp dword [esi + 0x30], 1
je 0x43f594
mov eax, dword [esi + 8]
mov bl, 1
cmp eax, dword [esi + 0xc]
je 0x43f5bc
nop dword [eax]
movsx eax, byte [eax]
mov ecx, edi
push 0
push eax
call fcn.004335b0
cmp eax, 0xffffffff
jne 0x43f5bc
mov eax, dword [esi + 8]
cmp dword [esi + 0x30], 1
je 0x43f568
add eax, 1
mov dword [esi + 8], eax
cmp eax, dword [esi + 0xc]
jne 0x43f540
jmp 0x43f5bc
mov cl, byte [eax]
add cl, 0xf7
cmp cl, 0x17
ja 0x43f55b
movzx ecx, cl
mov edx, 0x80001b
bt edx, ecx
jae 0x43f55b
jmp 0x43f5bc
mov ecx, esi
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00492fc0
mov eax, dword [esi + 0x20]
jmp 0x43f4e4
mov eax, dword [esi + 4]
mov al, byte [eax]
add al, 0xf7
cmp al, 0x17
ja 0x43f52f
movzx eax, al
bt ebx, eax
jae 0x43f52f
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
cmp eax, dword [esi + 0xc]
jne 0x43f511
mov byte [esi + 0x2c], 1
xor ebx, ebx
mov eax, ebx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x443e00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4be450]
mov ecx, dword [0x4b9b2c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x443e2b
mov ecx, 0x4be448
pop ebp
jmp fcn.0043e7f0
push 0x4be450
call fcn.0044c137
add esp, 4
cmp dword [0x4be450], 0xffffffff
jne 0x443e20
xor eax, eax
mov dword [0x4be44c], eax
mov dword [0x4be448], eax
mov ecx, 0x4be448
push eax
call fcn.00425420
push 0x4be450
call fcn.0044c1ad
add esp, 4
jmp 0x443e20

Function at 0x444810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x44488e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x444877
lea eax, [edi + 1]
cmp eax, 2
jb 0x44485b
mov dword [esi], edi
call fcn.0043a0f0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
inc eax
cmp eax, 1
jbe 0x444892
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.0043a0f0
push dword [esi]
call fcn.0043bf60
add esp, 4
mov dword [esi], 0
jmp 0x44484c
mov byte [esi + 4], 1
int3
Function at 0x46a1b7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046a400

Function at 0x46cd20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046cd2b
Function at 0x473c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x412c10
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
call fcn.0045b1e5
mov ecx, eax
call dword [section..00cfg]
mov dword [esi + 8], 1
call ecx
push 2
call fcn.00450c4f
add esp, 4
push eax
push 1
push 0x28
push str.terminate_handler_unexpectedly_returned_n
call fcn.0045f836
add esp, 0x10
call fcn.0045c710
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0044dc40
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
push 2
call fcn.00450c4f
add esp, 4
push eax
push 1
push 0x32
push str.terminate_handler_unexpectedly_threw_an_exception_n
call fcn.0045f836
add esp, 0x10
call fcn.0045c710
int3

Function at 0x473cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x412c10
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
call fcn.0045b1e5
mov ecx, eax
call dword [section..00cfg]
mov dword [esi + 8], 1
call ecx
push 2
call fcn.00450c4f
add esp, 4
push eax
push 1
push 0x28
push str.terminate_handler_unexpectedly_returned_n
call fcn.0045f836
add esp, 0x10
call fcn.0045c710
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0044dc40
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
push 2
call fcn.00450c4f
add esp, 4
push eax
push 1
push 0x32
push str.terminate_handler_unexpectedly_threw_an_exception_n
call fcn.0045f836
add esp, 0x10
call fcn.0045c710
int3

Function at 0x474880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x20], ecx
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
xor eax, eax
dec eax
mov dword [ecx - 4], eax
mov dword [ecx - 8], eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0xffffffff
mov ebx, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
call esi
mov ebx, eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.0045f836
add esp, 0x10
cmp eax, esi
jne 0x474915
cmp ebx, 1
je 0x4748a5
cmp ebx, 2
mov esi, 0xffffffff
je 0x474918
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.0045f4ee
add esp, 4
neg eax
sbb esi, esi
jmp 0x474918
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x474930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x47495b
push dword [ecx + 0x20]
push edi
push 1
push eax
call fcn.0045f836
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
test edi, edi
jle 0x474996
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, dword [ebp - 0x10]
movzx eax, byte [eax + edi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x14]
call ebx
cmp eax, 0xffffffff
je 0x474998
inc edi
mov edx, dword [ebp + 0xc]
cmp edx, edi
mov eax, dword [ebp + 8]
jne 0x474967
mov edi, edx
jmp 0x474998
xor edi, edi
mov eax, edi
add esp, 8
jmp 0x474954

Function at 0x4749a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
cmp ebx, edi
je 0x4749e6
mov byte [ebp - 0x19], bl
cmp byte [ecx + 0x2c], 0
je 0x474a00
xor esi, esi
inc esi
lea eax, [ebp - 0x19]
push dword [ecx + 0x20]
push esi
push esi
push eax
call fcn.0045f836
add esp, 0x10
cmp eax, esi
je 0x4749e8
jmp 0x4749ea
xor ebx, ebx
mov edi, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x19]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0xffffffff
mov esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x2c]
call ebx
cmp dword [ebp - 0x24], edi
je 0x474aa1
mov ebx, eax
cmp eax, 3
je 0x474a89
cmp ebx, 1
ja 0x474aa1
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
sub esi, ecx
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push 1
push ecx
call fcn.0045f836
add esp, 0x10
cmp eax, esi
jne 0x474aa1
mov edi, dword [ebp - 0x24]
cmp ebx, 1
mov ecx, dword [ebp - 0x28]
je 0x474a0e
mov ebx, dword [ebp + 8]
jmp 0x4749e8
xor esi, esi
inc esi
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push esi
push edi
call fcn.0045f836
add esp, 0x10
cmp eax, esi
je 0x474a81
xor edi, edi
dec edi
jmp 0x4749ea
Function at 0x474b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x474b2b
push dword [ecx + 0x20]
push edi
push 2
push eax
call fcn.0045f836
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
test edi, edi
jle 0x474b67
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, dword [ebp - 0x10]
movzx eax, word [eax + edi*2]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x14]
call ebx
cmp ax, 0xffff
je 0x474b69
inc edi
mov edx, dword [ebp + 0xc]
cmp edx, edi
mov eax, dword [ebp + 8]
jne 0x474b37
mov edi, edx
jmp 0x474b69
xor edi, edi
mov eax, edi
add esp, 8
jmp 0x474b24

Function at 0x474b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
movzx esi, word [ebp + 8]
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
cmp si, 0xffff
je 0x474bbd
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x474bd5
lea eax, [ebp - 0x1a]
push dword [ecx + 0x20]
push 1
push 2
push eax
call fcn.0045f836
add esp, 0x10
cmp eax, 1
je 0x474bbf
xor esi, esi
dec esi
jmp 0x474bbf
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x1a]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0xffffffff
mov esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x2c]
call ebx
cmp dword [ebp - 0x24], edi
je 0x474bb8
mov ebx, eax
cmp eax, 3
je 0x474c63
cmp ebx, 1
ja 0x474bb8
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
sub esi, ecx
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push 1
push ecx
call fcn.0045f836
add esp, 0x10
cmp eax, esi
jne 0x474bb8
mov edi, dword [ebp - 0x24]
cmp ebx, 1
mov ecx, dword [ebp - 0x28]
je 0x474be3
movzx esi, word [ebp + 8]
jmp 0x474bbf
xor esi, esi
inc esi
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push esi
push edi
call fcn.0045f836
add esp, 0x10
cmp eax, esi
jne 0x474bb8
jmp 0x474c5a
Function at 0x488580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 8
call fcn.0044c095
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4885d0
push ecx
push ecx
call fcn.00458220
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4885bf
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x489ed0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x489f42
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x489f46
cmp byte [ebp + 0xc], 0
je 0x489f22
cmp byte [esi + 4], 0
je 0x489f97
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
push edi
call fcn.0041e110
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
jmp 0x489ef4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x489f6c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x489f70
xor ebx, ebx
jmp 0x489f2c
mov eax, dword [esi]
jmp 0x489f58
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x489f9e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x489f22
mov edi, dword [ebp - 0x14]
jmp 0x489f22
mov eax, dword [esi]
jmp 0x489f16
mov eax, dword [esi]
jmp 0x489f83

Function at 0x48ec50
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x48ec65
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, edx
cmp edx, 4
jb 0x48ec92
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x48ec6c
cmp edx, 1
je 0x48ecb3
cmp edx, 2
je 0x48ecaa
cmp edx, 3
jne 0x48ecbe
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4
Function at 0x493370
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
test bl, bl
jns 0x49338c
mov ebx, dword [esi + 4]
mov esi, dword [esi]
mov eax, ebx
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 4
jb 0x4933c7
mov eax, dword [ebp - 0x14]
mov edx, eax
mov ecx, esi
imul ebx, dword [ecx], 0x5bd1e995
mov edi, ebx
shr edi, 0x18
xor edi, ebx
imul edi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4933a1
cmp edx, 1
je 0x4933e8
cmp edx, 2
je 0x4933df
cmp edx, 3
jne 0x4933f3
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x49351c
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, 0x33333333
mov ecx, ebx
mov ebx, eax
and ebx, edx
shr eax, 2
and eax, edx
add eax, ebx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp eax, 1
ja 0x493505
lea edx, [ecx - 1]
and edx, edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x49351a
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax]
test ebx, ebx
mov ecx, 0
je 0x49351c
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x4934c6
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x49349e
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x4934d4
lea edx, [ebx + 8]
mov ecx, dword [edx]
test al, al
cmovs edx, ecx
js 0x4934eb
test eax, eax
je 0x493501
dec eax
xor edx, edx
cmp cl, byte [esi + edx]
jne 0x4934d4
cmp eax, edx
je 0x493501
mov cl, byte [ebx + edx + 9]
inc edx
jmp 0x4934b6
cmp dword [ebp - 0x20], 1
ja 0x4934dc
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jne 0x49351a
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49348a
jmp 0x49351a
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x4934cf
xor edx, edx
div ecx
mov eax, edx
jmp 0x4934cf
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x493501
push eax
push esi
push edx
call fcn.0044e58d
add esp, 0xc
test eax, eax
jne 0x4934d4
mov ecx, ebx
jmp 0x49351c
mov edx, edi
cmp edi, ecx
jb 0x49345e
mov eax, edi
xor edx, edx
div ecx
jmp 0x49345e
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8