joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d7b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d814
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404ce4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e38
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d81b
lea eax, [ebp - 0xc]
call fcn.00404a74
ret

Function at 0x4199f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.004197ce
invalid

Function at 0x41a654
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004197ce
daa
adc byte [ebp + 0x64], 0x80
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.004197ce
cmp esp, esp
or dh, ah
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004197ac
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004197de
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419793
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004197ce
out dx, eax
mov esp, 0x468500e
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x41be34
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41be81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041bc8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41be99
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41bea0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041bc8c
dec esi
jne 0x41bec2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41d624
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48f888
cmp dword [edi], 0
jne 0x41d6a0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48f884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47f474
mov ecx, 2
call fcn.00402c98
mov edx, 0x41d5fc
lea eax, [esi + 5]
call fcn.0041d61c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d61c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41d675
mov dword [0x48f884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ecf4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ecfa
ret

Function at 0x4211c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x421211
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4211f8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4211e8
jmp 0x421211
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4211f9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429d2c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404f24
xor eax, eax
push ebp
push 0x429e5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429e2d
xor eax, eax
push ebp
push 0x429e26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d34
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429dfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x429dea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d34
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404f34
mov edx, ebx
pop ecx
call fcn.00402c98
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429df1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x48e994]
mov dl, 1
mov eax, dword [0x407bac]
call fcn.0040c9d0
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429e61
lea eax, [ebp - 4]
call fcn.00404a74
ret
Function at 0x42db20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0042d860
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404f34
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42db7e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48eb78]
mov dl, 1
mov eax, dword [0x42d784]
call fcn.0040ca0c
call fcn.00404404
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x431194
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4310e0
call sub.user32.dll_EnumWindows
ret

Function at 0x4312b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x431331
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00430d14
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4312d9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00430914
cmp dword [ebp - 4], 0
je 0x43131b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404f34
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431338
lea eax, [ebp - 4]
call fcn.00404a74
ret
Function at 0x1006908
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1006945
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1006922
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1006961
dec esi
je 0x100695a
dec esi
jne 0x1006966
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100013a0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10003004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x10003334]
mov dword [ebp - 0x210], eax
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x1000142d
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
push 0x100010e0
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
test eax, eax
je 0x10001423
push 0x1000110c
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov esi, eax
mov dword [0x10003334], esi
test esi, esi
jne 0x10001427
xor eax, eax
jmp 0x1000143a
mov eax, dword [ebp - 0x210]
push eax
push ebx
push edi
mov ecx, esi
call dword [0x10004070]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001970
leave
ret 0xc

Function at 0x10001990
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100019ce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100019c6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100019d0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100019b6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10001aa0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10001ad1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10001ad1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10001ad1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100133f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x100133ff
pop dword [ebp - 0x40]
mov eax, 0x687004d1
sub eax, 0x586ed0d2
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x4e706bfa
add dword [ebp - 0x50], 0xffe1d951
mov dword [ebp - 0x4c], 0x35c1d714
sub dword [ebp - 0x4c], 0x38e8acf
mov dword [ebp - 0x48], 0x9b31d7f8
sub dword [ebp - 0x48], 0x4ee593ca
mov dword [ebp - 0x44], 0x5f684444
sub dword [ebp - 0x44], 0x5f684444
lea eax, [ebp - 0x50]
push eax
mov eax, 0x407e7ef9
add eax, 0xcf8511fb
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x463b227a
sub dword [ebp - 0x50], 0xd1c8b924
mov dword [ebp - 0x4c], 0x739489c7
sub dword [ebp - 0x4c], 0x32282852
mov dword [ebp - 0x48], 0xc4333c61
sub dword [ebp - 0x48], 0x60c3cff5
mov dword [ebp - 0x44], 0x5c589e4b
sub dword [ebp - 0x44], 0x5c589e4b
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x46a64
push 0
call eax
mov ecx, 0x5d51
xor edi, edi
add edi, eax
mov ebx, 0x5f2dd7b7
sub ebx, 0x4f28c5b7
add ebx, dword [ebp - 0x40]
mov esi, 0x89415ae6
add esi, 0xdcfa764d
xor dword [ebp - 0x20], 0x9d708ec8
mov edx, dword [ebx]
mov dword [ebp - 0x30], 0xc46d58a7
sub edx, esi
add dword [ebp - 0x10], 0x3c804bc1
mov dword [edi], edx
add dword [ebp - 0xc], 0x6066854a
add edi, 0xdeb6c894
add edi, 0x21493770
add ebx, 4
loop 0x10013518
add eax, 0x16817
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x785e60c
sub ecx, 0xf785e60c
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x10030836
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047018]
jne 0x10030840
repz ret
jmp fcn.10030e15
Function at 0x435690
Capabilities:
Check for vm using instruction vpcext

Disassembly:
xchg dword [edx - 0x14], ebp
in al, dx
mov al, byte [esi]
mov esi, 0xb5e6d199
test al, 0x76
sub al, 0x61
in eax, dx
sub si, cx
pop esi
xor esp, 0x59
xor bh, byte [esi - 0x53]
inc ebp
rol dword [edi + 0x18], 1
add bl, byte [eax + 0x23f50ead]
push esp
jge 0x43568e
aaa
loopne 0x4356b1
xor eax, 0x99672488
xor eax, 0xe14fd884
in eax, dx
inc edi
test al, 0xa2
jno 0x4356c6
call [edi + 0x21]
pop ds
pop edi
and dword [edi], ebx
insd dword es:[edi], dx
out 0x3d, al
invalid

Function at 0xd84058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xd841a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd8407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8406a
add dl, dl
jne 0xd84089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd840dc
xor eax, eax
add dl, dl
jne 0xd84096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8417d
add dl, dl
jne 0xd840a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd840b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd840bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd840c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd840d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd84075
mov eax, 1
add dl, dl
jne 0xd840ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd840f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd840e1
sub eax, ebx
mov ebx, 1
jne 0xd84128
mov ecx, 1
add dl, dl
jne 0xd8410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd84119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd84105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd84075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd8413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd8414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd84136
cmp eax, 0x7d00
jae 0xd8416d
cmp eax, 0x500
jb 0xd84168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd84075
cmp eax, 0x7f
ja 0xd84170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd84075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd8419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd84075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xc2c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc2c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc2c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2c06a
add dl, dl
jne 0xc2c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2c0dc
xor eax, eax
add dl, dl
jne 0xc2c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2c17d
add dl, dl
jne 0xc2c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc2c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc2c075
mov eax, 1
add dl, dl
jne 0xc2c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2c0e1
sub eax, ebx
mov ebx, 1
jne 0xc2c128
mov ecx, 1
add dl, dl
jne 0xc2c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc2c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2c136
cmp eax, 0x7d00
jae 0xc2c16d
cmp eax, 0x500
jb 0xc2c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2c075
cmp eax, 0x7f
ja 0xc2c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc2c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc2c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4074b9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4074da
jl 0x4074d1
test edi, edi
jne 0x4074da
xor eax, eax
xor edx, edx
jmp 0x40759b
cmp dword [ebx + 0x38], 0
je 0x4074ef
push eax
push edi
push dword [ebp + 8]
call fcn.004075a1
jmp 0x40759b
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x407536
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x407536
cmp eax, edi
jb 0x407510
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00408cf0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40753c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x407590
mov ecx, ebx
call fcn.00406d53
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40757b
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040e9f3
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x407590
jmp 0x40754e
test edx, edx
je 0x407590
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040e9f3
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x408848
Capabilities:
Parse pe header

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

Function at 0x41343c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4247b8
push 0x4247b0
push str.FlsAlloc
push 0x1e
call fcn.004132a9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413470
push dword [ebp + 8]
mov ecx, esi
call dword [0x42116c]
call esi
jmp 0x413476
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4134ba
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4247c8
push 0x4247c0
push str.FlsGetValue
push 0x20
call fcn.004132a9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4134f1
push dword [ebp + 8]
mov ecx, esi
call dword [0x42116c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x415aeb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041595c

Function at 0x415ee5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408ca0
mov eax, dword [0x476400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00413aee
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x415f27
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x416083
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041e990
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4789a0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00416c84
mov ecx, dword [esi*4 + 0x4789a0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41607c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41607c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41607c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00416c84
add esp, 0x14
test edx, edx
jl 0x41607c
jg 0x415ff2
test eax, eax
jb 0x41607c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41607c
jl 0x41600c
cmp dword [ebp - 0x1008], eax
ja 0x41607c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41602a
test ebx, ebx
je 0x416063
cmp ecx, edi
jae 0x416063
mov al, byte [ecx]
cmp al, 0xd
jne 0x416044
lea eax, [edi - 1]
cmp ecx, eax
jae 0x416050
cmp byte [ecx + 1], 0xa
jne 0x416050
inc ecx
jmp 0x416050
movzx eax, al
movsx eax, byte [eax + 0x4766d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41602a
cmp edx, ebx
jne 0x41602a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x416081
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004080c7
leave
ret