joyce8/EMBER2024-capa huggingface dataset:
Function at 0x94be3c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x94bffb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0094ba3c
mov edi, eax
mov eax, dword [0x991020]
mov eax, dword [eax]
mov eax, dword [eax + 0x4d0]
call fcn.0093f958
mov esi, eax
mov eax, ebx
call fcn.0094cc78
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x4e4]
call fcn.007e7394
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x4e4]
call fcn.007e7360
mov dword [esi + 0x68], eax
lea eax, [esi + 0xc]
mov edx, dword [ebx + 0x4c0]
mov edx, dword [edx + 0x20]
mov edx, dword [edx + 0xc]
call fcn.0040a6f0
lea eax, [esi + 0x10]
mov edx, dword [ebx + 0x4c0]
mov edx, dword [edx + 0x20]
mov edx, dword [edx + 8]
call fcn.0040a6f0
mov eax, dword [ebx + 0x4c0]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
call fcn.0042aff8
fstp qword [esi + 0x30]
wait
call fcn.0042b024
fstp qword [esi + 0x38]
wait
lea eax, [esi + 0x44]
mov edx, dword [ebx + 0x4c4]
mov edx, dword [edx + 0x10]
call fcn.0040a6f0
mov dword [esi + 0x4c], edi
mov eax, dword [ebx + 0x540]
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x4c0]
mov eax, dword [eax + 0x20]
cmp edi, dword [eax + 0x10]
setge al
mov byte [esi + 0x50], al
mov eax, dword [ebx + 0x4c0]
mov eax, dword [eax + 0x28]
call fcn.008e40e4
dec eax
test eax, eax
jl 0x94bf9c
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, esi
call fcn.00934cec
mov edi, eax
mov eax, dword [ebx + 0x4c0]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
call fcn.008e4098
mov edx, dword [eax + 8]
lea eax, [edi + 4]
call fcn.0040a6f0
mov eax, dword [ebx + 0x4c0]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
call fcn.008e4098
mov edx, dword [eax + 4]
mov eax, ebx
call fcn.0094bb2c
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x4c0]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
call fcn.008e4098
mov edx, dword [eax + 4]
mov eax, ebx
call fcn.0094bbec
mov dword [edi + 0xc], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x94bf33
or edx, 0xffffffff
mov eax, ebx
call fcn.0094bb2c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x94bfe3
mov eax, esi
call fcn.00934cec
mov edi, eax
lea ecx, [ebp - 0x10]
or edx, 0xffffffff
mov eax, ebx
call fcn.00949a60
mov edx, dword [ebp - 0x10]
lea eax, [edi + 4]
call fcn.0040a6f0
mov eax, dword [ebp - 4]
mov dword [edi + 8], eax
or edx, 0xffffffff
mov eax, ebx
call fcn.0094bbec
mov dword [edi + 0xc], eax
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x94c002
lea eax, [ebp - 0x10]
call fcn.0040a310
ret
Function at 0x958f88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x958fa0
add esp, 0xfffffff0
call fcn.00408c4c
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x9590ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.004064e8
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x9590a4
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.005ee10c
xor eax, eax
push ebp
push 0x959091
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.005ee10c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.0040b4d0
jmp 0x959062
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.0040b7fc
mov eax, dword [ebx + 4]
call fcn.0040a808
dec eax
jle 0x959076
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x959050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x959098
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9590c1
lea eax, [ebp - 4]
call fcn.0040a358
ret

Function at 0x963934
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x9639fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov dl, 1
mov eax, dword [0x886ea4]
call fcn.00886f60
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 0x44]
mov edx, 0x963a18
call fcn.0040a6f0
lea edx, [ebp - 4]
mov eax, esi
call fcn.009635fc
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x963a7c
call fcn.0040b644
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0
call fcn.0040afa0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.008874b4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0040b4b0
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor edx, edx
mov eax, ebx
call fcn.004c93c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x963a04
lea eax, [ebp - 0x14]
call fcn.0040a310
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040a3a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a370
ret
Function at 0x96a508
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
push 0xf030
push 0x112
mov eax, dword [0x99123c]
mov eax, dword [eax]
call fcn.006074c4
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [0x99123c]
mov eax, dword [eax]
call fcn.005d0d04
mov eax, dword [0x990d98]
mov eax, dword [eax]
call fcn.005d575c
mov eax, ebx
call fcn.005d0cfc
push 0
mov eax, dword [0x990d98]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x4ca], 1
xor edx, edx
mov eax, dword [ebx + 0x410]
call fcn.006472bc
pop ebx
ret

