joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push 0x105
push ecx
push 0x1019ab10
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push 0x1019ab10
call edi
mov ebx, eax
push ebx
call edi
mov esi, eax
mov ax, word [0x1019ab10]
test ax, ax
je 0x100111c7
cmp word [ebx], 0x3a
jne 0x100111c7
cmp word [ebx + 2], 0x5c
jne 0x100111c7
push esi
call edi
mov esi, eax
jmp 0x10011218
cmp ax, 0x5c
jne 0x10011205
cmp word [0x1019ab12], ax
jne 0x10011205
mov ebx, 2
nop dword [eax + eax]
movzx eax, word [esi]
dec ebx
test ax, ax
je 0x1001120b
mov ecx, eax
nop dword [eax + eax]
cmp cx, 0x5c
je 0x1001120b
push esi
call edi
mov esi, eax
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x100111f0
pop edi
pop esi
xor al, al
pop ebx
ret
cmp word [esi], 0
je 0x10011205
add esi, 2
test ebx, ebx
jne 0x100111e0
test esi, esi
je 0x10011205
mov ecx, esi
call fcn.10011020
movzx eax, word [esi]
test ax, ax
je 0x10011205
cmp eax, 0x5c
je 0x10011205
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, 0x1019ab10
push 0x1019ab10
sar esi, 1
call ebx
mov edi, dword [sym.imp.USER32.dll_CharPrevW]
cmp eax, esi
jle 0x100112a8
nop
push 0x1019a8c0
push 0x1019ab10
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10011275
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [0x1019a8c0], 0x10
je 0x10011205
push 0x1019ab10
call ebx
lea eax, [eax*2 + 0x1019ab10]
cmp word [eax], 0x5c
je 0x10011298
push eax
push 0x1019ab10
call edi
cmp eax, 0x1019ab10
ja 0x10011283
xor ecx, ecx
push 0x1019ab10
mov word [eax], cx
call ebx
cmp eax, esi
jg 0x10011250
push 0x1019ab10
call ebx
lea eax, [eax*2 + 0x1019ab10]
push eax
push 0x1019ab10
call edi
cmp word [eax], 0x5c
je 0x100112d4
push 0x10158670
push 0x1019ab10
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1019ab10
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10011205
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x10011b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10125b71
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x450]
call fcn.10018c70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
push 7
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.2345Pic
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.10004c10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x450]
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.10004c10
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.10004bb0
mov byte [ebp - 4], 0
test esi, esi
jne 0x10011c14
lea ecx, [ebp - 0x450]
call fcn.1001c9f0
jmp 0x10011d19
cmp esi, 1
jne 0x10011c29
lea ecx, [ebp - 0x450]
call fcn.1001cbd0
jmp 0x10011d19
cmp esi, 2
jne 0x10011d19
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100fe280
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x207
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.10008150
push esi
push 0x10158738
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 6
call fcn.10005850
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 0
cmovae eax, dword [ebp - 0x438]
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x454], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10011cf5
push 0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0
push eax
push 4
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
push esi
sbb eax, eax
and dword [ebp - 0x454], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x454]
lea ecx, [ebp - 0x450]
call fcn.1001cd60
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 7
call fcn.10004bb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 0xffffffff
call fcn.10018cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc499
mov esp, ebp
pop ebp
ret
Function at 0x10012ed0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10125e48
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x9c]
cmp esi, 0x64
ja 0x10012f23
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
nop
push 0
push esi
push 0x7e8
push dword [edi + 4]
call ebx
inc esi
cmp esi, 0x64
jbe 0x10012f10
push 0x1f8
mov ecx, edi
call fcn.10013a20
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov byte [ebp - 0x59], 0
call esi
mov edx, eax
mov dword [ebp - 0x48], 0
mov ecx, edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012f64
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10004c10
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x60], 0
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x100130b6
cmp dword [ebp - 0x60], 2
jl 0x10013074
mov edx, dword [ebx + 4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012fd6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10004c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x101587a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004c10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push eax
push 0
call fcn.1000e370
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10004bb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.10004bb0
cmp esi, 0xffffffff
mov byte [ebp - 4], 0
setne byte [ebp - 0x59]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x59], 0
je 0x100130b6
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x12c], 0xffffffff
cmp dword [eax + 0x14], 0x1f8
jne 0x1001309e
mov ecx, edi
call fcn.10009a60
push 0xbd0
push dword [edi + 4]
mov dword [edi + 0xd0], 2
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xb
call fcn.10004bb0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc499
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10015430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126178
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x14]
sub eax, 0x258
je 0x100155d5
sub eax, 2
jne 0x100155e0
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x35
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.https:__bbs.2345.cn_post.php_fid5tid0fromktwsoft
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10004c10
lea eax, [esi + 0xdc]
mov dword [ebp - 4], 0
push eax
lea eax, [esi + 0xc4]
push eax
lea eax, [esi + 0xa8]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.10005260
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x18], 0
cmovae edx, dword [ebp - 0x58]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015511
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10004c10
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10009af0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10004bb0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10004bb0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10004bb0
push 2
mov dword [ebp - 4], 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [0x1019a828]
test al, 1
jne 0x100155ac
or eax, 1
mov dword [0x1019a828], eax
mov byte [ebp - 4], 4
call fcn.1001d9e0
mov byte [ebp - 4], 5
mov byte [0x1019a830], 0
push 0x10143340
mov byte [ebp - 4], 4
call fcn.100fc939
add esp, 4
mov byte [ebp - 4], 3
sub esp, 8
lea eax, [ebp - 0x70]
mov ecx, 0x1019a82c
push eax
call fcn.10008130
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 6
call fcn.10004bb0
mov dword [ebp - 4], 0xffffffff
jmp 0x100155e0
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc499
mov esp, ebp
pop ebp
ret
Function at 0x100183c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, edx
push 0
push eax
call fcn.100fe280
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x10018416
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fc499
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push esi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10018420
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10004c10
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop edi
call fcn.100fc499
mov esp, ebp
pop ebp
ret
Function at 0x1001de30
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101279ec
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x10194008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10025950
mov dword [edi], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
push 0x101544d8
mov word [edi + 0xc], 0
mov dword [edi + 8], 3
call fcn.10008150
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.10025810
mov dword [eax], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.10004ab0
push str.SMDB
lea ecx, [ebp - 0x4c]
call fcn.10008150
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.10025810
mov dword [eax], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10004ab0
push 0x10159024
lea ecx, [ebp - 0x64]
call fcn.10008150
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.10025810
mov dword [eax], 0x2d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.10004ab0
push 0x10159008
lea ecx, [ebp - 0x7c]
call fcn.10008150
mov byte [ebp - 4], 7
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call fcn.10025810
mov dword [eax], 0xa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.10004ab0
push 0x10154770
lea ecx, [ebp - 0x94]
call fcn.10008150
mov byte [ebp - 4], 8
lea eax, [ebp - 0x94]
push eax
mov ecx, edi
call fcn.10025810
mov dword [eax], 0x1e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.10004ab0
mov dword [ebp - 4], 9
lea ecx, [edi + 0x10]
call fcn.10005680
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x30]
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.10005680
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x18]
call fcn.10005680
mov byte [ebp - 4], 0xc
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002a5a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10129a69
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10194008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.100056e0
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1002a752
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x1002a694
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x10199ffc
mov byte [ebp - 0x15], al
call fcn.10004ba0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002a66f
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.10010620
inc edi
cmp edi, 4
jl 0x1002a665
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1002a600
mov dword [ebp + 8], esi
test esi, esi
je 0x1002a752
mov eax, esi
cmp esi, 3
jge 0x1002a6ce
cmp eax, 3
jae 0x1002a766
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x1002a6b4
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1002a738
mov ecx, 0x10199ffc
call fcn.10004ba0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002a71e
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.10010620
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x1002a714
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1002a752
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.10010620
sub edi, 1
jne 0x1002a744
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100fcb19
int3
Function at 0x1002daf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012a148
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.101069c6
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x1002dbca
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.10022c60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.100055f0
test al, al
jne 0x1002dbbb
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.100065d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002dbbb
test esi, esi
je 0x1002dbbb
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10004ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc499
mov esp, ebp
pop ebp
ret 4
Function at 0x10032390
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012aa5b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10194008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10023130
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035ac0
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035a20
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035ac0
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035980
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100358e0
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100358e0
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.100358e0
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea ecx, [edi + 0x40]
call fcn.10007d90
mov byte [ebp - 4], 0x18
lea ecx, [edi + 0x78]
call fcn.10005680
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100325f0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012abcb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10194008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea ecx, [ebx + 0x78]
call fcn.10004ab0
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
call fcn.10004ab0
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.10035170
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.100fc94e
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.10035170
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.100fc94e
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xe
mov ecx, esi
call fcn.10035270
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.100fc94e
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x11
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.100356d0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
push 0x40
push dword [edi]
call fcn.100fc94e
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x15
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10035770
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
push 0x30
push dword [edi]
call fcn.100fc94e
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.100353e0
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.100fc94e
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x1a
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10035770
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
push 0x30
push dword [edi]
call fcn.100fc94e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x1c
mov ecx, ebx
call fcn.10022e90
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.100fc94e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100329a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012ac78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10194008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 8]
lea ecx, [ebx + 8]
push dword [esi + 4]
call fcn.10035770
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0x18]
mov dword [eax + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
mov dword [ebx + 0xc], 0
mov esi, dword [ebx + 0x18]
push dword [esi + 4]
call fcn.10035770
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x10]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [eax], esi
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], esi
mov dword [ebx + 0x1c], 0
call fcn.100353e0
mov esi, dword [ebx + 0x20]
lea ecx, [ebx + 0x20]
push dword [esi + 4]
call fcn.100356d0
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 0x28]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x20]
mov dword [eax], esi
mov eax, dword [ebx + 0x20]
mov dword [eax + 8], esi
mov dword [ebx + 0x24], 0
call fcn.10035270
lea ecx, [ebx + 0x30]
call fcn.10035170
push 0
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10023130
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x18]
cmp ebx, eax
je 0x10032aad
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebx + 4]
mov dword [ebx], eax
call fcn.10004ba0
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.10004ba0
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebx + 4], eax
call fcn.10004ba0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10022e90
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebp - 0x18]
call fcn.100fc94e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret