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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e76
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404608
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004031d8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e60
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e7d
lea eax, [ebp - 0x10]
call fcn.00404398
ret

Function at 0x40a0b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a0f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404488
jmp 0x40a0fa
mov eax, ebx
mov edx, esi
call fcn.004043ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a104
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a125
mov al, byte [esp]
jmp 0x40a127
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a7bc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a624
mov eax, dword [0x4134fc]
cmp byte [eax], 0
je 0x40a838
mov eax, dword [0x413420]
call fcn.00402f40
call fcn.00402ad8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407a0c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a880
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a86e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4133fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414660]
call fcn.004052b8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b580
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 0x40b5e4
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.00404608
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407548
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b5eb
lea eax, [ebp - 0xc]
call fcn.00404398
ret
Function at 0x402dfb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x50c400]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402e64
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.004021d2
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00404a64
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x402e7c
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403cdf
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x402e2c
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004067c8
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403cdf
jmp 0x402e66

Function at 0x405401
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jg 0x405421
jl 0x405418
test ebx, ebx
jne 0x405421
xor eax, eax
xor edx, edx
jmp 0x4054e4
cmp dword [ebp + 0x38], 0
je 0x405437
push esi
push ebx
push dword [esp + 0x18]
call fcn.004054ea
jmp 0x4054e4
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x40547b
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x40547b
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.00403f4c
mov eax, dword [ebp + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x405483
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
je 0x4054da
mov ecx, ebp
call fcn.00403bb6
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x4054c5
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call fcn.0040c0ec
mov ecx, dword [esp + 0x24]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x4054da
jmp 0x405496
test edx, edx
je 0x4054da
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call fcn.0040c0ec
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4057b4
Capabilities:
Access peb ldr_data
Delete file
Get kernel32 base address
Get number of processors

Disassembly:
sub esp, 0xd0
mov eax, dword [0x50c400]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x24
mov dword [esp + 0x14], ebx
call fcn.00406785
pop ecx
mov esi, eax
push 0x64
pop ebp
test esi, esi
je 0x40581a
push str.Window1
lea ecx, [esp + 0xc8]
call fcn.004021d2
lea eax, [esp + 0xc4]
push eax
push ebp
push ecx
push ecx
mov dword [esp + 4], 0x40000000
mov ecx, esi
mov dword [esp], 0x40400000
call fcn.0040222b
mov esi, eax
inc ebx
jmp 0x40581c
xor esi, esi
test bl, 1
je 0x40582d
lea ecx, [esp + 0xc4]
call fcn.00403cdf
test esi, esi
je 0x40584e
mov ecx, esi
call fcn.0040307d
test esi, esi
je 0x40584e
lea ecx, [esi + 0xc]
call fcn.00403cdf
push 0x24
push esi
call fcn.004067b5
pop ecx
pop ecx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x50d370], eax
push 0x27
push 0x50be18
push 0x547
mov edi, 0x50be40
push edi
call fcn.00402e9a
push 1
push 0x424458
call fcn.004059c0
push 0x8aafdc01
push dword [0x50d370]
call fcn.00402dfb
add esp, 0x20
lea ecx, [esp + 0x14]
mov ebx, str.static.lib
mov esi, eax
push 1
push 0x40
push 2
push ebx
call fcn.0040201e
lea eax, [esp + 0x14]
push 0x424468
push eax
call fcn.004010ef
push eax
call fcn.00401dba
add esp, 0xc
sub ebp, 1
jne 0x4058b4
lea ecx, [esp + 0x14]
call fcn.00403f1c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x4e4
push edi
call esi
test eax, eax
je 0x405943
call fcn.00404efa
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x400
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x405943
push 0x42446c
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
xor ebx, ebx
push ebx
push ebx
push eax
push esi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x14]
call fcn.00402baa
mov ecx, dword [esp + 0xdc]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004067c8
add esp, 0xd0
ret 0x10

Function at 0x407516
Capabilities:
Parse pe header

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

