joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100032c2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add edx, dword [eax]
mov edx, eax
mov ecx, dword [0x1003b01d]
cmp word [esp + edx*2 + 0x5a], cx
je 0x100031de
xor eax, eax
mov word [esp + edx*2 + 0x5c], ax
dec edx
mov eax, dword [0x1003b01d]
cmp word [esp + edx*2 + 0x5a], ax
jne 0x100031ca
mov al, byte [edi]
test al, al
je 0x100031fa
lea ecx, [esp + 0x5c]
lea ecx, [ecx + edx*2]
inc edi
cbw
mov word [ecx], ax
lea ecx, [ecx + 2]
mov al, byte [edi]
test al, al
jne 0x100031eb
mov eax, dword [0x1003b021]
mov ebp, ebx
mov dword [esp + 0x24], eax
mov eax, dword [0x1003b055]
mov ecx, dword [0x1003b001]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [esp + 0x10], ebp
mov eax, dword [eax + ecx*8 + 0x78]
add eax, esi
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
add ecx, esi
mov dword [esp + 0x14], ecx
add edx, esi
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
sbb al, 0x85
invalid
je 0x1000329c
mov eax, dword [edx + ebp*4]
mov edi, ebx
add eax, esi
push eax
mov dword [esp + 0x34], eax
call fcn.10003064
mov dword [esp + 0x2c], eax
pop ecx
test eax, eax
je 0x10003283
mov edx, dword [esp + 0x30]
mov esi, ebx
mov ebp, eax
imul edi, dword [esp + 0x24]
movzx eax, byte [esi + edx]
add edi, eax
inc esi
cmp esi, ebp
jb 0x1000326b
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x10]
cmp edi, dword [esp + 0x20]
je 0x100036e1
mov edx, dword [esp + 0x34]
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, dword [esp + 0x1c]
jb 0x10003249
mov eax, ebx
push ebx
push dword [0x1003b03d]
lea ecx, [esp + 0x64]
push dword [0x1003b02d]
push ebx
push 1
push dword [0x1003b031]
push ecx
call eax
mov dword [esp + 0x14], eax
mov ebp, ebx
mov eax, dword [0x1003b021]
and dword [eax + 0x44891003], esi
and al, 0x24
mov eax, dword [0x1003b00d]
mov edx, dword [0x1003b001]
mov ecx, dword [esi + 0x3c]
add ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebp
mov ecx, dword [ecx + edx*8 + 0x78]
add ecx, esi
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
add eax, esi
mov dword [esp + 0x38], eax
add edx, esi
Function at 0x100032f6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x24]
add eax, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10003361
mov eax, dword [edx + ebp*4]
mov edi, ebx
add eax, esi
push eax
mov dword [esp + 0x34], eax
and al, 0x34
call fcn.10003064
mov dword [esp + 0x2c], eax
pop ecx
test eax, eax
je 0x10003348
mov edx, dword [esp + 0x30]
mov esi, ebx
mov ebp, eax
imul edi, dword [esp + 0x24]
movzx eax, byte [esi + edx]
add edi, eax
inc esi
cmp esi, ebp
jb 0x10003330
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x10]
cmp edi, dword [esp + 0x20]
je 0x100036f7
mov edx, dword [esp + 0x34]
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, dword [esp + 0x1c]
jb 0x1000330e
mov eax, ebx
push ebx
push dword [esp + 0x18]
call eax
mov ecx, dword [0x1003b001]
mov edi, ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x1003b021]
mov dword [esp + 0x2c], eax
mov eax, dword [0x1003b035]
mov ecx, dword [0x1003b001]
mov dword [esp + 0x28], eax
lea edx, [esi + ecx*8]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [edx + ecx + 0x78]
add ecx, esi
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
add eax, esi
mov dword [esp + 0x34], eax
add edx, esi
mov eax, dword [ecx + 0x24]
add eax, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1000340d
mov eax, dword [edx + edi*4]
mov ebp, ebx
add eax, esi
push eax
mov dword [esp + 0x3c], eax
call fcn.10003064
pop ecx
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x100033f8
mov edx, dword [esp + 0x38]
mov esi, ecx
imul ebp, dword [esp + 0x2c]
movzx ecx, byte [eax + edx]
add ebp, ecx
inc eax
cmp eax, esi
jb 0x100033e4
mov esi, dword [esp + 0x3c]
cmp ebp, dword [esp + 0x28]
je 0x1000370d
mov edx, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x24]
jb 0x100033c0
mov eax, ebx
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], ebx
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x68]
push ecx
push dword [esp + 0x24]
call eax
test eax, eax
je 0x100036b4
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x5c]
add eax, ecx
Function at 0x10003318
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x24]
add eax, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10003361
mov eax, dword [edx + ebp*4]
mov edi, ebx
add eax, esi
push eax
mov dword [esp + 0x34], eax
and al, 0x34
call fcn.10003064
mov dword [esp + 0x2c], eax
pop ecx
test eax, eax
je 0x10003348
mov edx, dword [esp + 0x30]
mov esi, ebx
mov ebp, eax
imul edi, dword [esp + 0x24]
movzx eax, byte [esi + edx]
add edi, eax
inc esi
cmp esi, ebp
jb 0x10003330
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x10]
cmp edi, dword [esp + 0x20]
je 0x100036f7
mov edx, dword [esp + 0x34]
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, dword [esp + 0x1c]
jb 0x1000330e
mov eax, ebx
push ebx
push dword [esp + 0x18]
call eax
mov ecx, dword [0x1003b001]
mov edi, ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x1003b021]
mov dword [esp + 0x2c], eax
mov eax, dword [0x1003b035]
mov ecx, dword [0x1003b001]
mov dword [esp + 0x28], eax
lea edx, [esi + ecx*8]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [edx + ecx + 0x78]
add ecx, esi
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
add eax, esi
mov dword [esp + 0x34], eax
add edx, esi
mov eax, dword [ecx + 0x24]
add eax, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1000340d
mov eax, dword [edx + edi*4]
mov ebp, ebx
add eax, esi
push eax
mov dword [esp + 0x3c], eax
call fcn.10003064
pop ecx
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x100033f8
mov edx, dword [esp + 0x38]
mov esi, ecx
imul ebp, dword [esp + 0x2c]
movzx ecx, byte [eax + edx]
add ebp, ecx
inc eax
cmp eax, esi
jb 0x100033e4
mov esi, dword [esp + 0x3c]
cmp ebp, dword [esp + 0x28]
je 0x1000370d
mov edx, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x24]
jb 0x100033c0
mov eax, ebx
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], ebx
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x68]
push ecx
push dword [esp + 0x24]
call eax
test eax, eax
je 0x100036b4
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x5c]
add eax, ecx
Function at 0x100036cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x104
lea ecx, [esp + 0x60]
push ecx
push ebx
call eax
mov edi, dword [0x1003b049]
add edx, dword [eax]
and al, 0x2c
mov ecx, dword [esp + 0x30]
movzx eax, word [eax + ebp*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x100031a8

Function at 0x100036e3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x18
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + ebp*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x1000329e

Function at 0x1000d5a2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x1003b890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1003bc94]
push ebx
push esi
test eax, eax
je 0x1000d5dc
push eax
push 0x10036624
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call sym.sqlite.dll_sqlite3_snprintf
add esp, 0x10
jmp 0x1000d655
call fcn.1000213a
mov esi, 0xe6
test eax, eax
je 0x1000d61c
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x314]
push eax
call fcn.100021e9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x1000d638
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10031c74
leave
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.100022ae
jmp 0x1000d604
push ebx
push 0x10036624
lea eax, [ebp - 0x10c]
push eax
push esi
call sym.sqlite.dll_sqlite3_snprintf
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0x14
lea ecx, [ebp - 0x10c]
call fcn.100016a4
test eax, eax
jbe 0x1000d66e
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x1000d66e
dec eax
jne 0x1000d665
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp + 8]
push 0x10036618
add eax, 0xffffffe2
push edi
push eax
call sym.sqlite.dll_sqlite3_snprintf
mov ecx, edi
call fcn.100016a4
mov esi, eax
lea eax, [edi + esi]
push eax
push 0x14
call fcn.10008912
add esp, 0x18
push 0x14
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x1000d6a9
mov byte [edi + esi], cl
xor eax, eax
jmp 0x1000d60e
Function at 0x10031c74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003b890]
jne 0x10031c7e
repz ret
jmp fcn.1003244e
Function at 0x40dbf5
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x40dc0e
xor edx, edx
mov eax, 0xc
call fcn.00410b08
sub esp, 0x2c
lea eax, [esp + 0x30]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
mov dword [esp], ecx
call fcn.00410cd9
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
call fcn.0040d52c
add esp, 0x2c
ret
Function at 0x40e9af
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x40e9c8
xor edx, edx
mov eax, 4
call fcn.00410b08
sub esp, 0x2c
cmp dword [esp + 0x30], 0
jne 0x40e9d6
add esp, 0x2c
ret
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x58]
cmp eax, 0
je 0x40e9f5
mov eax, str.malloc_free___deadlock
mov dword [esp], eax
call fcn.0040ae6f
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 0x58], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], ecx
call fcn.0040ebab
cmp eax, 0
jne 0x40ea51
mov eax, str.free__p:_not_an_allocated_block_n
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00407d16
mov eax, str.free_runtimemlookup
mov dword [esp], eax
call fcn.0040ae6f
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00406803
mov ebx, dword [esp + 0x30]
movzx eax, al
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x1c]
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x98]
mov dword [esp + 0x20], eax
cmp edx, 0
jne 0x40eb43
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
shl eax, 0xc
mov ecx, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
shl eax, 0xc
mov dword [eax], 1
mov dword [esp], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 4], ecx
call fcn.004064e6
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, 0x1000
mov dword [esp + 4], eax
call fcn.0040671d
mov eax, 0x44e238
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, 1
mov dword [esp + 8], eax
call fcn.0040710a
mov eax, dword [esp + 0x20]
add dword [eax + 0x30c], 1
adc dword [eax + 0x310], 0
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [esp + 0x20]
sub dword [edx + 0x2f4], eax
sbb dword [edx + 0x2f8], ecx
cmp dword [esp + 0x1c], 0
je 0x40eb2e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.0040f99a
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 0x58], 0
add esp, 0x2c
ret
mov dword [esp + 0x28], edx
mov ecx, dword [edx*4 + 0x44d2d4]
cmp ecx, 4
jbe 0x40eb5a
mov dword [ebx + 4], 1
mov dword [esp], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 4], ecx
call fcn.004064e6
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ecx, ebp
shl ecx, 4
mov edx, ebx
lea eax, [ebx + ecx]
add dword [eax + 0x328], 1
adc dword [eax + 0x32c], 0
mov dword [esp], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
call fcn.00403b30
jmp 0x40eaeb
Function at 0x40f47d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x40f496
xor edx, edx
mov eax, 0xc
call fcn.00410b08
sub esp, 0x24
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
cmp dword [0x441d78], 0
jne 0x40f4d8
mov ecx, 0xafc7c
mov dword [esp], ecx
call fcn.00404196
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [0x441d78], eax
mov eax, 0xafc7c
xor ecx, ecx
add dword [0x44d54c], eax
adc dword [0x44d550], ecx
xor ebx, ebx
xor ebp, ebp
cmp ebp, esi
jge 0x40f4f8
mov eax, dword [edi + ebp*4]
add ebx, eax
mov eax, ebx
shl eax, 0xa
add ebx, eax
mov eax, ebx
shr eax, 6
xor ebx, eax
inc ebp
cmp ebp, esi
jl 0x40f4e0
mov eax, ebx
shl eax, 3
add ebx, eax
mov eax, ebx
shr eax, 0xb
xor ebx, eax
mov eax, ebx
mov dword [esp + 0x1c], ebx
xor edx, edx
mov dword [esp + 0x10], 0x2bf1f
div dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x20], edx
mov edx, dword [0x441d78]
mov edx, dword [edx + ecx*4]
cmp edx, 0
je 0x40f547
mov eax, dword [edx + 0x28]
cmp eax, ebx
jne 0x40f540
mov eax, dword [edx + 0x2c]
cmp eax, esi
je 0x40f5eb
mov edx, dword [edx]
cmp edx, 0
jne 0x40f52e
cmp byte [esp + 0x30], 0
jne 0x40f554
xor eax, eax
add esp, 0x24
ret
mov ecx, esi
shl ecx, 2
add ecx, 0x34
mov dword [esp], ecx
mov ecx, 2
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov ecx, 1
mov dword [esp + 0xc], ecx
call fcn.0040e5ef
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, edx
shl eax, 2
add eax, 0x34
add dword [0x441d70], eax
mov eax, ecx
mov dword [esp + 0x18], ecx
add eax, 0x30
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, edx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00410d30
mov edi, dword [0x441d78]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edi + esi*4]
mov dword [eax], ecx
mov dword [edi + esi*4], eax
mov ecx, dword [0x441d74]
mov dword [eax + 4], ecx
mov dword [0x441d74], eax
add esp, 0x24
ret
mov ecx, edx
mov dword [esp + 0x18], edx
add ecx, 0x30
mov dword [esp], ecx
mov dword [esp + 4], edi
mov ecx, esi
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0040af64
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp eax, 0
jne 0x40f540
mov eax, edx
add esp, 0x24
ret
Function at 0x49e1d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0049d8da
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0049d88f
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0049d8da
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0049d88f
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0049d8ca
adc ch, byte [edx - 0x5c]
outsd dx, dword [esi]
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0049d8da
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0049d88f
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0049d8ca
mov fs, word [0xa580e771]
pushfd
stc
invalid
Function at 0x4010a0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop

Function at 0x401160
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x4011df
cmp al, 9
je 0x4011d0
cmp al, 0x20
je 0x4011d0
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x401238
cmp al, 0x22
je 0x401248
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x4011df
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x401190
test edi, 1
jne 0x401190
lea esi, [esi]
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 9
je 0x4011d0
cmp al, 0x20
je 0x4011d0
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x4011fa
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x54], 1
jmp 0x4011a7
and dword [ebp - 0x54], 1
jne 0x4011a0
xor edi, 1
jmp 0x4011a7
Function at 0x742370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x74238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x76b074
push ecx
mov edi, eax
call fcn.00756198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7423cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0075602e
push esi
call fcn.00755fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x745850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7458ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x770720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7458ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007561e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7458ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x770720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x74592a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00757082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x745957
mov word [eax], si
add eax, 2
push eax
call fcn.00757030
add esp, 4
jmp 0x745959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7458ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7458b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x745ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret