joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453e14
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x453e26
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6a0
mov eax, dword [0x503a0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4541b8
mov eax, dword [0x503a18]
mov dword [eax + 4], ebx
mov dword [eax], 0x4541c4
mov eax, ebx
call fcn.004541d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44fc68
push eax
push 0
push 0
mov eax, dword [0x503b70]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e24c]
call fcn.0041faa0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e24c]
call fcn.0041faa0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e24c]
call fcn.0041faa0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454600
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4544d0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4544d0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4544d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453f63
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4542b4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45445f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454440
mov dl, 1
mov eax, dword [0x412530]
call fcn.00403844
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45442f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00447274
test al, al
je 0x454422
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x454470
lea eax, [ebp - 0x254]
call fcn.00409374
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454422
xor eax, eax
push ebp
push 0x45441b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4544a8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454404
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404910
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x454404
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454422
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x454325
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416298
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454466
lea eax, [ebp - 0x260]
call fcn.004046a0
ret

Function at 0x454dd8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5075a8]
cmp byte [eax + 0xad], 0
jne 0x454e49
cmp dword [0x5075c0], 0
jne 0x454e0a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454d94
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5075c0], eax
cmp dword [0x5075bc], 0
jne 0x454e25
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5075bc], eax
cmp dword [0x5075c4], 0
jne 0x454e49
push esp
push 0
push 0
push 0x454d38
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5075c4], eax
pop edx
ret
Function at 0x45501c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x455033
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6a0
mov eax, dword [0x503b58]
cmp word [eax + 2], 0
jne 0x45505b
mov eax, dword [0x503b58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456acc
mov eax, dword [0x503c08]
cmp word [eax + 2], 0
jne 0x455075
mov eax, dword [0x503c08]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456cd8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41210c]
call fcn.00403844
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41ed5c]
call fcn.004263f0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45522c
mov eax, dword [0x503a74]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004267c4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457398
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x503a74]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cb20
test eax, eax
je 0x45517c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408d2c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cb54
test eax, eax
je 0x455190
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404910
mov byte [ebx + 0xd4], 0
push ebx
push 0x45662c
call fcn.0041b81c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x50395c]
cmp byte [eax], 0
jne 0x4551e1
mov eax, ebx
call fcn.00455370
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00457574
mov eax, ebx
call fcn.004580d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455221
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4555f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5075a8]
cmp dword [eax + 0x30], 0
je 0x45569a
cmp dword [ebx + 0x94], 0
jne 0x455694
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455580
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455694
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45565a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455694
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414540
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455669
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4563b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4563e9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404790
jmp 0x4563f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457758
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4577c6
mov eax, esi
call fcn.00441fe8
test al, al
je 0x4577c6
mov eax, dword [ebx + 0x84]
call fcn.00441c74
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4577c6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4577ba
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441c74
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043a0a0
jmp 0x4577c6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00457594
pop esi
pop ebx
ret
Function at 0x414ac0
Capabilities:
Authenticate hmac

Disassembly:
xchg esp, eax
sbb al, 0x33
or byte [ebx], 0x9a
sub byte ss:[ebx - 0x25], 0x36
dec ecx
test al, 0xdb
sub byte ss:[ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0xde
dec ebx
xchg esp, eax
and al, 0xc9
inc ebx
imul ebx, ebx, 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0xf5
fcomi st(5)
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0xf5
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x96
invalid
invalid
loopne 0x414a06
cmp cl, byte [ebx]
retf
call 0x683581b2
pop eax
fiadd word [ecx + 0x68b5c81f]
push 0xffffffffffffffaf
enter 0x68b5, 0x6a
scasd eax, dword es:[edi]
sub dword [ebx + 0x5a], ebp
xor edx, dword [esi - 0x21db6b23]
dec ebx
or eax, 0x4e6bc924
xor esi, dword [edx]
and al, 0xc9
imul ecx, dword [esi + 0x33], 0x32
loop 0x414a2f
and al, 0x8e
sub byte [ebx - 0x25], 0x37
push 0x7fc98441
or bh, 0xc9
mov ch, 0x3b
xor byte [edi - 0x80], 0x83
iretd
out 0xf1, al
jle 0x414a47
pop esi
div ah
outsb dx, byte [esi]
xor eax, edx
fist word [esp - reloc.winhttp.dll_WinHttpCrackUrl]
arpl word [ecx], cx
mov ds, word [reloc.winhttp.dll_WinHttpCrackUrl]
add dword ss:[ebx], 0x6bc2f40b
mov cl, 0xc0
push 0x7fc81e11
cmp esi, dword [ebx]
xchg edx, eax
inc esi
xchg ebp, eax
and al, 0x8f
or byte [ebx + 0x6f3a3699], 0x3b
je 0x414a66
shr ebx, cl
push esi
shr dword [ebx + 0x33], 0x66
jg 0x414a83
and al, 0xde
fist dword [esp - 0x4484c737]
ja 0x414a7a
or dword [edx], 0xffffffb0
jg 0x414a93
adc dh, ch
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0xc9
jg 0x414aa7
and al, 0x36
sub byte [ebx - 0x25], 0xc9
jg 0x414aaf
and al, 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub byte [ebx - 0x25], 0x36
sub al, 0x37
xor al, byte [edi + 0x6f]
invalid
Function at 0x1e7a2dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1e7a2a6b
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2a20
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1e7a2a6b
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2a20
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1e7a2a6b
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2a20
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1e7a2a5b
and bl, byte [ecx - 0x62776d68]
jl 0x1e7a2ee0
invalid
invalid
Function at 0x1e7a2e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1e7a2a6b
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2a20
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1e7a2a6b
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2a20
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1e7a2a6b
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2a20
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1e7a2a5b
and bl, byte [ecx - 0x62776d68]
jl 0x1e7a2ee0
invalid
invalid

Function at 0x1e7a2fd0
Capabilities:
Encrypt data using rc4 prga
Inspect section memory permissions

Disassembly:
invalid
movsd dword es:[edi], dword [esi]
jae 0x1e7a2f74
or dword [ebx - 0x1fcc382], 0xffffff89
mov ebp, 0xffffff78
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x1e7a324a
add eax, esi
mov dword [ebp - 0x44], eax
Function at 0x1e7a3080
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x1e7a3000
cmp dword [eax + 0xc], ebx
je 0x1e7a30a3
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.1e7a2a5b
lodsd eax, dword [esi]
xor eax, 0x5d39d263
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x1e7a3091
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x1e7a306c
and eax, 0xffff
push eax
jmp 0x1e7a3070
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1e7a2a20
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x1e7a324a
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x1e7a3051
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x1e7a2ff2
call fcn.1e7a2a5b
cmpsb byte [esi], byte es:[edi]
inc esp
lds ebp, [eax]
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x1e7a310f
add eax, esi
cmp dword [eax], ebx
je 0x1e7a310f
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1e7a310a
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1e7a30f4
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1e7a30fc
cmp edx, ebx
jne 0x1e7a324a
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1e7a30cb
add eax, dword [eax + 4]
jmp 0x1e7a30b8
mov dword [ebp + 0xc], ebx
jmp 0x1e7a311a

Function at 0x1e7a3190
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1e7a3132
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1e7a3150
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
xchg esp, eax
invalid
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1e7a31ae
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1e7a3195
invalid
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1e7a319e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1e7a31a8
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1e7a318a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1e7a3114
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx

Function at 0x1e7a32c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [eax + 0x56fffffc], edi
Function at 0x1e7a49e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sar ch, 1
invalid
and dword [ebp - 0x37c], 0
call fcn.1e7a2a5b
jge 0x1e7a49e8
outsd dx, dword [esi]
loopne 0x1e7a49ea
invalid
invalid
jp 0x1e7a49bf
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x1e7a4a3e
lea eax, [ebp - 0x714]
push eax
call fcn.1e7a2a6b
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1e7a2a20
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x1e7a4a3e
jmp 0x1e7a43fd
cmp dword [ebp - 0x37c], 0
je 0x1e7a4a4c
jmp 0x1e7a4b01
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x1e7a4aa5
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
stc
invalid
invalid
jmp 0x1e7a4aaa
jmp 0x1e7a43fd
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x1e7a4af1
lea eax, [ebp - 0x714]
push eax
call fcn.1e7a2a6b
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1e7a2a20
add esp, 0xc
mov dword [ebp - 0x37c], eax
invalid
cmp dword [ebp - 0x37c], 0

Function at 0x1e7a7500
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0x1e7ba2c0
je 0x1e7a751c
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 8]
cmp ecx, 2
jne 0x1e7a7541
test eax, eax
je 0x1e7a754a
mov eax, dword [sym.imp.python27.dll__Py_TrueStruct]
inc dword [eax]
ret 8
cmp ecx, 3
jne 0x1e7a7554
test eax, eax
je 0x1e7a7537
mov eax, dword [sym.imp.python27.dll__Py_ZeroStruct]
inc dword [eax]
ret 8
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
ret 8

Function at 0x1e7a9d00
Capabilities:
Set thread local storage value

Disassembly:
cmp dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], 0
push ebx
mov ebx, dword [sym.imp.python27.dll_Py_FatalError]
push esi
push edi
mov edi, dword [sym.imp.python27.dll_PyThreadState_Swap]
jne 0x1e7a9d3d
push 0
call edi
mov esi, eax
add esp, 4
test esi, esi
jne 0x1e7a9d2f
push str.pywintypes:_can_not_setup_interpreter_state__as_current_state_is_invalid
call ebx
add esp, 4
mov eax, dword [esi + 4]
push esi
mov dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], eax
call edi
add esp, 4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1e7a9d57
push 0x1e7b1104
call ebx
add esp, 4
mov ecx, dword [0x1e7ba8c8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
call edi
push eax
mov dword [esi], eax
call edi
add esp, 8
pop edi
mov dword [esi + 4], 0
pop esi
pop ebx
ret
Function at 0x1e7a9d80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1e7ba8c8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1e7a9def
push esi
push edi
mov edi, dword [sym.imp.python27.dll_Py_FatalError]
cmp dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], eax
jne 0x1e7a9daa
push str.Can_not_setup_thread_state__as_have_no_interpreter_state
call edi
add esp, 4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1e7a9dc4
push str.Out_of_memory_allocating_thread_state.
call edi
add esp, 4
mov ecx, dword [0x1e7ba8c8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState]
push edx
call dword [sym.imp.python27.dll_PyThreadState_New]
add esp, 4
mov dword [esi], eax
mov eax, 1
pop edi
mov dword [esi + 4], eax
pop esi
ret
xor eax, eax
ret

Function at 0x1e7a9e40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1e7ba8c8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1e7a9e7b
cmp dword [esi + 4], 0
je 0x1e7a9e7b
mov ecx, dword [esi]
push ecx
call dword [sym.imp.python27.dll_PyThreadState_Delete]
mov edx, dword [0x1e7ba8c8]
add esp, 4
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
ret