joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x409e9b
pop dword [ebp - 0x24]
mov eax, 0xb64a0433
add eax, 0x49f69a68
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xd96fd98f
sub dword [ebp - 0x34], 0x8b1d9444
mov dword [ebp - 0x30], 0x94658f95
add dword [ebp - 0x30], 0x9dcdbcb0
mov dword [ebp - 0x2c], 0xa44e6444
add dword [ebp - 0x2c], 0xa7fddfea
mov dword [ebp - 0x28], 0xd13f2bce
add dword [ebp - 0x28], 0x2ec0d432
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1a3daf88
add eax, 0xe60320cc
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xde1ca4b6
sub dword [ebp - 0x34], 0x69aa3b60
mov dword [ebp - 0x30], 0x5fb75e2d
add dword [ebp - 0x30], 0xe1b50348
mov dword [ebp - 0x2c], 0xddbdab64
sub dword [ebp - 0x2c], 0x7a4e3ef8
mov dword [ebp - 0x28], 0x3b81be6
add dword [ebp - 0x28], 0xfc47e41a
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x396c2
push 0
call eax
mov ecx, 0x422db94e
add ecx, 0xbdd28dd7
mov esi, eax
mov edi, 0x25f6a9f6
add edi, 0xda4b060a
add edi, dword [ebp - 0x24]
mov edx, 0x94118fb9
add edx, 0x5177794a
mov ebx, dword [edi]
sub ebx, edx
xor dword [ebp - 0xc], 0x1687fe37
mov dword [esi], ebx
mov dword [ebp - 0xc], 0x9fd37706
add esi, 4
add edi, 4
loop 0x409fb8
add eax, 0xaeb3c5f9
sub eax, 0xaeb2b692
mov ebx, eax
add eax, 0x87d25198
add eax, 0x782dae6d
mov ecx, 0x93975a59
add ecx, 0x6ca8a5a7
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5e4200c9
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6d4d7e89
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00409a27
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409a27
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409a27
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409a27
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409a27
mov dword [0x41203c], eax
call fcn.00409a27
test eax, eax
jge 0x402550
push 8
call fcn.00409a27
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409a27
pop ecx
push 1
call fcn.00409a27
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409a27
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00409a27
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409a27
jmp 0x402495

Function at 0x409a27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x409a36
pop dword [ebp - 0x30]
mov eax, 0x565c7917
add eax, 0xa9e4211f
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x348da
push 0
mov eax, 0xef4bcbf2
add eax, 0x10f514e6
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x3542
mov esi, eax
mov edi, 0x7a5fbbc0
add edi, 0x85e18004
add edi, dword [ebp - 0x30]
mov ebx, 0x9cdf1f06
sub ebx, 0x316f66aa
mov edx, dword [edi]
xor dword [ebp - 0x2c], 0xf983fe1b
add edx, ebx
sub dword [ebp - 0x28], 0x5c583d7a
mov dword [esi], edx
add dword [ebp - 0x18], 0x73362d82
add esi, 0xbc319d95
sub esi, 0xbc319d91
add edi, 0xe6ed8cec
sub edi, 0xe6ed8ce8
loop 0x409a8f
add eax, 0x477e81c9
sub eax, 0x477db9ee
xor ebx, ebx
add ebx, eax
add eax, 0x9091f99c
add eax, 0x6f6e0669
mov ecx, 0xc6e4d04d
sub ecx, 0xc6a4d04d
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x1006a46
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov esi, ecx
mov dword [ebp - 0xc], 0x10
jne 0x1006a6f
mov eax, 0xc0000bbd
jmp 0x1006c10
push ebx
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
mov ebx, 0x400
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jae 0x1006c0a
cmp eax, 3
jb 0x1006c0a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8a0]
test eax, eax
je 0x1006aab
cmp dword [eax], 1
je 0x1006bfd
cmp word [edi], 0x5c
jne 0x1006acb
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp word [edi + eax*2], 0x5c
je 0x1006ab1
cmp eax, 2
jb 0x1006acb
xor ebx, ebx
inc ebx
jmp 0x1006b52
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1006afd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1006af6
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1006c0f
lea edi, [ebp - 0x34]
jmp 0x1006afd
inc edi
inc edi
cmp word [edi], 0x5c
je 0x1006afb
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx + 4]
cmp eax, ebx
jb 0x1006b20
mov edi, 0xc0000bbd
jmp 0x1006bff
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], ebx
mov eax, 0x1001214
je 0x1006b32
mov eax, 0x100196c
push dword [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x834]
push 0x1001958
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x14
lea edi, [ebp - 0x834]
mov eax, dword [esi + 0x8a0]
test eax, eax
mov dword [esi + 0x8c], ebx
je 0x1006b6a
cmp dword [eax], ebx
je 0x1006bfd
cmp dword [esi + 0x8a4], 0
je 0x1006bdf
push edi
mov ecx, esi
call fcn.01006873
mov ecx, dword [esi + 0x8a0]
test ecx, ecx
je 0x1006b89
cmp dword [ecx], ebx
je 0x1006bfd
test eax, eax
jne 0x1006bfd
mov edi, dword [esi + 0x6c]
jmp 0x1006bca
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [esi + 0x2c]
call sub.pdh.dll_PdhAddCounterW
mov ecx, dword [esi + 0x8a0]
test ecx, ecx
je 0x1006baf
cmp dword [ecx], ebx
je 0x1006bfd
test eax, eax
jne 0x1006bd2
push edi
push dword [ebp - 8]
mov ecx, esi
call fcn.010064cf
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
jne 0x1006b92
jmp 0x1006bfd
cmp dword [ebp + 0x10], 0
je 0x1006bfd
push eax
push edi
call dword [ebp + 0x10]
jmp 0x1006bfd
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [esi + 0x2c]
call sub.pdh.dll_PdhAddCounterW
test eax, eax
jne 0x1006bd2
push edi
push dword [ebp - 8]
mov ecx, esi
call fcn.010064cf
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x1006c0f
mov eax, 0xc0000bbd
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x100aa27
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
pushal
mov ebx, 0x7fffffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, esi
imul eax, edx, 0x10dcd
add eax, 0x116c5
xor edx, edx
div ebx
lodsd eax, dword [esi]
xor eax, edx
stosd dword es:[edi], eax
loop 0x100aa3c
popal
leave
ret 0xc
Function at 0x401670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov eax, 0x4041a4
push esp
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ax, word [esp + 2]
mov dword [0x4041a0], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x4c], 0x30
mov eax, 3
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [0x404190], eax
mov eax, edi
mov dword [ebp - 0x44], 0x40157b
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.pieta
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push dword [ebp - 0x38]
push edi
push edi
push 0x190
push 0x258
push 0xffffee08
push 0xffffee6c
push 0
push str.novice
push str.pieta
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x404198], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x404198]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x40175a
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40173f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401018
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401050
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401040
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x414004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push esi
push 0x1c
push eax
push section..text
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp - 0x20]
jne 0x401083
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401a8d
mov esp, ebp
pop ebp
ret
push edi
push 0x412ac4
push 0x81
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x401128
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401128
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x401128
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x401128
push ebx
call fcn.00404ce1
add esp, 4
push 0
push 0x22
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x401128
cmp edi, 0xffffffff
je 0x401128
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push esi
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
test esi, esi
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401a8d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a8d
mov esp, ebp
pop ebp
ret
Function at 0x958166
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x952140]
jne 0x958170
repz ret
jmp fcn.009584af

Function at 0x95e328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x952140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00959976
and dword [ebp - 0x14], 0
cmp dword [0x955b2c], 0
mov dword [ebp - 0x18], eax
jne 0x95e3db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x95e483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x95e483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x955b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x955b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x955b34], eax
call edi
push eax
call esi
mov dword [0x955b3c], eax
test eax, eax
je 0x95e3db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x955b38], eax
mov eax, dword [0x955b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x95e434
cmp dword [0x955b3c], ecx
je 0x95e434
push eax
call esi
push dword [0x955b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x95e434
test ebx, ebx
je 0x95e434
call edi
test eax, eax
je 0x95e42b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x95e42b
test byte [ebp - 8], 1
jne 0x95e434
or dword [ebp + 0x10], 0x200000
jmp 0x95e467
mov eax, dword [0x955b30]
cmp eax, dword [ebp - 0x18]
je 0x95e467
push eax
call esi
test eax, eax
je 0x95e467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x95e467
mov eax, dword [0x955b34]
cmp eax, dword [ebp - 0x18]
je 0x95e467
push eax
call esi
test eax, eax
je 0x95e467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x955b2c]
call esi
test eax, eax
je 0x95e483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x95e485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00958166
leave
ret
Function at 0x4cc340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6000]
push edi
jmp 0x4cc35a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4cc361
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc350
mov eax, 1
add ebx, ebx
jne 0x4cc373
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4cc384
jne 0x4cc3a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc3a3
dec eax
add ebx, ebx
jne 0x4cc390
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4cc368
add ebx, ebx
jne 0x4cc39f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4cc3f5
xor ecx, ecx
sub eax, 3
jb 0x4cc3bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4cc42a
sar eax, 1
mov ebp, eax
jmp 0x4cc3c6
add ebx, ebx
jne 0x4cc3c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc394
inc ecx
add ebx, ebx
jne 0x4cc3d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc394
add ebx, ebx
jne 0x4cc3e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4cc3d6
jne 0x4cc3f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4cc3d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4cc414
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4cc406
jmp 0x4cc356
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4cc414
add edi, ecx
jmp 0x4cc356
pop esi
mov edi, esi
mov ecx, 0x2ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4cc432
cmp byte [edi], 1
jne 0x4cc432
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4cc437
lea edi, [esi + 0xca000]
mov eax, dword [edi]
or eax, eax
je 0x4cc4af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd35d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd368c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cc464
mov ecx, edi
jns 0x4cc493
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd3694]
or eax, eax
je 0x4cc4a9
mov dword [ebx], eax
add ebx, 4
jmp 0x4cc481
call dword [esi + 0xd3690]
mov ebp, dword [esi + 0xd3698]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4cc4e3
sub esp, 0xffffff80
jmp 0x403961
Function at 0x10004b64
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10004bea
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10004b9d
push 0
push 0x1cc7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10004be8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10004bcb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10004be8
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000bead
mov dword [eax], 0xbd0a7084
jmp 0x10004bc0
jmp 0x10004c2b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
push 0x220c
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x5bc7
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.1000411d
add esp, 0x20
mov esp, ebp
pop ebp
ret

Function at 0x10004c2f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10004c5b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.1000635c
add esp, 0xc
jmp 0x10004cca
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10004c7f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x10004cca
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10004cad
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10004cca
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.1000bead
mov dword [eax], 0xb61d
jmp 0x10004ca2
mov esp, ebp
pop ebp
ret
Function at 0x1000fef6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000ff75
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1000ff6d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1000ff4e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x1000ff6b
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000bead
mov dword [eax], 0xfffffffb
jmp 0x1000ff43
jmp 0x1000ff73
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x1000ff92
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push 0x771b
push dword [ebp - 0x20]
push 0x359a
push 0
call fcn.1000fd5e
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10011bb1
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10011c14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10011bef
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
jmp 0x10011c12
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10011c12
push 0
push 0x1cc7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10011c49
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x7756
push 0x2158
push 0
push 0x7e65
push 0x62e6
push 0x202
call fcn.10011f81
add esp, 0x20
mov esp, ebp
pop ebp
ret