joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417240
Capabilities:
Get disk information
Manipulate console buffer
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
jmp 0x417265
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x4172ae
mov dword [0x2bd0084], 0x8e46a6f0
cmp dword [0x2bd041c], 0x3dc
jne 0x4172ac
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x41725c
mov dword [ebp - 0x10], 0
jmp 0x4172c0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x41735b
cmp dword [0x2bd041c], 0xa5f
jne 0x417312
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.lewujuyenehuzehiji
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x10], 0x84620b
jne 0x417336
mov edx, dword [0x429940]
mov dword [0x2bd041c], edx
mov eax, dword [0x2bd041c]
add eax, 0xa231
mov dword [0x2bd041c], eax
cmp dword [0x2bd041c], 0x141
jne 0x417356
mov dword [0x42af08], 0xec58acac
mov dword [0x42af0c], 0xffffffff
jmp 0x4172b7
call fcn.00416f60
jmp dword [0x2bcdf9c]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40ff9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041aa23
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ffd2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0040fff3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x414692
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4146d7
call fcn.0041aa23
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4146d7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4146f3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0047fc93
mov ebx, eax
test edi, edi
je 0x4146f1
test esi, esi
je 0x4146f1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4e9cb1
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0051d3e1
call fcn.0041aa77
cmp dword [eax + 0x14], 0
jne 0x4e9ccc
mov ecx, esi
pop esi
jmp fcn.004e90b7
pop esi
ret

Function at 0x4e9dd2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00418d1d
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4e9e0e
call fcn.004e9ff1
mov dword [esi + 0xc], 1
jmp 0x4e9e13
call fcn.004e9ff1
cmp dword [esi], 0
je 0x4e9e5c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4e9e36
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00414767
jmp 0x4e9e47
push 0xff
mov ecx, esi
call fcn.00404ac8
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411d85
jmp 0x4e9e80
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4e9e80
push dword [esi]
push dword [ebp - 4]
call fcn.0041badb
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e9f46
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004e9ff1
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4e9f8e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00414767
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00411d85
jmp 0x4e9f99
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041badb
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x51b11c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0049e985
call fcn.0041aa77
cmp dword [eax + 0x14], 0
jne 0x51b137
mov ecx, esi
pop esi
jmp fcn.0051aa05
pop esi
ret
Function at 0x53d270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59d1a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
call fcn.0053b6e0
mov ecx, eax
call fcn.0053afe0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x53d388
mov eax, 1
imul ecx, eax, 7
mov byte [ebp + ecx - 0x14], 0x73
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x14], 0x67
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x14], 0x61
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x14], 0x73
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x14], 0x74
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x14], 0x65
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x14], 0x73
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x14], 0x65
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x14], 0x57
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x14], 0x50
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x14], 0x6f
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x14], 0x4d
mov edx, 1
imul eax, edx, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xd
jae 0x53d34e
jmp 0x53d353
call fcn.005217d1
mov ecx, dword [ebp - 0x20]
mov byte [ebp + ecx - 0x14], 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x53d388
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052154a
mov esp, ebp
pop ebp
ret

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401007
Capabilities:
Delete file
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 4]
push esi
mov esi, dword [eax]
push edi
xor edi, edi
cmp dword [0x43f934], 0x594
mov dword [ebp - 0x14], esi
jne 0x40103b
push edi
lea eax, [ebp - 0x838]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4305e8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4305ec]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0x2c], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x4305f0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x28], eax
mov eax, dword [0x4305f4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0x20
jmp 0x401080
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
cmp dword [0x43f934], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push edi
lea eax, [ebp - 0x838]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push edi
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x43f934]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x43f930], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010f8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x43f888], edi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, esi
add eax, esi
shr edx, cl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [0x43f92c], 0xf4ea3dee
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, ebx
shr esi, cl
add eax, ebx
mov dword [ebp - 0x1c], eax
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
cmp dword [0x43f934], 0xb03
jne 0x40116f
push str.zawoworobapuwotisumimodalagusuharawiyokisogujonefafunohuz
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
xor dword [ebp - 4], esi
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x40107d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
leave
ret 4
Function at 0x101c43a5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10274118]
jne 0x101c43af
repz ret
jmp fcn.101c70d0

Function at 0x101c802f
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.101c33b3
and dword [ebp - 4], 0
cmp dword [0x1027546c], 0
mov ebx, eax
jne 0x101c80e0
push 0x101cca58
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101c8191
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101cca4c
push edi
call esi
test eax, eax
je 0x101c8191
push eax
call fcn.101c3341
mov dword [esp], 0x101cca3c
push edi
mov dword [0x1027546c], eax
call esi
push eax
call fcn.101c3341
mov dword [esp], 0x101cca28
push edi
mov dword [0x10275470], eax
call esi
push eax
call fcn.101c3341
mov dword [esp], 0x101cca0c
push edi
mov dword [0x10275474], eax
call esi
push eax
call fcn.101c3341
pop ecx
mov dword [0x1027547c], eax
test eax, eax
je 0x101c80e0
push 0x101cc9f4
push edi
call esi
push eax
call fcn.101c3341
pop ecx
mov dword [0x10275478], eax
mov eax, dword [0x10275478]
cmp eax, ebx
je 0x101c8138
cmp dword [0x1027547c], ebx
je 0x101c8138
push eax
call fcn.101c33bc
push dword [0x1027547c]
mov esi, eax
call fcn.101c33bc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101c8138
test edi, edi
je 0x101c8138
call esi
test eax, eax
je 0x101c812f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101c812f
test byte [ebp - 0xc], 1
jne 0x101c8138
or dword [ebp + 0x10], 0x200000
jmp 0x101c8171
mov eax, dword [0x10275470]
cmp eax, ebx
je 0x101c8171
push eax
call fcn.101c33bc
pop ecx
test eax, eax
je 0x101c8171
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101c8171
mov eax, dword [0x10275474]
cmp eax, ebx
je 0x101c8171
push eax
call fcn.101c33bc
pop ecx
test eax, eax
je 0x101c8171
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1027546c]
call fcn.101c33bc
pop ecx
test eax, eax
je 0x101c8191
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101c8193
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101c9075
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10273970], 0
mov byte [0x10273974], 0
mov dword [0x10273964], 0x2578
mov dword [0x1027396c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101c90df
xor eax, eax
mov ecx, dword [0x10273968]
add ecx, 0xffffee3c
mov dword [0x10273964], ecx
mov dword [0x1027396c], 0
mov dword [ebp - 0x20], eax
jmp 0x101c911b
mov eax, dword [ebp - 0x1c]
mov dword [0x10273968], 0xf4
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10273964], 0x198b
mov eax, dword [0x1027396c]
add eax, 1
mov dword [0x1027396c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101c90df
jmp 0x101c90bc
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10273978], 0
mov edx, dword [0x10273970]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10273978], edi
mov dword [0x10273964], 0x135a
mov eax, edi
cdq
idiv ecx
mov dword [0x10273970], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10273974], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10273974]
mov edx, dword [0x10273970]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1027396c]
add edx, 1
mov dword [0x1027396c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101c911b
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c94e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [0x10273964], 0x5cf
mov dword [ebp - 0x10], eax
call fcn.101c8cd4
mov ecx, 0xfffff04b
xor edx, edx
mov esi, eax
mov dword [0x10273964], 0x140d
mov edi, dword [eax + 0x3c]
mov ebx, esi
add ebx, edi
mov dword [0x10273968], 0x276
cmp dword [eax + edi], 0x4550
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
je 0x101c9561
jmp 0x101c9581
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
jmp 0x101c95ce
mov al, byte [ebp - 0x31]
test al, 1
jne 0x101c9676
jmp 0x101c964c
mov eax, dword [ebp - 0x14]
mov dword [0x10273968], 0x9cb
mov dword [ebp - 0x38], eax
mov eax, 0xfffff7a0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x101c9581
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [0x10273964], ecx
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x10273968], 0x1d3a
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x48], edx
je 0x101c96a4
jmp 0x101c9539
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x44]
mov edi, dword [esi + eax*4]
mov dword [0x10273964], 0x5cf
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], bh
mov byte [ebp - 0x31], cl
je 0x101c9551
mov eax, dword [ebp - 0x5c]
add eax, 1
mov cl, byte [ebp - 0x5d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x58], eax
jne 0x101c95f2
jmp 0x101c9551
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x3c]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x48], eax
jb 0x101c95ce
jmp 0x101c96a4
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x40]
add edx, 0x1c
mov esi, dword [ebp - 0x18]
add esi, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x68]
add eax, dword [ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x64]
add edx, dword [eax + esi*4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c96ba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10273964]
add esi, 0xffffecd2
mov dword [0x10273964], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101c9791
mov eax, dword [ebp - 0x34]
mov dword [0x10273964], 0x74d
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.101c8f88
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10273964], 0x1a79
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], ecx
mov dword [0x10273968], 0x1509
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x1c], ecx
add ecx, 0x1323
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x101c9788
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101cb90f]
mov dh, byte [eax + 0x101cb8e0]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101c9791
lea eax, [ebp - 0x24]
mov dword [0x10273964], 0x1392
mov dword [0x10273968], 0x3361
mov dword [ebp - 0x44], eax
call fcn.101ca27b
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.101c8e27
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x101c96e9
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101c98e2
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov edx, dword [0x10273964]
add edx, 0xfffffe01
mov dword [0x10273964], edx
mov dword [0x10273968], 0x258d
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.101c91c0
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], 0x14ae00
mov dword [0x10273964], 0x1bf6
mov edx, dword [0x10273950]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10273954]
mov dword [esp + 0x40], edx
mov edx, dword [0x10273958]
add ecx, 0x20
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
lea eax, [0x101c9cdc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov esi, dword [0x1027395c]
mov dword [esp + 0x74], esi
mov esi, dword [0x10273960]
mov dword [esp + 0x94], esi
mov dword [esp + 0x1c], eax
jmp 0x101c99a0
mov eax, dword [esp + 0x18]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x101c99cc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x4550
je 0x101c99e0
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101c99a0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov dword [0x10273964], 0x140d
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
mov dword [0x10273968], 0xa8c
call fcn.101c9d23
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x101c9996
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101c96ba
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x18], eax
jmp 0x101c9996