joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100883c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, ecx
call fcn.10087947
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
je 0x10088489
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0x28]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push eax
call edi
movzx ecx, byte [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov edx, 0x100
imul cx, dx
shr eax, 8
movzx eax, al
add ax, cx
xor ecx, ecx
mov word [ebp - 0xc], ax
mov dword [ebp - 0x24], ebx
cmp cx, ax
jae 0x10088466
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x18]
call edi
cmp dword [ebp - 0x20], 0x70616d63
je 0x10088466
movzx eax, word [ebp - 0xc]
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], eax
jl 0x10088441
lea eax, [ebp - 0x18]
push eax
call fcn.100879d4
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.10088071
push dword [esi + 0x18]
mov dword [esi + 0x1c], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x18], ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.100b4c22
leave
ret 4

Function at 0x1008c620
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_getenv]
push str.IMLIB_DEBUG
call esi
add esp, 4
mov ebx, 1
test eax, eax
je 0x1008c662
call sym.awt.dll_awt_setMlibStartTimer
mov dword [0x10100298], eax
call sym.awt.dll_awt_setMlibStartTimer
cmp dword [0x10100298], 0
mov dword [0x1010029c], eax
je 0x1008c662
test eax, eax
je 0x1008c662
mov dword [0x10100288], ebx
push str.IMLIB_PRINT
call esi
add esp, 4
test eax, eax
je 0x1008c676
mov dword [0x1010028c], ebx
push str.IMLIB_START
call esi
add esp, 4
test eax, eax
je 0x1008c698
push 0x10100290
push 0x100cf05c
push eax
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0xc
push str.IMLIB_NOMLIB
call esi
add esp, 4
test eax, eax
je 0x1008c6b3
pop esi
mov dword [0x10100294], ebx
xor al, al
pop ebx
ret 8
mov eax, dword [esp + 0xc]
push 0x1010027c
push 0x100fce2c
push eax
call fcn.100b493e
add esp, 0xc
test eax, eax
jne 0x1008c6a6
pop esi
mov al, bl
pop ebx
ret 8
Function at 0x10093269
Capabilities:
Get keyboard layout

Disassembly:
push 0x14
mov eax, 0x100b7a16
call fcn.100b4d71
and dword [ebp - 4], 0
call fcn.100b022b
call fcn.100b493e
mov edi, dword [ebp + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x13]
push ecx
push dword [ebp + 0x10]
push edi
call dword [eax + 0x2a4]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x10093337
movzx eax, word [0x100ffb2c]
push eax
call sub.java.dll_getJavaIDFromLangID
mov esi, eax
pop ecx
test esi, esi
je 0x100932e5
push ebx
push esi
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x100932dd
mov eax, dword [edi]
push ebx
push dword [ebp + 0x10]
push edi
call dword [eax + 0x2a8]
push esi
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov al, 1
jmp 0x10093339
push esi
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov ebx, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
push 0
call ebx
mov edi, eax
inc edi
js 0x100933e8
cmp edi, 0xffffffff
ja 0x100933e8
test edi, edi
je 0x10093313
cmp edi, 0x3fffffff
ja 0x100933e8
mov eax, edi
shl eax, 2
push eax
call fcn.100b493e
mov esi, eax
pop ecx
test esi, esi
jne 0x10093341
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2a8]
xor al, al
call fcn.100b4e16
ret 0x10
lea eax, [esi + 4]
push eax
lea eax, [edi - 1]
push eax
call ebx
call fcn.100b493e
and dword [ebp - 0x18], 0
mov dword [esi], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x18]
cmp eax, edi
jge 0x100933b4
lea ebx, [esi + eax*4]
movzx eax, word [ebx]
push eax
call sub.java.dll_getJavaIDFromLangID
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100933e0
push dword [ebp - 0x1c]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x100933d6
push dword [ebx]
movzx eax, byte [ebp + 0x14]
push eax
push 0x9823
mov ecx, 0x101004d8
call fcn.10019d20
test eax, eax
je 0x100933aa
push dword [ebx]
call fcn.100a4130
pop ecx
mov byte [ebp - 0x11], 1
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2a8]
push esi
call dword [sym.imp.MSVCR100.dll_free]
mov al, byte [ebp - 0x11]
pop ecx
jmp 0x10093339
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
inc dword [ebp - 0x18]
jmp 0x1009335a
xor eax, eax
lea edi, [ebp + 0x17]
stosb byte es:[edi], al
mov al, byte [ebp + 0x17]
mov byte [ebp - 0x12], al
push 0x100da640
lea eax, [ebp - 0x12]
push eax
call sub.MSVCR100.dll__CxxThrowException
call fcn.100b024a
mov eax, 0x1009340d
ret
Function at 0x10093418
Capabilities:
Get keyboard layout

Disassembly:
push 0x1c
mov eax, 0x100b7a31
call fcn.100b4d71
xor edi, edi
mov dword [ebp - 4], edi
call fcn.100b022b
call fcn.100b493e
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push edi
push edi
call esi
mov ebx, eax
cmp ebx, edi
jl 0x100935cc
cmp ebx, 0xffffffff
ja 0x100935cc
cmp ebx, edi
je 0x10093460
cmp ebx, 0x3fffffff
ja 0x100935cc
mov edi, ebx
shl edi, 2
push edi
call fcn.100b493e
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100934aa
push eax
push ebx
call esi
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
cmp ebx, esi
je 0x10093492
cmp ebx, 0x3fffffff
ja 0x100935b2
push edi
call fcn.100b493e
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x100934b4
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
xor eax, eax
call fcn.100b4e16
ret 8
cmp dword [ebp - 0x24], ebx
jge 0x1009350a
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + ecx*4]
push eax
call sub.java.dll_getJavaIDFromLangID
mov edi, eax
pop ecx
test edi, edi
je 0x10093502
xor esi, esi
cmp esi, dword [ebp - 0x20]
jge 0x100934f4
mov eax, dword [ebp - 0x1c]
push edi
push dword [eax + esi*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10093507
push edi
call dword [sym.imp.MSVCR100.dll_free]
cmp esi, dword [ebp - 0x20]
pop ecx
jne 0x10093502
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
mov dword [eax + esi*4], edi
inc dword [ebp - 0x24]
jmp 0x100934b4
inc esi
jmp 0x100934d2
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [ebp - 0x20], 0
push str.java_util_Locale
push esi
call dword [eax + 0x18]
xor edi, edi
mov dword [ebp + 8], eax
cmp eax, edi
je 0x10093572
mov ecx, dword [esi]
push edi
push eax
push dword [ebp - 0x18]
push esi
call dword [ecx + 0x2b0]
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x10093569
cmp edi, dword [ebp - 0x18]
jge 0x10093569
mov eax, dword [ebp - 0x1c]
push dword [eax + edi*4]
push esi
call fcn.1009310c
pop ecx
pop ecx
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
mov eax, dword [esi]
je 0x10093589
push dword [ebp - 0x20]
push esi
call dword [eax + 0x5c]
and dword [ebp - 0x20], 0
push dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
xor esi, esi
cmp esi, dword [ebp - 0x18]
jge 0x10093598
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
inc esi
jmp 0x10093574
push ebx
push edi
push dword [ebp - 0x20]
push esi
call dword [eax + 0x2b8]
inc edi
jmp 0x1009353a
push dword [ebp - 0x28]
mov esi, dword [sym.imp.MSVCR100.dll_free]
call esi
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
jmp 0x100934ac
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x11], al
push 0x100da640
lea eax, [ebp - 0x11]
push eax
call sub.MSVCR100.dll__CxxThrowException
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x12], al
push 0x100da640
lea eax, [ebp - 0x12]
jmp 0x100935c6
Function at 0x10098ab6
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp + 0x388], eax
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc08]
push edi
call fcn.100a9f93
mov edi, eax
test edi, edi
je 0x10098c87
push ebx
push 0xc
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [esi + 0xc08]
push edi
mov ebx, eax
call fcn.100a9f9d
cmp ebx, 8
jne 0x10098b53
mov ecx, dword [esi + 0xc08]
call fcn.100a9f93
mov ebx, eax
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.1009892f
pop ecx
pop ecx
mov ecx, dword [esi + 0xc08]
push ebx
mov edi, eax
call fcn.100a9f9d
cmp edi, dword [esi + 0xc00]
jne 0x10098b5a
mov eax, edi
shl eax, 2
push eax
lea eax, [esi + 0x800]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.MSVCR100.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10098b5a
xor eax, eax
jmp 0x10098c86
mov eax, 0x100
cmp edi, eax
jle 0x10098b65
mov edi, eax
mov eax, edi
shl eax, 2
push eax
lea eax, [ebp - 0x78]
push eax
lea ebx, [esi + 0x800]
push ebx
call sub.MSVCR100.dll_memcpy
and dword [ebp - 0x80], 0
add esp, 0xc
lea eax, [edi - 1]
push ebx
mov ecx, esi
mov dword [esi + 0xc00], edi
mov dword [ebp - 0x7c], eax
call fcn.100b493e
cmp eax, 1
jne 0x10098b9f
push 2
jmp 0x10098be2
cmp eax, 2
jne 0x10098ba8
push 3
jmp 0x10098be2
push str.FORCEGRAY
call dword [sym.imp.MSVCR100.dll_getenv]
pop ecx
test eax, eax
je 0x10098be0
push 0xa
pop edx
lea eax, [esi + 0x7d8]
mov ecx, edx
and dword [eax - 0x3d8], 0
and dword [eax], 0
add eax, 4
dec ecx
jne 0x10098bc3
sub edi, 0x14
sub dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], edx
push 1
jmp 0x10098be2
push 0
mov ecx, dword [esi + 0xc08]
call fcn.100aa544
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x7c]
jg 0x10098c26
lea eax, [esi + ecx*4 + 0x400]
movzx edx, byte [ebp + ecx*4 - 0x78]
movzx ebx, byte [ebp + ecx*4 - 0x77]
or edx, 0xffffff00
shl edx, 8
or edx, ebx
movzx ebx, byte [ebp + ecx*4 - 0x76]
shl edx, 8
or edx, ebx
mov dword [eax], edx
inc ecx
add eax, 4
cmp ecx, dword [ebp - 0x7c]
jle 0x10098bfc
push 0x20
lea ebx, [esi + 0x400]
push edi
push ebx
call fcn.100b493e
mov dword [esi + 0xc0c], eax
mov eax, dword [esi + 0xc08]
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax]
add esp, 0xc
cmp eax, 3
je 0x10098c55
cmp eax, 1
jne 0x10098c83
test edi, edi
je 0x10098c83
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10098c6c
push eax
call dword [sym.imp.MSVCR100.dll_free]
and dword [edi + 0x10], 0
pop ecx
mov eax, dword [esi + 0xc08]
push dword [eax + 8]
push 0x100
push ebx
call fcn.100b493e
add esp, 0xc
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0x388]
pop edi
xor ecx, ebp
pop esi
call fcn.100b4c22
add ebp, 0x38c
leave
ret
Function at 0x100a5c50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.100b022b
call fcn.100b493e
mov esi, dword [sym.imp.kernel32.dll_GetVersion]
call esi
push eax
push eax
push str.0x_x___ld
lea eax, [ebp - 0x114]
push 0x80
push eax
call fcn.100a3e5f
add esp, 0x14
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenW]
mov edi, eax
call esi
cmp al, 5
jb 0x100a5d17
call esi
cmp al, 5
jb 0x100a5cdc
call esi
shr eax, 8
cmp al, 1
jae 0x100a5ce2
call esi
cmp al, 5
jbe 0x100a5d03
call esi
cmp al, 6
jb 0x100a5cef
push str.__Windows_Vista_
jmp 0x100a5d1c
push str.__Windows_XP_
push 0x80
lea eax, [ebp + edi*2 - 0x114]
push eax
jmp 0x100a5d29
push str.__Windows_2000_
push 0x80
lea ecx, [ebp + edi*2 - 0x114]
push ecx
jmp 0x100a5d29
push str.__Unknown_
push 0x80
lea edx, [ebp + edi*2 - 0x114]
push edx
call fcn.100a3e5f
lea eax, [ebp - 0x114]
add esp, 0xc
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
mov ecx, dword [ebx]
add esp, 4
push eax
mov eax, dword [ecx + 0x28c]
lea edx, [ebp - 0x114]
push edx
push ebx
call eax
jmp 0x100a5d63
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b4c22
mov esp, ebp
pop ebp
ret 8
Function at 0x100ab4e3
Capabilities:
Check os version

Disassembly:
push 0xc
mov eax, 0x100b92f3
call fcn.100b4d71
mov eax, dword [0x100fd620]
cmp eax, 0xfffffffe
jne 0x100ab568
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 6
jae 0x100ab50e
and dword [0x100fd620], 0
xor eax, eax
jmp 0x100ab568
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.100b493e
pop ecx
cmp eax, ebx
jl 0x100ab532
mov ebx, dword [ebp - 0x14]
jmp 0x100ab532
push 0x10002
push dword [0x101004d4]
mov dword [0x100fd620], ebx
call sub.java.dll__JNU_GetEnv_8
movzx ecx, bl
push ecx
push str._Z_V
push str.dwmCompositionChanged
push str.sun_awt_Win32GraphicsEnvironment
push 0
push eax
call sub.java.dll_JNU_CallStaticMethodByName
add esp, 0x18
mov eax, ebx
call fcn.100b4e16
ret
Function at 0x100ab658
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5b4]
sub esp, 0x634
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp + 0x5b0], eax
push ebx
mov ebx, dword [ebp + 0x5bc]
push esi
mov dword [ebp - 0x7c], 0x105
lea esi, [ebp + 0x3a4]
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov ecx, 0x411
cmp ax, cx
jne 0x100ab6a2
mov eax, str.EUDC932
jmp 0x100ab706
mov ecx, 0x804
cmp ax, cx
je 0x100ab701
mov ecx, 0x1004
cmp ax, cx
je 0x100ab701
mov ecx, 0xc04
cmp ax, cx
je 0x100ab6fa
mov ecx, 0x404
cmp ax, cx
je 0x100ab6fa
mov ecx, 0x1404
cmp ax, cx
je 0x100ab6fa
mov ecx, 0x412
cmp ax, cx
jne 0x100ab6e5
mov eax, str.EUDC949
jmp 0x100ab706
mov ecx, 0x409
cmp ax, cx
jne 0x100ab7b6
mov eax, str.EUDC1252
jmp 0x100ab706
mov eax, str.EUDC950
jmp 0x100ab706
mov eax, str.EUDC936
lea ecx, [ebp - 0x78]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ab7b6
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x3a4]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.SystemDefaultEUDCFont
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x100ab7b6
cmp dword [ebp - 0x80], 1
jne 0x100ab7b6
mov ecx, dword [ebp - 0x7c]
xor eax, eax
mov word [ebp + ecx*2 + 0x3a4], ax
lea eax, [ebp + 0x3a4]
push str._SystemRoot_
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x100ab7d1
push str.SystemRoot
call dword [sym.imp.MSVCR100.dll__wgetenv]
pop ecx
test eax, eax
je 0x100ab7b6
lea ecx, [ebp + 0x3bc]
push ecx
push eax
push str._s_s
lea eax, [ebp + 0x198]
push 0x104
push eax
call fcn.100a3e5f
add esp, 0x14
cmp eax, 0xffffffff
jne 0x100ab819
xor eax, eax
mov ecx, dword [ebp + 0x5b0]
pop esi
xor ecx, ebp
pop ebx
call fcn.100b4c22
add ebp, 0x5b4
leave
ret 8
lea eax, [ebp + 0x3a4]
push str.EUDC.TTE
push eax
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x100ab81f
push 0x105
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100ab7b6
lea eax, [ebp - 0x74]
push eax
push str._sFONTSEUDC.TTE
lea eax, [ebp + 0x198]
push 0x104
push eax
call fcn.100a3e5f
add esp, 0x10
lea esi, [ebp + 0x198]
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
mov ecx, dword [ebx]
push eax
push esi
push ebx
call dword [ecx + 0x28c]
jmp 0x100ab7b8

Function at 0x100ab8fd
Capabilities:
Check os version

Disassembly:
mov dword [0x100fd620], 0xfffffffe
jmp fcn.100ab4e3
Function at 0x100b493e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100b494d
pop dword [ebp - 0x14]
mov eax, 0x8ccf07af
add eax, 0x833c419e
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x5e00c395
add dword [ebp - 0x24], 0xf05181b6
mov dword [ebp - 0x20], 0x39760aa3
add dword [ebp - 0x20], 0xf8bd41a2
mov dword [ebp - 0x1c], 0x942aa150
sub dword [ebp - 0x1c], 0x47de5d22
mov dword [ebp - 0x18], 0xfc7f55be
sub dword [ebp - 0x18], 0xfc7f55be
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x88f69bd0
add dword [ebp - 0x24], 0xeb7bcd86
mov dword [ebp - 0x20], 0x5e4e012a
sub dword [ebp - 0x20], 0x1ce19fb5
mov dword [ebp - 0x1c], 0x4a4a97de
sub dword [ebp - 0x1c], 0xe6db2b72
mov dword [ebp - 0x18], 0x6edd8ea7
add dword [ebp - 0x18], 0x91227159
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x4208c
push 0
call eax
mov ecx, 0xd80d1971
sub ecx, 0xd80cbf43
xor ebx, ebx
add ebx, eax
mov esi, 0xab89e57
sub esi, 0xfaa43a57
add esi, dword [ebp - 0x14]
mov edi, 0x21a41dac
sub edi, 0x48abc5ce
mov dword [ebp - 0x10], 0xe16b9cd2
mov edx, dword [esi]
xor edx, edi
add dword [ebp - 0xc], 0xbc628d98
mov dword [ebx], edx
sub dword [ebp - 8], 0xc2f7f0cd
add ebx, 0xe36a930c
add ebx, 0x1c956cf8
add esi, 4
loop 0x100b4a67
add eax, 0x15b8b
mov ebx, eax
add eax, 0x912560e5
add eax, 0x6eda9f20
mov ecx, 0x2082750a
add ecx, 0xef7d8af6
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x100b4c22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100fd640]
jne 0x100b4c2c
repz ret
jmp fcn.100b553f
Function at 0x401996
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
sete dl
cmp dword [ebp + 8], 0
sete al
mov ecx, 0
or dl, al
jne 0x401ada
lea ecx, [edi*4 + 0xb]
mov edx, 0x2aaaaaab
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
lea edx, [edx*4 + 1]
cmp edx, dword [ebp + 0x14]
jle 0x401a3d
mov dword [esp], 0x6f
call 0x40c300
sub esp, 4
mov ecx, 0
jmp 0x401ada
movzx eax, byte [ecx]
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.a1jlvujt]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3d
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
movzx eax, byte [ecx + 1]
and eax, 0xf
movzx eax, byte [eax*4 + section.a1jlvujt]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
mov esi, 0
mov ecx, dword [ebp + 8]
cmp esi, edi
jge 0x401ad2
movzx eax, byte [ecx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.a1jlvujt]
mov byte [ebx], al
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x4019fc
movzx edx, byte [ecx]
and edx, 3
shl edx, 4
movzx eax, byte [ecx + 1]
shr al, 4
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.a1jlvujt]
mov byte [ebx + 1], al
mov eax, edi
sub eax, esi
cmp eax, 2
je 0x401a1f
movzx edx, byte [ecx + 1]
and edx, 0xf
shl edx, 2
movzx eax, byte [ecx + 2]
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.a1jlvujt]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 2]
and eax, 0x3f
movzx eax, byte [eax + section.a1jlvujt]
mov byte [ebx + 3], al
add esi, 3
add ecx, 3
add ebx, 4
cmp esi, edi
jl 0x401a4d
mov byte [ebx], 0
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x100019a6
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
mov ecx, edi
call fcn.100248b4
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], 1
mov dword [ebp - 4], ecx
cmp byte [0x10036ee8], cl
je 0x10001a1a
cmp dword [edi + 0x14], 0x10
jb 0x100019f5
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__reference_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001a1a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call fcn.100248b4
pop ecx
mov eax, esi
call fcn.10026544
ret 8

Function at 0x10001aad
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.100021f9
pop ecx
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov dword [ebp - 4], eax
cmp byte [0x10036ee8], al
je 0x10001b1a
cmp dword [edi + 0x14], 0x10
jb 0x10001af5
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__new_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001b1a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, esi
call fcn.10026544
ret

Function at 0x10001c19
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CMemMappedFile.0
and dword [ebp - 4], 0
cmp byte [0x10036ee8], 0
je 0x10001c6d
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10001c48
mov eax, dword [eax]
push eax
push str.CMemMappedFile__s__dtor
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001c6d
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.10004020
cmp dword [esi + 0x20], 0
je 0x10001c83
push dword [esi + 0x20]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esi + 0x1c], 0
je 0x10001c92
push dword [esi + 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
pop ecx
push esi
call fcn.100248b4
or dword [ebp - 4], 0xffffffff
pop ecx
push 0
push 1
lea ecx, [esi + 4]
call fcn.100248b4
call fcn.10026544
ret