Function at 0x424c60
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00424cdf
jae 0x424c6c
xor ecx, ecx
call fcn.00424cdf
jae 0x424c96
xor eax, eax
call fcn.00424cdf
jae 0x424ca7
mov al, 0x10
call fcn.00424cdf
adc al, al
jae 0x424c88
jne 0x424cd4
stosb byte es:[edi], al
jmp 0x424c6d
call fcn.00424ceb
dec ecx
loop 0x424cb3
mov eax, ebp
call fcn.00424ce9
jmp 0x424cd5
lodsb al, byte [esi]
shr eax, 1
je 0x424cfb
adc ecx, 2
mov ebp, eax
jmp 0x424cd5
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00424ce9
cmp eax, 0x7d00
jae 0x424cd3
cmp eax, 0x500
jae 0x424cd4
cmp eax, 0x7f
ja 0x424cd5
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x424c6d
pop ebp
ret 8
Function at 0x10006eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov eax, ebp
mov ecx, ebp
or eax, 0x9e67924e
and ecx, 0x61986db1
push edi
xor edi, edi
sub ecx, eax
xor ebx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], 0x2ba5d405
mov dword [esp + 0x1c], 0x4d25c369
mov dword [esp + 0x20], 0x80206f79
mov dword [esp + 0x18], 0xfa755180
mov esi, 0x8378a78d
add ecx, 0x7319dbb3
jmp 0x10006f10
add ecx, 0x2b4db69d
cmp ecx, 9
ja case.0x10006f1f.726513303
jmp dword [ecx*4 + 0x1000710c]
lea ecx, [edi + 0x4402304f]
mov eax, 0xbfffffff
imul ecx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffffff
add ecx, eax
jmp 0x10006f10
mov ecx, dword [esp + 0x14]
xor ecx, 0x4387c31c
jmp 0x10006f10
mov eax, dword [esp + 0x1c]
add eax, 0x580c1a5e
cdq
mov ecx, 0x7fffffff
idiv ecx
lea eax, [esi - 0x5aa0d3d1]
xor dword [esp + 0x14], 0x29dc2400
xor dword [esp + 0x20], 0x98a23de0
xor dword [esp + 0x18], 0xdab34138
mov edi, 0x1347b857
mov dword [esp + 0x10], 0x94ba29ee
mov ebx, 0x19bcac8c
mov dword [esp + 0x1c], edx
cdq
idiv ecx
xor ecx, ecx
test ebp, ebp
setg cl
mov esi, edx
xor edx, edx
test ecx, ecx
sete dl
imul ecx, ecx, 0xd4b2496c
imul edx, edx, 0x2b4db695
sub ecx, edx
jmp 0x10006f10
mov ecx, dword [esp + 0x10]
xor ecx, 0x53fbc736
jmp 0x10006f10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x14], 0x954c7a7f
mov dword [esp + 0x28], eax
xor ecx, 0xf47459dc
jmp 0x10006f10
lea ecx, [ebx - 0x6a0d8]
jmp 0x10006f2c
mov ecx, dword [esp + 0x1c]
add ecx, 0x2f806ba1
jmp 0x10006f2c
lea eax, [edi + 0x1ecf1860]
cdq
mov edi, 0x7fffffff
idiv edi
lea eax, [ebx - 0x3ba10952]
mov ebx, 0x7fffffff
mov ecx, dword [esp + 0x20]
xor dword [esp + 0x10], 0xdcdd12b6
xor ecx, 0xcc301bf0
mov edi, edx
cdq
idiv ebx
lea eax, [esi - 0x5a1be226]
mov esi, 0x7fffffff
mov ebx, edx
cdq
idiv esi
mov esi, edx
jmp 0x10006f10
mov ecx, dword [esp + 0x34]
push 0x40
push 0x2000
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x1000
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebp, eax
lea eax, [edi + 0x5e994864]
cdq
mov ecx, 0x7fffffff
idiv ecx
lea eax, [ebx - 0x962b8fa]
xor dword [esp + 0x10], 0xcf2eb504
mov dword [esp + 0x24], ebp
mov edi, edx
cdq
idiv ecx
lea ecx, [esi + 0x5f657cd]
mov eax, 0x40000001
mov ebx, edx
imul ecx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffffff
sub ecx, eax
xor edx, edx
test ebp, ebp
setne dl
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x5f657d1]
mov eax, 0x40000001
mov ebp, edx
imul ecx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffffff
sub ecx, eax
xor edx, edx
imul ecx, ebp
test ebp, ebp
mov ebp, dword [esp + 0x38]
sete dl
imul edx, dword [esp + 0x2c]
add ecx, edx
jmp 0x10006f10
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x100140c2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10016909
xor ebx, ebx
cmp dword [0x10041af0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10014198
push 0x1003aa0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x10014278
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x10014278
push eax
call fcn.1001689b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10041af0], eax
call esi
push eax
call fcn.1001689b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10041af4], eax
call esi
push eax
call fcn.1001689b
mov dword [0x10041af8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10013c65
test eax, eax
pop ecx
pop ecx
je 0x10014166
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100136f9
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10014198
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.1001689b
cmp eax, ebx
pop ecx
mov dword [0x10041b00], eax
je 0x10014198
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001689b
pop ecx
mov dword [0x10041afc], eax
mov eax, dword [0x10041afc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1001421d
cmp dword [0x10041b00], ecx
je 0x1001421d
push eax
call fcn.10016912
push dword [0x10041b00]
mov esi, eax
call fcn.10016912
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1001421d
cmp edi, ebx
je 0x1001421d
call esi
cmp eax, ebx
je 0x100141ea
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100141ea
test byte [ebp - 0x18], 1
jne 0x1001421d
lea eax, [ebp - 0x10]
push eax
call fcn.10013c9c
test eax, eax
pop ecx
je 0x10014205
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100136f9
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10014214
or dword [ebp + 0x10], 0x200000
jmp 0x10014258
or dword [ebp + 0x10], 0x40000
jmp 0x10014258
mov eax, dword [0x10041af4]
cmp eax, dword [ebp - 8]
je 0x10014258
push eax
call fcn.10016912
cmp eax, ebx
pop ecx
je 0x10014258
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10014258
mov eax, dword [0x10041af8]
cmp eax, dword [ebp - 8]
je 0x10014258
push eax
call fcn.10016912
cmp eax, ebx
pop ecx
je 0x10014258
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10041af0]
call fcn.10016912
cmp eax, ebx
pop ecx
je 0x10014278
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001427a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100150cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004032c]
jne 0x100150d5
repz ret
jmp fcn.1001a8eb
Function at 0x10018af4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10040c38]
je 0x10018b0f
inc edi
cmp edi, 0x17
jb 0x10018b00
cmp edi, 0x17
jae 0x10018c8f
push ebp
push 3
call fcn.1001463e
cmp eax, 1
pop ecx
je 0x10018c5b
push 3
call fcn.1001463e
test eax, eax
pop ecx
jne 0x10018b43
cmp dword [0x10041a88], 1
je 0x10018c5b
cmp ebx, 0xfc
je 0x10018c8e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10041cb0
push ebp
call fcn.10014ce0
add esp, 0xc
test eax, eax
je 0x10018b79
push esi
push esi
push esi
push esi
push esi
call fcn.100136f9
add esp, 0x14
push 0x104
mov esi, 0x10041cc9
push esi
push 0
mov byte [0x10041dcd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10018bbd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10014ce0
add esp, 0xc
test eax, eax
je 0x10018bbd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.100136f9
add esp, 0x14
push esi
call fcn.1001a860
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10018c02
push esi
call fcn.1001a860
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10041fc4
push 0x1003a984
sub ecx, eax
push ecx
push eax
call fcn.1001b746
add esp, 0x14
test eax, eax
je 0x10018c02
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.100136f9
add esp, 0x14
jmp 0x10018c04
xor esi, esi
push 0x1003aa24
push ebx
push ebp
call fcn.10014d45
add esp, 0xc
test eax, eax
je 0x10018c24
push esi
push esi
push esi
push esi
push esi
call fcn.100136f9
add esp, 0x14
push dword [edi*8 + 0x10040c3c]
push ebx
push ebp
call fcn.10014d45
add esp, 0xc
test eax, eax
je 0x10018c46
push esi
push esi
push esi
push esi
push esi
call fcn.100136f9
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1001a564
add esp, 0xc
jmp 0x10018c8e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10018c8e
cmp ebp, 0xffffffff
je 0x10018c8e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10040c3c]
push dword [esi]
call fcn.1001a860
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1001a564
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10016909
xor ebx, ebx
cmp dword [0x100420fc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1001a63a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1001a71a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001a71a
push eax
call fcn.1001689b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100420fc], eax
call esi
push eax
call fcn.1001689b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10042100], eax
call esi
push eax
call fcn.1001689b
mov dword [0x10042104], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10013c65
test eax, eax
pop ecx
pop ecx
je 0x1001a608
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100136f9
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1001a63a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1001689b
cmp eax, ebx
pop ecx
mov dword [0x1004210c], eax
je 0x1001a63a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001689b
pop ecx
mov dword [0x10042108], eax
mov eax, dword [0x10042108]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1001a6bf
cmp dword [0x1004210c], ecx
je 0x1001a6bf
push eax
call fcn.10016912
push dword [0x1004210c]
mov esi, eax
call fcn.10016912
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1001a6bf
cmp edi, ebx
je 0x1001a6bf
call esi
cmp eax, ebx
je 0x1001a68c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001a68c
test byte [ebp - 0x18], 1
jne 0x1001a6bf
lea eax, [ebp - 0x10]
push eax
call fcn.10013c9c
test eax, eax
pop ecx
je 0x1001a6a7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100136f9
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1001a6b6
or dword [ebp + 0x10], 0x200000
jmp 0x1001a6fa
or dword [ebp + 0x10], 0x40000
jmp 0x1001a6fa
mov eax, dword [0x10042100]
cmp eax, dword [ebp - 8]
je 0x1001a6fa
push eax
call fcn.10016912
cmp eax, ebx
pop ecx
je 0x1001a6fa
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001a6fa
mov eax, dword [0x10042104]
cmp eax, dword [ebp - 8]
je 0x1001a6fa
push eax
call fcn.10016912
cmp eax, ebx
pop ecx
je 0x1001a6fa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100420fc]
call fcn.10016912
cmp eax, ebx
pop ecx
je 0x1001a71a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001a71c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100367c0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x100367da
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x100368ec
push ebp
jmp 0x100367f0
cmp ebx, 0x15b0
mov eax, ebx
jb 0x100367ff
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x100368ab
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x10036820
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x10036820
test eax, eax
je 0x100368bf
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x100368b0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x100367f0
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x10004e40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 0x401000
call fcn.10005020
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.10005fc0
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x10004ea1
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, 0x53ec8b55
jne 0x10004eb3
mov eax, 0x3e9
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x401000
call fcn.10005f40
cmp eax, 0x16197be9
jne 0x10004ece
mov eax, 0x3ea
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x8245bc
call fcn.10005f40
cmp eax, 0x94bf
jne 0x10004ee9
mov eax, 0x3f3
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x8252fc
call fcn.10005f40
cmp eax, 0x94bf
jne 0x10004f04
mov eax, 0x44d
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x82533c
call fcn.10005f40
cmp eax, 0x94bf
jne 0x10004f1f
mov eax, 0x457
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x858d51
call fcn.10005f40
cmp eax, 0x3539f633
jne 0x10004f3a
mov eax, 0xc80
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x858c61
call fcn.10005f40
xor ecx, ecx
mov edx, 0xc8a
cmp eax, 0x3539f633
pop esi
cmove ecx, edx
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x10005910
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor ecx, ecx
mov dword [ebp - 0x10], 0
cmp byte [ebp + 0x14], cl
cmovne ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1000592f
mov byte [ebp - 4], cl
jmp 0x1000594c
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10027a40
add esp, 0xc
cmp byte [ebp - 4], 0
je 0x1000597a
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10005980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor ecx, ecx
cmp byte [ebp + 0x14], cl
push ebx
cmovne ecx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x10], esi
test ecx, ecx
jne 0x1000599e
xor bl, bl
jmp 0x100059bd
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebp - 0x10]
test eax, eax
setne bl
push dword [ebp + 0x10]
mov byte [ebp - 4], bl
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.10027a40
add esp, 0xc
test bl, bl
je 0x100059ea
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x14], eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret