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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4b7070
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4b7140
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret 0xc
cmp eax, 1
je 0x4b7170
cmp eax, 3
jne 0x4b705a
mov eax, dword [0x59d48c]
cmp eax, 0xffffffff
je 0x4b705a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4b705a
test byte [eax + 0x20], 0x30
je 0x4b71a0
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x4b70b3
call fcn.004b6d60
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4b70e5
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x4b70d7
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.004b6200
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.004b63c0
cmp eax, 1
je 0x4b7220
mov ecx, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
test ecx, ecx
je 0x4b7290
mov eax, dword [0x59d48c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x4b705a
mov eax, dword [0x691530]
test eax, eax
je 0x4b705a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x691530], 0
sub esp, 4
jmp 0x4b705a
mov dword [esp + 4], 0x4b6430
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x691530], eax
mov eax, 1
add esp, 0x10
pop ebx
pop esi
pop edi
ret 0xc
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x4b7228
test eax, eax
je 0x4b71ba
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
je 0x4b71d7
call fcn.004b6d60
lea edi, [ebx + 0x1c]
lea esi, [ebx + 0x38]
test byte [ebx + 0x24], 4
je 0x4b7270
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x4b7200
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [esp], edi
call fcn.004b6200
mov dword [esp], esi
call fcn.004b63c0
cmp eax, 1
jne 0x4b7104
call fcn.004b6700
lea esi, [esi]
test eax, eax
je 0x4b7238
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x18], 0
mov dword [esp], eax
call fcn.004b6200
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.004b63c0
cmp eax, 1
je 0x4b7220
mov dword [ebx + 0x38], 0xffffffff
jmp 0x4b705a
mov dword [esp], edi
call fcn.004b6200
mov dword [esp], esi
call fcn.004b63c0
cmp eax, 1
jne 0x4b725a
jmp 0x4b7220
mov eax, ebx
call fcn.004b69a0
jmp 0x4b7119
Function at 0x4b7530
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [ebx]
test edx, edx
je 0x4b7668
cmp eax, 1
je 0x4b7584
mov eax, ebx
call fcn.004b64c0
lea edi, [eax + 4]
mov esi, eax
mov dword [esp], edi
call fcn.004b5d20
mov ebp, dword [ebx]
test ebp, ebp
je 0x4b7590
cmp ebp, 1
jne 0x4b7638
mov dword [esp], edi
call fcn.004b6070
test esi, esi
je 0x4b7584
mov eax, esi
call fcn.004b67f0
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [0x691554], 1
mov dword [esp + 0x14], 0x4b68b0
mov dword [esp + 0x18], esi
je 0x4b75aa
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x4b76a8
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
lock or dword [esp], 0
cmp dword [0x691554], 1
je 0x4b75df
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x4b7690
lea edx, [esp + 0x14]
mov dword [eax + 0xc], edx
lock or dword [esp], 0
call dword [esp + 0x44]
cmp dword [0x691554], 1
je 0x4b7612
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x4b7678
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], edx
mov dword [ebx], 1
jmp 0x4b7571
mov dword [esp], 2
call dword [0x59d45c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str._once__p_is__d_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4b7571
add esp, 0x2c
mov eax, 0x16
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004b6bd0
test eax, eax
jne 0x4b7623
jmp 0x5729b9
call fcn.004b6bd0
test eax, eax
jne 0x4b75f4
jmp 0x5729cb
call fcn.004b6bd0
test eax, eax
jne 0x4b75c5
jmp 0x5729c4
mov eax, dword [esp + 0x1c]
mov dword [0], eax
ud2
mov eax, dword [pe_dos_header]
ud2
lea eax, [esp + 0x14]
mov dword [0], eax
ud2

Function at 0x4b7910
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x691554], 1
mov esi, eax
je 0x4b792d
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4b7990
lea ebp, [ebx + 0x38]
xor edi, edi
mov dword [esp], ebp
call fcn.004b63d0
mov eax, dword [esp + 0x30]
cmp dword [ebx + 0x28], eax
jbe 0x4b796d
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x30]
cmp byte [eax + edx], 0
je 0x4b796d
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edx*4]
mov dword [esp], ebp
call fcn.004b6420
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004b6bd0
mov ebx, eax
jmp 0x4b7944
Function at 0x4b79a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x691554], 1
mov dword [esp + 0x14], eax
je 0x4b79c3
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4b7ac8
lea edi, [ebx + 0x38]
mov dword [esp], edi
call fcn.004b63d0
cmp dword [ebx + 0x28], esi
jbe 0x4b7a28
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x44]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0x30]
mov byte [eax + esi], 1
mov dword [esp], edi
call fcn.004b6420
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [esi + 1]
lea eax, [ebp*4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x4b7ad4
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4b7ad4
mov ecx, dword [ebx + 0x28]
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
sub eax, ecx
lea ecx, [edx + ecx*4]
shl eax, 2
mov dword [esp], ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x18]
mov ecx, ebp
add eax, dword [ebx + 0x28]
sub ecx, dword [ebx + 0x28]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
jmp 0x4b79f1
call fcn.004b6bd0
mov ebx, eax
jmp 0x4b79de
mov dword [esp], edi
call fcn.004b6420
mov eax, 0xc
jmp 0x4b7a19

Function at 0x4b7b60
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x691554], 1
je 0x4b7b71
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4b7b90
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call fcn.004b6bd0
test eax, eax
jne 0x4b7b86
add esp, 0x1c
ret

Function at 0x4b7bf0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x691554], 1
je 0x4b7c01
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4b7c20
add eax, 0xc
add esp, 0x1c
ret
call fcn.004b6bd0
test eax, eax
jne 0x4b7c16
jmp 0x4b7c19
Function at 0x4b7c50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.004b6d20
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x4b7c72
call fcn.004b6d60
test byte [ebx + 0x20], 0x30
jne 0x4b7c8c
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x4b7ccf
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x4b7d13
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x4b7cc2
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x4b7cd8
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [ebx + 0x14], 0
mov eax, ebx
call fcn.004b6b10
mov eax, dword [0x59d48c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x4b7ccf
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x4b7d27
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
jmp 0x4b7cf2

Function at 0x4b7d40
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x69155c]
test eax, eax
jne 0x4b7d50
xor eax, eax
ret
sub esp, 0x1c
cmp dword [0x691554], 1
je 0x4b7d61
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4b7da0
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x4b7d88
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x4b7d7d
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x4b7d7f
call fcn.004b6bd0
test eax, eax
je 0x4b7d7d
jmp 0x4b7d76

Function at 0x4b7db0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x691554], 1
je 0x4b7dc1
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4b7e00
mov edx, dword [esp + 0x20]
add eax, 0x10
test edx, edx
jle 0x4b7df0
lock add dword [eax], 1
add esp, 0x1c
ret
lock sub dword [eax], 1
add esp, 0x1c
ret
call fcn.004b6bd0
test eax, eax
jne 0x4b7dd6
add esp, 0x1c
ret
Function at 0x4b7f00
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
cmp dword [0x691554], 1
je 0x4b7f13
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4b7f70
test byte [ebx + 0x20], 0xc
jne 0x4b7f39
mov eax, dword [0x69155c]
test eax, eax
jne 0x4b7f40
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.004b5d20
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x4b7f62
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x4b7f62
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x4b7f81
mov dword [esp], esi
call fcn.004b6070
add esp, 0x14
pop ebx
pop esi
ret
call fcn.004b6bd0
mov ebx, eax
test eax, eax
jne 0x4b7f2a
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4b7fa1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.004b6070
call fcn.004b7e10
nop
push esi
xor esi, esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b7fd8
mov dword [esp], eax
call fcn.004b5a60
mov ecx, 0xfffffffe
cmp ecx, eax
sbb esi, edx
mov esi, 0xffffffff
cmovae esi, eax
cmp dword [0x691554], 1
je 0x4b7fe6
call fcn.004b6b30
mov eax, dword [0x59d48c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4b8058
test esi, esi
je 0x4b8030
call fcn.004b7f00
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4b8068
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004b5b70
call fcn.004b7f00
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.004b7f00
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.004b7f00
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.004b6bd0
mov ebx, eax
jmp 0x4b7ffd
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x4b8019

Function at 0x4c6af0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wrmdir]
add esp, 0x1c
ret
Function at 0x4c7110
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x18
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
and eax, 0xfffffffa
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
sub esp, 8
add esp, 0x18
pop ebx
ret

Function at 0x4c73e0
Capabilities:
Move file

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wrename]
test eax, eax
setne al
add esp, 0x1c
ret 4

Function at 0x4c7590
Capabilities:
Delete file

Disassembly:
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x10
mov eax, dword [ecx + 8]
mov dword [ecx], method._P.1.virtual_0
test eax, eax
jns 0x4c75f0
cmp byte [ebx + 4], 0
mov eax, dword [ebx + 0xc]
je 0x4c75c2
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wremove]
mov dword [esp], ebx
call fcn.0042f270
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 0x10], eax
je 0x4c75cf
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_free
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp], eax
call sub.msvcrt.dll__close
test eax, eax
je 0x4c7670
mov eax, dword [0x677e60]
test eax, eax
jne 0x4c7680
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x4c7695
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x4c7695
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], 0x5a5b73
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.004bf1f0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0042e7f0
mov dword [esp + 4], esi
mov dword [esp], 0x5a5af8
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
lea esi, [esi]
nop
mov dword [ebx + 8], 0xffffffff
jmp 0x4c75a5
mov dword [esp + 4], 1
mov dword [esp], 0x677e20
call dword [sym.imp.msvcrt.dll_longjmp]
cmp dword [0x677e60], 0
jne 0x4c7680
mov eax, 0x40000
call fcn.00434d40
mov esi, eax
mov eax, 0x40000
call fcn.00434d40
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x5a5ad4
mov ebx, eax
mov dword [esp], esi
call fcn.004bf1f0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0042e7f0
mov dword [esp + 4], ebx
mov dword [esp], 0x5a5af8
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4c9bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x5e5f49
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x5e5fad]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.0049d320
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.00571aa0
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x59eef8], 0
jne 0x4c9cd6
mov byte [0x59eef8], 1
call fcn.0056dfc0
test eax, eax
je 0x4c9ca4
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0049c270
mov dword [esp], 2
mov esi, dword [fcn.004b4480]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x4c9c94
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5e4e29
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x570964
jmp 0x57095c
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x4c9c5a
mov dword [esp], 2
call dword [0x59d45c]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x570957
mov dword [esp], 2
call dword [0x59d45c]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
mov ebx, ecx
sub esp, 0x18
mov dword [ecx], 0x5f79e0
call fcn.00566120
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.0056dd60
add esp, 0x18
pop ebx
ret
Function at 0x51c370
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
jmp 0x51c393
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 4
jne 0x51c3b1
mov ecx, ebx
call fcn.0051c110
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll__read
mov ebp, eax
cmp eax, 0xffffffff
je 0x51c388
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x50c5f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x50c60a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c600
mov eax, 1
add ebx, ebx
jne 0x50c623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c618
jne 0x50c634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c618
xor ecx, ecx
sub eax, 3
jb 0x50c648
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c6ba
mov ebp, eax
add ebx, ebx
jne 0x50c653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50c660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50c684
inc ecx
add ebx, ebx
jne 0x50c670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c665
jne 0x50c681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c665
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c6a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c695
jmp 0x50c606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c6a4
add edi, ecx
jmp 0x50c606
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50c703
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c6c1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50c6fd
mov dword [ebx], eax
add ebx, 4
jmp 0x50c6de
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
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 0x50c737
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d448c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x63a800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401194
push 0x80004005
call fcn.00432b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x54], eax
mov dword [ebp - 4], 0
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4011c4
push 0x80004005
call fcn.00432b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x58], eax
mov byte [ebp - 4], 1
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4011f1
push 0x80004005
call fcn.00432b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x5c], eax
mov byte [ebp - 4], 2
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40121e
push 0x80004005
call fcn.00432b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x60], eax
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x44]
mov dword [ebx + 0x44], ecx
mov edx, dword [esi + 0x28]
mov dword [ebx + 0x28], edx
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x38], ecx
mov edx, dword [esi + 0x3c]
mov dword [ebx + 0x3c], edx
mov ax, word [esi + 0x4c]
mov word [ebx + 0x4c], ax
mov cx, word [esi + 0x4e]
lea edx, [esi + 0x58]
mov word [ebx + 0x4e], cx
push edx
lea ecx, [ebx + 0x58]
call fcn.004327f0
lea eax, [esi + 0x5c]
push eax
lea ecx, [ebx + 0x5c]
call fcn.004327f0
lea ecx, [esi + 0x60]
push ecx
lea ecx, [ebx + 0x60]
call fcn.004327f0
lea edx, [esi + 0x54]
push edx
lea ecx, [ebx + 0x54]
call fcn.004327f0
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov ecx, dword [esi + 0x34]
mov dword [ebx + 0x34], ecx
mov edx, dword [esi + 0x48]
mov dword [ebx + 0x48], edx
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
add esi, 8
lea edi, [ebx + 8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4