Function at 0x415527
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4282f8
push 0x4282f0
push str.FlsAlloc
push 0x1e
call fcn.004153f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41555b
push dword [ebp + 8]
mov ecx, esi
call dword [0x424140]
call esi
jmp 0x415561
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x416c86
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416af7

Function at 0x417080
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407680
mov eax, dword [0x50c400]
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.00415b5a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4170c2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41721e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423450
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 + 0x50de10]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418078
mov ecx, dword [esi*4 + 0x50de10]
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 0x417217
cmp eax, dword [edi + ecx + 0x24]
jne 0x417217
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 0x417217
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418078
add esp, 0x14
test edx, edx
jl 0x417217
jg 0x41718d
test eax, eax
jb 0x417217
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417217
jl 0x4171a7
cmp dword [ebp - 0x1008], eax
ja 0x417217
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4171c5
test ebx, ebx
je 0x4171fe
cmp ecx, edi
jae 0x4171fe
mov al, byte [ecx]
cmp al, 0xd
jne 0x4171df
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4171eb
cmp byte [ecx + 1], 0xa
jne 0x4171eb
inc ecx
jmp 0x4171eb
movzx eax, al
movsx eax, byte [eax + 0x50c6d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4171c5
cmp edx, ebx
jne 0x4171c5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41721c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004067c8
leave
ret
Function at 0x417515
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x50de10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417555
cmp byte [ebx], 0xa
jne 0x417555
or byte [eax + edi + 0x28], 4
jmp 0x41755a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x417658
mov al, byte [edx]
cmp al, 0x1a
je 0x41763a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x417589
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4175ae
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4175b8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41756b
jmp 0x417658
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417635
cmp dword [ebp - 0xc], 0
je 0x417635
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x50de10]
test byte [eax + edi + 0x28], 0x48
je 0x41760f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4175fa
mov byte [esi], dl
jmp 0x41760b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x50de10]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417658
cmp byte [ebp - 1], 0xa
jne 0x41761e
cmp esi, ebx
jne 0x41761e
mov byte [esi], 0xa
jmp 0x417657
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418096
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417658
mov byte [esi], 0xd
jmp 0x417657
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x50de10]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417654
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417658
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417661
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x50de10]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4176a4
cmp word [esi], dx
jne 0x4176a4
or byte [edi + eax + 0x28], 4
jmp 0x4176a9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4177fc
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4177dc
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4176eb
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417721
cmp eax, edx
jae 0x41772d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4176c3
jmp 0x4177fc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4177d8
cmp dword [ebp - 0x14], 0
je 0x4177d8
mov eax, dword [ebx*4 + 0x50de10]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4177b0
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417779
mov word [esi], cx
jmp 0x4177ac
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x50de10]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x50de10]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x50de10]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4177fc
pop ebx
cmp word [ebp - 4], bx
jne 0x4177c1
cmp esi, dword [ebp + 0xc]
jne 0x4177c1
mov word [esi], bx
jmp 0x4177f9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418096
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4177fc
push 0xd
jmp 0x4177f5
mov ecx, dword [ebx*4 + 0x50de10]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4177f3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4177fc
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x438c8d
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
dec edi
mov eax, eax
mov edi, edi
call fcn.00438ccc
add eax, 0x8ab4614f
xor dword [ebx], edx
mov eax, 0xdf275a93
sub edi, 0xffcb1bc1
add eax, 0x228e0736
inc ebx
or eax, eax
cmp ebx, esi
jne fcn.00438c8d
and edi, eax
ret
Function at 0x9cb5a5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9cb5cc
call fcn.0096daf8
mov dword [eax], esi
call fcn.0096dae5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0096e73a
mov eax, esi
jmp 0x9cb621
test dword [ebp + 0xc], 0xfffffff9
jne 0x9cb5b2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9cb5f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0096db0b
pop ecx
call fcn.0096dae5
mov eax, dword [eax]
jmp 0x9cb621
test al, 0x10
jne 0x9cb61f
test al, 1
je 0x9cb61f
test byte [ebp + 0xc], 2
je 0x9cb61f
call fcn.0096daf8
mov dword [eax], 5
call fcn.0096dae5
mov dword [eax], 0xd
jmp 0x9cb5f0
xor eax, eax
pop esi
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4ed82086
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x67631c72
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x58d000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x58d00c
pop eax
sub eax, 0x8ca0c
push 0
pop edi
push eax
xor dword [eax + 0x22c], 0x66a7218
xor dword [eax + 0x33c], 0xbc146b8
sub dword [eax + 0x280], 0x70774a66
add dword [eax + 0x3e0], 0x23cb18d4
not dword [eax + 0x80]
not dword [eax + 0x2c]
sub dword [eax + 0xd8], 0x66d31b98
add dword [eax + 0x31c], 0x1b2e1fda
add dword [eax + 0x370], 0x84f3a62
sub dword [eax + 0x15c], 0x26443bd9
not dword [eax + 0x2d8]
not dword [eax + 0x8c]
sub dword [eax + 0x12c], 0x4a6562f2
xor dword [eax + 0xcc], 0x65b77fde
not dword [eax + 0x274]
add dword [eax + 8], 0x6e892495
sub dword [eax + 0x3c0], 0x6f5c45d3
sub dword [eax + 0x1a0], 0x3f521574
add dword [eax + 0x338], 0x252b0ac9
sub dword [eax + 0x380], 0x4108120c
not dword [eax + 0x284]
invalid
invalid
Function at 0x1000121b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
cmp dword [section.DescCtrl], 0
je 0x1000122f
push 1
pop eax
jmp 0x100012df
mov eax, dword [ebp + 8]
push esi
mov dword [0x10014008], eax
mov eax, dword [ebp + 0xc]
push 0xff
push 0x10003018
push eax
mov dword [0x1001400c], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push dword [0x1001400c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ax, word [0x10003014]
mov esi, dword [sym.imp.MSVCRT.dll_strtok]
mov word [ebp + 0xa], ax
lea eax, [ebp + 0xa]
push eax
push dword [ebp + 0x10]
call esi
pop ecx
test eax, eax
pop ecx
je 0x100012b1
push edi
mov edi, 0x10003118
push eax
push edi
call sub.MSVCRT.dll_strcpy
push 0x10003014
push 0x10003010
push edi
call fcn.1000117e
lea eax, [ebp + 0xa]
add edi, 0x100
push eax
push 0
call esi
add esp, 0x1c
test eax, eax
jne 0x10001284
pop edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov dword [0x10013118], eax
push dword [0x10014004]
push 0x10001022
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
xor ecx, ecx
mov dword [section.DescCtrl], eax
test eax, eax
setne cl
mov eax, ecx
pop esi
pop ebp
ret 0xc
Function at 0x10006d80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100069a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10006db2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x10033170]
call dword [ebp - 8]
jmp 0x10006dbc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x10020690
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.10007120
lea ecx, [ebp - 4]
call fcn.10020660
movzx eax, al
test eax, eax
jne 0x100206cd
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.100205a0
mov eax, dword [ebp - 0x18]
jmp 0x100207f5
lea ecx, [ebp - 4]
call fcn.100074c0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10020620
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.100074c0
push eax
push 0
push 0
call fcn.100204e0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10020733
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.100205a0
mov eax, dword [ebp - 0x20]
jmp 0x100207f5
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10014a60
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.10004640
lea ecx, [ebp - 8]
call fcn.10004680
movzx edx, al
test edx, edx
jne 0x1002077c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.10004660
lea ecx, [ebp - 4]
call fcn.100205a0
mov eax, dword [ebp - 0x24]
jmp 0x100207f5
lea ecx, [ebp - 8]
call fcn.100046c0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.100074c0
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.100204e0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100207d7
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.10004660
lea ecx, [ebp - 4]
call fcn.100205a0
mov eax, dword [ebp - 0x34]
jmp 0x100207f5
lea ecx, [ebp - 8]
call fcn.10015720
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.10004660
lea ecx, [ebp - 4]
call fcn.100205a0
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret

Function at 0x10020ec0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10020880
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10020ef4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x10033170]
call dword [ebp - 8]
jmp 0x10020efa
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4