joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003a4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
xor esi, esi
call fcn.1003a450
test eax, eax
jne 0x1003a4f8
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [eax - 0xa28]
cmp ecx, 0x4a6
ja 0x1003a52a
xor eax, eax
jmp 0x1003a510
xor byte [eax + 0x100ac778], al
inc eax
cmp eax, 0x1b8
jl 0x1003a510
push 0x1b8
push 0x100ac778
jmp 0x1003a569
lea ecx, [eax - 0x1770]
cmp ecx, 3
ja 0x1003a548
mov ecx, 0x100ac930
mov edx, edi
call fcn.1003a4b0
mov esi, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x1db0
jb 0x1003a578
xor eax, eax
xor byte [eax + 0x100acae8], al
inc eax
cmp eax, 0x1b8
jl 0x1003a551
push 0x1b8
push 0x100acae8
mov edx, dword [edi + 0x60]
push 0
push 0
push edi
call edx
add esp, 0x14
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003acf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x310
mov eax, dword [0x100a9450]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebp
mov ebp, dword [esp + 0x318]
push esi
push 0x2ff
lea eax, [esp + 0x19]
push 0
push eax
mov byte [esp + 0x20], 0
call fcn.10072cc0
mov ecx, dword [ebp + 0xc4]
mov edx, dword [ebp + 0x44]
mov edx, dword [edx + 0x10]
push 0x300
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x330]
push eax
push ecx
xor esi, esi
push ebp
mov dword [esp + 0x24], esi
call edx
add esp, 0x1c
cmp eax, 0x300
je 0x1003ad71
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.10063ade
add esp, 0x310
ret
push edi
lea edi, [esp + 0x18]
push ebx
mov eax, 0x300
sub eax, esi
push eax
push edi
call fcn.10003790
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
test ebx, ebx
jle 0x1003ae2b
cmp ebx, 5
jne 0x1003ae17
cmp byte [edi], 0xbe
jne 0x1003ae17
mov edx, dword [edi + 1]
mov ecx, ebp
call fcn.1003a970
test eax, eax
je 0x1003ae17
lea ecx, [edi + 5]
mov eax, 0x2fb
sub eax, esi
push ecx
call fcn.1003aa30
add esp, 4
test eax, eax
jle 0x1003ae17
mov edx, dword [eax + edi + 6]
lea ecx, [esp + 0x1c]
sub edx, ecx
mov ecx, dword [esp + 0x328]
add edx, eax
mov eax, dword [esp + 0x14]
add edx, edi
add edx, eax
lea esi, [edx + ecx + 0xa]
sub esi, eax
push ebp
call fcn.1003ac70
mov ebx, eax
add ebx, dword [esp + 0x18]
add esp, 4
mov ecx, ebx
mov esi, ebp
call fcn.1003aae0
test eax, eax
jne 0x1003ae46
mov ecx, ebx
mov edx, ebp
call fcn.1003abb0
test eax, eax
jne 0x1003ae4d
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
add esi, ebx
add edi, ebx
mov dword [esp + 0x10], esi
cmp esi, 0x300
jb 0x1003ad77
xor eax, eax
mov ecx, dword [esp + 0x31c]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10063ade
add esp, 0x310
ret
mov eax, 1
jmp 0x1003ae2d
mov eax, 2
jmp 0x1003ae2d
Function at 0x1004b390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [eax]
sub esp, 8
push ebx
mov ebx, dword [eax + 4]
push ebp
mov ebp, dword [esp + 0x14]
push edi
xor edi, edi
test ebp, ebp
jg 0x1004b3b5
pop edi
pop ebp
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x18]
inc cl
movzx ecx, cl
mov edx, dword [eax + ecx*4 + 8]
add bl, dl
mov dword [esp + 0xc], edx
movzx edx, bl
mov dword [esp + 0x18], edx
mov edx, dword [eax + edx*4 + 8]
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ebx*4 + 8], edx
test esi, esi
je 0x1004b3fa
mov dl, byte [esp + 0x10]
add dl, byte [esp + 0xc]
movzx edx, dl
movzx edx, byte [eax + edx*4 + 8]
xor byte [edi + esi], dl
inc edi
cmp edi, ebp
jl 0x1004b3b1
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
pop ebp
mov dword [eax + 4], ecx
pop ebx
add esp, 8
ret
Function at 0x100635e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x14], 0
mov ebx, eax
mov esi, ecx
jne 0x10063714
test esi, esi
je 0x10063714
test ebx, ebx
je 0x10063714
push 0x2e
push esi
call fcn.100658b0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x10063714
sub esi, eax
mov eax, dword [edi + 0x70]
add esi, ebx
push edi
mov dword [esp + 0x18], esi
call eax
mov edi, eax
add esp, 4
test edi, edi
je 0x10063714
push 0x5c
push edi
call fcn.100658b0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x10063654
mov dword [esp + 0x10], edi
mov ebp, edi
jmp 0x10063659
inc ebp
mov dword [esp + 0x10], ebp
push 0x2e
push ebp
call fcn.100658b0
add esp, 8
test eax, eax
jne 0x1006367c
lea ecx, [ebp + 1]
jmp 0x10063670
mov al, byte [ebp]
inc ebp
test al, al
jne 0x10063670
sub ebp, ecx
jmp 0x10063680
sub eax, ebp
mov ebp, eax
lea ebx, [esi + ebp]
lea edi, [ebx + 4]
lea eax, [edi + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.10063c44
mov esi, eax
add esp, 4
test esi, esi
je 0x10063714
mov ecx, dword [esp + 0x10]
push ebp
push ecx
lea edx, [esi + 4]
push edx
mov dword [esi], ebx
call fcn.10069d90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esi + ebp + 4]
push edx
call fcn.10069d90
xor ecx, ecx
add esp, 0x18
xor eax, eax
cmp edi, ecx
jbe 0x100636d8
lea esp, [esp]
xor byte [eax + esi], al
inc eax
cmp eax, edi
jb 0x100636d0
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
mov dword [esi + edi], 0x4352482a
mov dword [esi + edi + 4], 0x4e41454c
mov dword [esi + edi + 8], ecx
mov dword [esi + edi + 0xc], edi
mov dword [esi + edi + 0x10], ecx
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push esi
push ecx
push edx
push eax
mov eax, dword [eax + 0x60]
call eax
push esi
call fcn.10063aed
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x10063ade
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a9450]
jne 0x10063ae8
repz ret
jmp fcn.100665f9
Function at 0x10071806
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1006bf3a
and dword [ebp - 4], 0
cmp dword [0x100bd654], 0
mov ebx, eax
jne 0x100718b7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10071968
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10071968
push eax
call fcn.1006bec8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100bd654], eax
call esi
push eax
call fcn.1006bec8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100bd658], eax
call esi
push eax
call fcn.1006bec8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100bd65c], eax
call esi
push eax
call fcn.1006bec8
pop ecx
mov dword [0x100bd664], eax
test eax, eax
je 0x100718b7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1006bec8
pop ecx
mov dword [0x100bd660], eax
mov eax, dword [0x100bd660]
cmp eax, ebx
je 0x1007190f
cmp dword [0x100bd664], ebx
je 0x1007190f
push eax
call fcn.1006bf43
push dword [0x100bd664]
mov esi, eax
call fcn.1006bf43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1007190f
test edi, edi
je 0x1007190f
call esi
test eax, eax
je 0x10071906
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10071906
test byte [ebp - 0xc], 1
jne 0x1007190f
or dword [ebp + 0x10], 0x200000
jmp 0x10071948
mov eax, dword [0x100bd658]
cmp eax, ebx
je 0x10071948
push eax
call fcn.1006bf43
pop ecx
test eax, eax
je 0x10071948
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10071948
mov eax, dword [0x100bd65c]
cmp eax, ebx
je 0x10071948
push eax
call fcn.1006bf43
pop ecx
test eax, eax
je 0x10071948
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100bd654]
call fcn.1006bf43
pop ecx
test eax, eax
je 0x10071968
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1007196a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10012308
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov dword [ebp - 8], 0x1928c176
mov ebx, ecx
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
push esi
push edi
je 0x1001232c
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x10012345
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
lea eax, [ebp - 0x20]
push eax
call fcn.100089a9
mov esi, eax
lea edi, [ebp - 0x14]
pop ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100122f9
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov eax, dword [eax + ecx*8 + 4]
mov esp, ebp
pop ebp
ret
Function at 0x1001985c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10019875
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x10019a46
mov dword [ebp - 8], 0xfffffffb
mov dword [ebp - 0x24], 0x2dafbbd
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0x28eaf608
mov dword [ebp - 0x7c], 0xfffffffe
mov dword [ebp - 0x78], 0xfffffffe
mov dword [ebp - 0x74], 0xfffffffe
mov dword [ebp - 0x70], 0xfffffffe
lea ecx, [ebp - 1]
call fcn.10008763
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1001a328
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x68]
call fcn.1001a2d7
mov dword [ebp - 0xc], 0
jmp 0x100198f8
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x1001990b
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x54], 0x4129b857
jmp 0x100198f1
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
je 0x1001991c
mov dword [ebp - 0x20], 1
jmp 0x10019920
and dword [ebp - 0x20], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x54], 0
jge 0x10019936
mov dword [ebp - 0x10], 1
jmp 0x1001993a
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xffffffff
jbe 0x10019949
mov dword [ebp - 0x14], 1
jmp 0x1001994d
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
imul eax, dword [ebp - 0x18], 0xa720
test eax, eax
jne 0x1001996a
cmp dword [ebp - 8], 0
jne 0x1001996a
and dword [ebp - 0x1c], 0
jmp 0x10019971
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0xffffffff
jg 0x10019980
mov dword [ebp - 0x28], 1
jmp 0x10019984
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jge 0x100199a5
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x54], 0
jne 0x100199a5
and dword [ebp - 0x2c], 0
jmp 0x100199ac
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x2c]
imul eax, ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100199d5
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x54], 0
jne 0x100199d5
and dword [ebp - 0x34], 0
jmp 0x100199dc
mov dword [ebp - 0x34], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0x34], eax
jge 0x100199f4
mov dword [ebp - 0x38], 1
jmp 0x100199f8
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x3c], eax
jle 0x10019a0f
mov dword [ebp - 0x40], 1
jmp 0x10019a13
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
jne 0x10019a22
mov dword [ebp - 0x44], 1
jmp 0x10019a26
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
add eax, 0xffff
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x4c], 0xffff
lea ecx, [ebp - 0x68]
call fcn.1001a2fd
mov esp, ebp
pop ebp
ret
Function at 0x1002f3d6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.1002ea20
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002f406
xor eax, eax
jmp 0x1002f561
push 0x1ab9
lea eax, [ebp - 8]
push eax
push 0x4460
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.1002ea6e
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002f438
xor eax, eax
jmp 0x1002f561
push 0x2b34
lea eax, [ebp - 0xc]
push eax
push 1
push 0x4259
push 0x48e2
lea eax, [ebp - 8]
push eax
push 0x2622
call fcn.1002eb03
add esp, 0x1c
cmp dword [ebp - 0xc], 0
jne 0x1002f46b
xor eax, eax
jmp 0x1002f561
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
push 1
call fcn.1002e8ea
add esp, 0x18
push 0x7283
push 0
push 0x1eca
push dword [ebp - 4]
push dword [ebp - 8]
push 0x64dc
push dword [ebp + 8]
call fcn.10028462
add esp, 0x1c
push 0x66d8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xa73
push 1
lea eax, [ebp - 8]
push eax
call fcn.1002f344
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x1002f4df
push dword [ebp - 0x14]
push dword [ebp - 4]
push 1
call fcn.100298b1
add esp, 0xc
push dword [ebp - 4]
call fcn.1002e4af
pop ecx
test eax, eax
jne 0x1002f4f0
xor eax, eax
jmp 0x1002f561
push 0x4f8c
push 0x496d
push dword [ebp - 4]
push 1
call fcn.10025349
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002f549
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002f526
xor eax, eax
jmp 0x1002f561
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002f53f
xor eax, eax
jmp 0x1002f561
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002f55a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002f55e
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10049e2b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10049e72
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
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 eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x10049e86
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10049e86
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x10056d42
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10056df3
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x10
jmp 0x10056d9a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffe6
jne 0x10056df1
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x5e0a
jle 0x10056dbd
mov dword [ebp - 0x20], 1
jmp 0x10056dc1
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
push 5
pop eax
sub eax, dword [ebp - 0x24]
cmp eax, 9
jne 0x10056de3
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x10056de3
mov dword [ebp - 8], 1
jmp 0x10056de7
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
jmp 0x10056d8f
jmp 0x10056e11
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10056e11
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x100817b5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008b330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100724f2
mov dword [ebp - 0x14], eax
cmp dword [0x1067829c], esi
jne 0x100818a8
push 0x800
push esi
push 0x1000780c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10081835
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10081988
push esi
push esi
push 0x1000780c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10081988
push 0x10007824
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10081988
push eax
call ebx
push 0x10007830
push edi
mov dword [0x1067829c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007840
push edi
mov dword [0x106782a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007854
push edi
mov dword [0x106782a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106782ac], eax
test eax, eax
je 0x100818a5
push 0x10007870
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106782a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100818cd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100818c0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100818e2
push 4
pop eax
jmp 0x1008198a
cmp dword [ebp - 0x14], esi
je 0x100818e2
push dword [0x1067829c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100818c7
mov eax, dword [0x106782a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10081940
cmp dword [0x106782ac], edi
je 0x10081940
push eax
call ebx
push dword [0x106782ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10081940
test eax, eax
je 0x10081940
call ecx
test eax, eax
je 0x10081935
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10081935
test byte [ebp - 8], 1
jne 0x10081940
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10081970
mov eax, dword [0x106782a0]
cmp eax, edi
je 0x1008196d
push eax
call ebx
test eax, eax
je 0x1008196d
call eax
mov esi, eax
test esi, esi
je 0x1008196d
mov eax, dword [0x106782a4]
cmp eax, edi
je 0x1008196d
push eax
call ebx
test eax, eax
je 0x1008196d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067829c]
call ebx
test eax, eax
je 0x10081988
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008198a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x40c9fd
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 0x40ca1e
jl 0x40ca15
test edi, edi
jne 0x40ca1e
xor eax, eax
xor edx, edx
jmp 0x40cadf
cmp dword [ebx + 0x38], 0
je 0x40ca33
push eax
push edi
push dword [ebp + 8]
call fcn.0040cae5
jmp 0x40cadf
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40ca7a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40ca7a
cmp eax, edi
jb 0x40ca54
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0042fe60
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 0x40ca80
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40cad4
mov ecx, ebx
call fcn.0040c0c5
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40cabf
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0045a2aa
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 0x40cad4
jmp 0x40ca92
test edx, edx
je 0x40cad4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0045a2aa
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 0x41e082
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x41e0a5
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x41e093
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x42daf6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0045d2a3
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x42db35
sub eax, 1
je 0x42db30
sub eax, 1
je 0x42db2c
xor eax, eax
leave
ret
push 3
jmp 0x42db37
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x42f140
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42f17f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f17f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f17f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42f17f
cmp dword [ecx + 0x74], 0xe
jbe 0x42f17f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x46d821
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x48fbfc
push 0x48fbf4
push str.FlsAlloc
push 0x1e
call fcn.0046d4f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46d855
push dword [ebp + 8]
mov ecx, esi
call dword [0x48a224]
call esi
jmp 0x46d85b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x46d89f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x48fc0c
push 0x48fc04
push str.FlsGetValue
push 0x20
call fcn.0046d4f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46d8d6
push dword [ebp + 8]
mov ecx, esi
call dword [0x48a224]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]