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

Disassembly:
push esi
mov eax, dword [0x45e03c]
test eax, eax
je 0x41f358
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x41f2e6
cmp dword [eax + 4], 0
je 0x41f2e6
add eax, 8
pop esi
ret
mov eax, dword [0x45e03c]
test eax, eax
je 0x41f367
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x41f354
mov esi, eax
test eax, eax
jne 0x41f33d
movzx eax, byte [0x45eaa8]
mov ecx, 0x10
mov edx, 4
call fcn.00437a70
test eax, eax
je 0x41f382
mov dword [eax], 0x45e03c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45e03c]
test eax, eax
je 0x41f376
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
ret
xor eax, eax
pop esi
ret
mov ecx, 0x45e03c
call fcn.00447c10
jmp 0x41f2cf
mov ecx, 0x45e03c
call fcn.00447c10
jmp 0x41f2f0
mov ecx, 0x45e03c
call fcn.00447c10
jmp 0x41f335
mov ecx, 4
mov edx, 0x10
call fcn.00446f00
ud2
Function at 0x421200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x440
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x437d90
mov dword [ebp - 0x28], ecx
mov esi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x30], 0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
cmp esi, 0x201
jae 0x421290
jmp 0x42127e
jbe 0x42131c
cmp esi, 0x201
jae 0x421290
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x44c]
mov edi, esi
jmp 0x4212cb
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x4212bc
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x3c]
mov edx, edi
push esi
call fcn.00447ea0
add esp, 4
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], edi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x4212eb
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x421354
cmp esi, edi
jne 0x421270
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42138f
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x42127e
jmp 0x421290
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0
cmp esi, edx
ja 0x4213af
lea ecx, [ebp - 0x4c]
mov edx, ebx
push esi
call fcn.00421a50
add esp, 4
movsd xmm0, qword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x44]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x421367
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp - 0x28]
mov byte [ecx], 0
mov dword [ecx + 4], eax
mov byte [ecx + 0xc], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42137b
mov ecx, dword [ebp - 0x24]
mov edx, 2
call fcn.00437ad0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x440
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, str.internal_error:_entered_unreachable_code
mov edx, 0x28
push 0x45477c
call fcn.004471a0
add esp, 4
jmp 0x4213be
mov ecx, esi
push 0x45476c
call fcn.00447130
add esp, 4
ud2
Function at 0x429620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x45e06c]
test eax, eax
je 0x4296d8
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x42964c
cmp dword [eax + 4], 0
mov edi, eax
je 0x42964c
add edi, 8
jmp 0x4296d3
mov eax, dword [0x45e06c]
test eax, eax
je 0x4296e7
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4296d1
mov esi, eax
test eax, eax
jne 0x4296a7
movzx eax, byte [0x45eaa8]
mov ecx, 0xc
mov edx, 4
call fcn.00437a70
test eax, eax
je 0x429702
mov dword [eax], 0x45e06c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x45e06c]
test eax, eax
je 0x4296f6
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x4296d3
test ecx, ecx
je 0x4296d3
lock dec dword [ecx]
jne 0x4296d3
call fcn.00429720
jmp 0x4296d3
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x45e06c
call fcn.00447c10
jmp 0x429630
mov ecx, 0x45e06c
call fcn.00447c10
jmp 0x42965a
mov ecx, 0x45e06c
call fcn.00447c10
jmp 0x42969f
mov ecx, 4
mov edx, 0xc
call fcn.00446f00
ud2
Function at 0x4324d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1038
call fcn.00438390
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x437ff0
mov edi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], edx
lea esi, [ebp - 0x1044]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x1000
push 0
push esi
call fcn.00439b50
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push 0x42a020
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x432624
mov ebx, dword [sym.imp.kernel32.dll_SleepEx]
mov dword [ebp - 0x20], edi
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x43255a
cmp dword [ebp - 0x2c], 0
jne 0x432635
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x432635
cmp esi, 0x1000
ja 0x432671
xor edi, edi
nop dword [eax]
mov eax, esi
sub eax, edi
jb 0x432657
xorps xmm0, xmm0
lea edx, [ebp - 0x30]
lea ecx, [ebp + edi - 0x1044]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], edx
push 0x42a020
lea edx, [ebp - 0x44]
push edx
push eax
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_WriteFileEx]
test eax, eax
je 0x43262c
nop dword [eax]
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x4325d0
cmp dword [ebp - 0x2c], 0
jne 0x432632
add edi, dword [ebp - 0x28]
cmp edi, esi
jne 0x432590
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x42a020
lea eax, [ebp - 0x44]
push eax
push 0x1000
lea eax, [ebp - 0x1044]
push eax
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
jne 0x43255a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x432635
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [ebp - 0x20]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x1038
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, edi
mov edx, esi
push 0x45425c
call fcn.00447340
add esp, 4
jmp 0x43268c
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, 0x1000
push 0x45425c
call fcn.00447130
add esp, 4
ud2
Function at 0x432760
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, esp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], esp
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0x438010
lea eax, [esi + 0x40]
xorps xmm0, xmm0
mov ecx, dword fs:[0]
mov dword [esi + 0x40], ecx
mov dword fs:[0], eax
movaps xmmword [esi + 0x10], xmm0
lea eax, [esi + 0x10]
push 0x10
push eax
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x4327c4
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, esi
lea ecx, [esi + 8]
mov dword [esi + 0x20], 0x45436c
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov byte [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 0x48], 0
mov dword [esi + 8], edx
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x20]
mov edx, 0x454398
mov dword [esi + 0xc], fcn.004258e0
mov dword [esi + 0x2c], 1
call fcn.00447020
ud2
Function at 0x4369b0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov ebp, dword [esp + 0x48]
mov ebx, edx
mov edx, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov eax, edx
sub eax, edi
jb 0x436a62
mov esi, ecx
mov ecx, dword [ebp]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x103
lea edx, [esp + 4]
add ecx, edi
push 0
push 0
push eax
push ecx
push edx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x436a10
push 0xffffffffffffffff
push ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, 0xc0000011
je 0x436a28
cmp eax, 0x103
je 0x436a73
test eax, eax
js 0x436a43
mov ecx, dword [esp + 8]
add ecx, edi
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
cmp eax, ecx
cmova ecx, eax
mov dword [ebp + 0xc], ecx
mov byte [esi], 4
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
mov edi, eax
call fcn.00420430
cmp al, 0xb
je 0x436a38
mov dword [esi], 0
mov dword [esi + 4], edi
jmp 0x436a3b
mov ecx, edi
push 0x452158
call fcn.00447050
add esp, 4
ud2
mov eax, esp
mov dword [esp + 0x1c], 0x454024
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ecx
push edx
call fcn.0041d760
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041d890
mov ecx, 7
int 0x29
ud2

Function at 0x436ae0
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov ecx, esp
push dword [esp + 0x28]
call fcn.0041fb40
add esp, 4
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
test ecx, ecx
je 0x436b44
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov edx, esp
push 1
call fcn.00426b40
add esp, 4
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edi, edi
je 0x436b40
push edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x436b4b
mov byte [esi], 4
test ebx, ebx
jne 0x436b5b
jmp 0x436b67
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], eax
jmp 0x436b67
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x436b67
mov ecx, edi
mov edx, 2
call fcn.00437ad0
add esp, 0x18
pop esi
pop edi
pop ebx
ret

Function at 0x4389f9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x438a38
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438a38
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438a38
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x438a38
cmp dword [ecx + 0x74], 0xe
jbe 0x438a38
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x440383
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x440420
push ebx
push esi
call fcn.0044034c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004402e0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4403cd
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44041f
push edi
push eax
call fcn.00440fa0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4403ed
call fcn.0043ee41
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44041e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004402e0
add esp, 0x20
test eax, eax
jne 0x44040c
push edi
call fcn.0043ee41
jmp 0x440414
push ebx
call fcn.0043ee41
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x44171d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x457058
push 0x457050
push 0x455c8c
push 0x1f
call fcn.004415dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x441751
push dword [ebp + 8]
mov ecx, esi
call dword [0x4491e8]
call esi
jmp 0x441757
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44179b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x457068
push 0x457060
push 0x455cb0
push 0x21
call fcn.004415dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4417d2
push dword [ebp + 8]
mov ecx, esi
call dword [0x4491e8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]

Function at 0x4417da
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x457070
push 0x457068
push 0x455cc4
push 0x22
call fcn.004415dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x441814
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4491e8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsSetValue]
Function at 0x446c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x446c9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x446c9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x447c10
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x447c81
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x447cbc
cmp dword [esp + 4], 0
je 0x447ca3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x447cd1
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x45ea5c]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x45ea5c], esi
jne 0x447c60
mov byte [0x45ea58], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x447cb3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x447d14
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x447ca7
mov edi, dword [esp]
jmp 0x447cb3
mov edi, dword [esi]
jmp 0x447cb2
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00447d50
ud2
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x45468c
mov dword [esp + 8], 0x454654
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x454ea4
mov dword [esp + 0x14], 0
call fcn.00447020
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x454654
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x454ea4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00447d90
ud2
Function at 0x5b2000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
mov ebx, edx
mov dword [esp + 0x14], ecx
push edi
mov dword [esp + 0x1c], ebx
mov edi, ecx
xor eax, eax
nop dword [eax]
mov byte [esp + eax + 0xc], al
inc eax
cmp eax, 8
jb 0x5b2020
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
xor eax, ecx
rol ecx, 3
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
xor eax, ecx
rol ecx, 3
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
xor eax, ecx
rol ecx, 3
xor ecx, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
xor edx, edx
nop
mov eax, ecx
and eax, 3
mov eax, dword [esp + eax*4 + 0x20]
add eax, ecx
sub ecx, 0x61c88647
mov dword [esp + edx*4 + 0x30], eax
mov eax, ecx
sar eax, 0xb
and eax, 3
mov eax, dword [esp + eax*4 + 0x20]
add eax, ecx
mov dword [esp + edx*4 + 0xb0], eax
inc edx
cmp edx, 0x20
jl 0x5b2060
cmp edi, ebx
jae 0x5b21f2
lea esi, [esp + 0x30]
nop dword [eax]
mov ebx, dword [esp + 0xc]
xor edi, edi
mov eax, dword [esp + 0x10]
nop word [eax + eax]
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [esi + edi*4]
lea esi, [edx + ebx]
mov edx, esi
mov ecx, esi
shr edx, 5
shl ecx, 4
xor ecx, edx
add ecx, esi
xor ecx, dword [esp + edi*4 + 0xb0]
add ecx, eax
mov edx, ecx
mov eax, ecx
shl eax, 4
shr edx, 5
xor edx, eax
lea eax, [esp + 0x34]
add edx, ecx
xor edx, dword [eax + edi*4]
add edx, esi
mov esi, edx
mov eax, edx
shl eax, 4
shr esi, 5
xor esi, eax
lea eax, [esp + 0xb4]
add esi, edx
xor esi, dword [eax + edi*4]
add esi, ecx
mov ecx, esi
mov eax, esi
shl eax, 4
shr ecx, 5
xor ecx, eax
lea eax, [esp + 0x38]
add ecx, esi
xor ecx, dword [eax + edi*4]
add ecx, edx
mov edx, ecx
mov dword [esp + 0x14], ecx
mov eax, ecx
shr edx, 5
shl eax, 4
xor edx, eax
lea eax, [esp + 0xb8]
add edx, ecx
xor edx, dword [eax + edi*4]
add edx, esi
lea esi, [esp + 0x30]
mov ebx, edx
mov dword [esp + 0x14], edx
shr ebx, 5
mov eax, edx
shl eax, 4
xor ebx, eax
lea eax, [esp + 0x3c]
add ebx, edx
xor ebx, dword [eax + edi*4]
add ebx, ecx
mov eax, ebx
mov ecx, ebx
shr eax, 5
shl ecx, 4
xor eax, ecx
lea ecx, [esp + 0xbc]
add eax, ebx
xor eax, dword [ecx + edi*4]
add edi, 4
add eax, edx
cmp edi, 0x20
jl 0x5b20b0
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov bl, byte [edi]
mov byte [esp + 0xc], ch
mov dl, bl
xor dl, cl
mov dword [esp + 0x10], eax
movzx ecx, byte [esp + 0xe]
cmp byte [ebp + 0x10], 0
mov byte [esp + 0xd], cl
movzx ecx, byte [esp + 0xf]
mov byte [esp + 0xf], al
mov byte [esp + 0x10], ah
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x11], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0xe], cl
mov byte [esp + 0x12], al
movzx ecx, dl
movzx eax, bl
cmovne ecx, eax
mov byte [edi], dl
inc edi
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x1c]
jb 0x5b20a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b2390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 0x3c]
push ebx
push esi
push edi
mov ebx, dword [eax + ecx + 0x78]
xor esi, esi
mov eax, dword [ebx + ecx + 0x24]
add ebx, ecx
mov dword [ebp - 8], edx
add eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
add edx, ecx
add edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0x18], esi
jbe 0x5b2425
nop dword [eax + eax]
movzx eax, word [eax + esi*2]
cmp eax, dword [ebx + 0x14]
jae 0x5b241c
mov edi, dword [edi + esi*4]
mov eax, dword [edx + eax*4]
add edi, ecx
add eax, ecx
mov dword [ebp - 4], eax
xor eax, eax
mov cl, byte [edi]
test cl, cl
je 0x5b2401
mov edx, edi
rol eax, 3
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x5b23f0
push dword [ebp + 8]
push dword [ebp - 4]
push eax
push edi
call dword [ebp - 8]
add esp, 0x10
test al, al
jne 0x5b2425
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x5b23d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b3100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
xor eax, 0xb0ae0391
mov dword [ebp - 0x1c], 0xaa7575b3
mov dword [ebp - 0x18], 0xf0a59521
mov dword [ebp - 0x14], 0x315b1289
mov dword [ebp - 0x10], 0x5985ddca
push esi
push edi
cmp eax, 0xb0ae0390
jne 0x5b331f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0xc0]
mov ecx, eax
xor ecx, 0xdc1d4cfe
lea esi, [eax + edx]
xor eax, eax
cmp ecx, 0xdc1d4cfe
cmove esi, eax
mov eax, esi
xor eax, 0xa9c0dc5c
cmp eax, 0xa9c0dc5c
je 0x5b331f
mov ebx, dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push 0
push 0xf67b7b8d
push eax
lea edx, [esi + 0x340]
mov dword [ebp - 0xc], ebx
lea ecx, [esi + 0xd8]
call section..gcode
mov eax, dword [ebx + 4]
add esp, 0xc
xor eax, 0x94f4b431
cmp eax, 0x94f4b431
je 0x5b331f
mov eax, dword fs:[0x18]
xor edx, edx
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 8]
mov eax, dword fs:[0x18]
lea edi, [ebx + 0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ecx + ebx + 0x14]
add eax, ecx
add edi, eax
movzx eax, word [ecx + ebx + 6]
xor ecx, ecx
mov dword [ebp - 8], edi
mov dword [ebp + 0xc], eax
cmp cx, ax
jae 0x5b331f
nop dword [eax]
movzx eax, dx
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0xc]
lea edi, [edi + eax*8]
lea eax, [ecx + ebx]
cmp eax, entry1
ja 0x5b3215
mov eax, dword [edi + 0x10]
add eax, ecx
add eax, ebx
cmp eax, entry1
ja 0x5b3225
inc edx
cmp dx, word [ebp + 0xc]
jae 0x5b331f
mov edi, dword [ebp - 8]
jmp 0x5b31f0
mov eax, edi
xor eax, 0x98911831
cmp eax, 0x98911831
je 0x5b331f
mov eax, dword fs:[0x18]
mov ecx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
add edi, ecx
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
add edi, edx
lea eax, [ecx + edx]
cmp eax, edi
jae 0x5b331f
mov ebx, dword [esi + 0x318]
nop
mov edx, dword [eax + 4]
mov ecx, ebx
xor ecx, dword [eax]
xor edx, dword [esi + 0x31c]
xor ecx, 0x45ecc763
xor edx, 0
cmp ecx, 0x45ecc763
jne 0x5b32f7
test edx, edx
jne 0x5b32f7
mov ecx, dword [esi + 0x320]
xor ecx, dword [eax + 8]
mov edx, dword [esi + 0x324]
xor ecx, 0xc3464624
xor edx, dword [eax + 0xc]
xor edx, 0
cmp ecx, 0xc3464624
jne 0x5b32f7
test edx, edx
jne 0x5b32f7
mov ecx, dword [esi + 0x328]
xor ecx, dword [eax + 0x10]
mov edx, dword [esi + 0x32c]
xor ecx, 0x5ce40551
xor edx, dword [eax + 0x14]
xor edx, 0
cmp ecx, 0x5ce40551
jne 0x5b32f7
test edx, edx
jne 0x5b32f7
mov ecx, dword [esi + 0x330]
xor ecx, dword [eax + 0x18]
mov edx, dword [esi + 0x334]
xor ecx, 0x15070819
xor edx, dword [eax + 0x1c]
xor edx, 0
cmp ecx, 0x15070819
jne 0x5b32f7
test edx, edx
je 0x5b3309
inc eax
cmp eax, edi
jb 0x5b3260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, eax
xor ecx, 0x23c23431
cmp ecx, 0x23c23431
je 0x5b331f
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x6c4c75c6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3cab5e6a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219