joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4199a0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x485339
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebp
push esi
push edi
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], esi
call fcn.0046bd11
push 0x4ab224
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 1
call fcn.004716ec
mov ecx, dword [esp + 0x178]
lea eax, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x178], 2
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x419a20
mov edx, dword [esp + 0x28]
and edx, 0x10
cmp dl, 0x10
jne 0x419a20
push edi
call dword [sym.imp.kernel32.dll_FindClose]
jmp 0x419b48
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x1c]
call fcn.0046bda4
mov eax, dword [esp + 0x178]
cmp dword [eax - 8], esi
jle 0x419aa5
mov al, byte [esi + eax]
cmp al, 0x5c
je 0x419a53
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.004719bb
jmp 0x419a74
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0046bf19
push 0x4a5770
lea ecx, [esp + 0x10]
call fcn.00471994
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
dec ecx
cmp esi, ecx
jne 0x419a9d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0046bf19
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jl 0x419a38
mov ebp, dword [sym.imp.kernel32.dll_FindClose]
push edi
call ebp
mov eax, dword [esp + 0x1c]
mov esi, 1
cmp eax, esi
jle 0x419b19
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
lea edx, [esp + 0x10]
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.0040c6b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 3
call fcn.00471765
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 2
call fcn.0047162c
mov eax, dword [esp + 0xc]
push 0
push eax
call edi
test eax, eax
je 0x419b10
mov ecx, dword [esp + 0xc]
push 0x80
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x419ac1
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
call fcn.0046bda4
mov eax, dword [esp + 0x178]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esp + 0x28]
push eax
and ecx, 0x10
cmp cl, 0x10
jne 0x419b85
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.0047162c
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.0046bd44
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], 0xffffffff
call fcn.0047162c
mov al, 1
jmp 0x419bc2
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.0047162c
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.0046bd44
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], 0xffffffff
call fcn.0047162c
xor al, al
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x168
ret
Function at 0x41ef70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
mov eax, 0x1111110e
mov edx, 0x101110e
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x47474]
push esi
mov esi, 0xe111111
cmp edx, eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x2020207
mov dword [esp + 0x40], 0x2060202
mov dword [esp + 0x44], 0x408101f
mov dword [esp + 0x48], 0xe110102
mov dword [esp + 0x50], 0xe110106
mov dword [esp + 0x54], 0x121f0202
mov dword [esp + 0x58], 0x2060a0a
mov dword [esp + 0x60], 0x1f10101e
mov dword [esp + 0x68], 0xe11101e
mov dword [esp + 0x6c], 0x4040808
mov dword [esp + 0x70], 0x1f010202
mov dword [esp + 0x78], 0xe11110e
mov dword [esp + 0x7c], 0xf01110e
mov dword [esp + 0x80], esi
jge 0x41f029
mov eax, dword [ecx + 0x4746c]
mov dword [esp + 0x18], eax
jmp 0x41f033
mov ecx, dword [ecx + 0x47470]
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp edx, 0x63
setg cl
add ecx, 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x24], ecx
lea eax, [ecx - 1]
test eax, eax
jle 0x41f061
mov esi, dword [esp + 0xc]
lea esi, [esi + esi*4]
shl esi, 1
dec eax
mov dword [esp + 0xc], esi
jne 0x41f051
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x41f161
push ebp
mov dword [esp + 0x24], ecx
mov eax, edx
mov ecx, 0xa
cdq
idiv dword [esp + 0x10]
cdq
idiv ecx
mov ecx, 5
mov dword [esp + 0x14], ecx
cmp edx, 1
mov dword [esp + 0x2c], edx
jne 0x41f0a3
mov dword [esp + 0x14], 3
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x37]
mov ebx, 0xb
mov dword [esp + 0x20], edi
xor esi, esi
test ecx, ecx
jle 0x41f116
mov ebp, dword [esp + edx*8 + 0x38]
mov edx, dword [esp + edx*8 + 0x3c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
mov ecx, edi
mov eax, ebp
call fcn.0044acc0
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x41f106
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
mov eax, esi
push ebx
sub eax, edx
lea edx, [eax + ecx + 3]
push edx
call fcn.0041ef00
add esp, 0x14
mov eax, dword [esp + 0x14]
inc esi
dec edi
cmp esi, eax
jl 0x41f0c1
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov edi, dword [esp + 0x20]
sub edi, 8
dec ebx
cmp ebx, 3
mov dword [esp + 0x20], edi
jg 0x41f0af
mov eax, 0x66666667
imul dword [esp + 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx + 1]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x41f076
pop ebp
cmp edx, 0x64
jge 0x41f1ab
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ebx
push esi
push edi
push 0xb
push 0xf
call fcn.0041ef00
push ebx
push esi
push edi
push 0xc
push 0xe
call fcn.0041ef00
push ebx
push esi
push edi
push 0xa
push 0xe
call fcn.0041ef00
push ebx
push esi
push edi
push 0xb
push 0xd
call fcn.0041ef00
add esp, 0x50
pop edi
pop esi
pop ebx
add esp, 0x78
ret 0xc
Function at 0x420fb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x32c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x8c]
mov edx, dword [ebx + 0x90]
push edi
add edx, 0xfc
lea ecx, [eax + 0x40]
add eax, 0x14
push ecx
push eax
push edx
lea eax, [esp + 0xb4]
push 0x4a752c
push eax
call fcn.00449ffa
lea ecx, [esp + 0xbc]
push ecx
call fcn.00419be0
add esp, 0x18
test al, al
je 0x4211d8
push 0x180
lea edx, [esp + 0xac]
push 0x8102
push edx
call fcn.0045679b
mov ebp, eax
push ebp
call fcn.00469abf
add esp, 0x10
test eax, eax
jne 0x42110f
mov ecx, 0x25
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push 4
lea eax, [esp + 0x18]
push 0x4a7524
push eax
call fcn.0044adf0
mov edx, dword [ebx + 0x8c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
lea edi, [edx + 0x14]
lea esi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x40]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x13c]
and ecx, 3
push 0x1004
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x60]
push eax
mov dword [esp + 0x60], ecx
mov edx, dword [edx + 0x64]
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov dword [esp + 0x64], eax
test eax, eax
jle 0x4210fa
lea edi, [ebx + 0x120]
push esi
mov ecx, edi
call fcn.00425790
mov cl, byte [eax + 0xc]
mov byte [esp + esi + 0x68], cl
mov dl, byte [eax + 0xd]
mov byte [esp + esi + 0x88], dl
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x4210d8
lea eax, [esp + 0x14]
push 0x94
push eax
push ebp
call fcn.00454417
add esp, 0xc
jmp 0x42112d
lea ecx, [esp + 0x14]
push 0x94
push ecx
push ebp
call fcn.004541d9
add esp, 0xc
cmp eax, 0x94
jne 0x4211d8
lea edx, [esp + 0x14]
push 0x4a7520
push edx
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x4211d8
push 2
push 0
push ebp
call fcn.0044b43c
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x1b8]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1ac]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jle 0x4211af
add ebx, 0x120
lea edi, [esp + 0x1bc]
push esi
mov ecx, ebx
call fcn.00425790
mov edx, dword [eax]
mov ecx, edi
inc esi
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
cmp esi, eax
jl 0x421189
lea ecx, [esp + 0x1ac]
push 0x190
push ecx
push ebp
call fcn.00454417
push ebp
call fcn.00452965
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x32c
ret
Function at 0x429f70
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x94
call dword [sym.imp.kernel32.dll_GetVersion]
cmp eax, 0x80000000
pop edi
jae 0x429ff6
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
jne 0x429fae
call fcn.0042a050
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x429fc3
mov eax, 5
add esp, 0x94
ret
cmp eax, 5
jne 0x429fdc
mov eax, dword [esp + 8]
test eax, eax
jne 0x429fde
mov eax, 6
add esp, 0x94
ret
jb 0x429fea
mov eax, 7
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret
cmp al, 4
jae 0x42a003
xor eax, eax
add esp, 0x94
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
jne 0x42a017
call fcn.0042a050
cmp dword [esp + 4], 4
jne 0x42a03d
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x42a033
mov eax, 3
add esp, 0x94
ret
cmp eax, 0x5a
mov eax, 4
je 0x42a042
mov eax, 2
add esp, 0x94
ret

Function at 0x431c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x493e94
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_CopyRect]
push 0xfffffffffffffffe
lea edx, [esp + 0x18]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x7c]
sub eax, esi
neg ecx
sbb ecx, ecx
mov dword [esp + 0x24], eax
and ecx, 0x12c
mov edi, 0x4a8160
add ecx, 0x190
xor eax, eax
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x28], ebx
shr ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.00474b2b
mov esi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
push 1
mov ecx, esi
mov edi, eax
call fcn.0047427c
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x14]
push 0x21
push eax
lea ecx, [esp + 0x80]
push 1
push ecx
mov ecx, esi
call dword [edx + 0x68]
push ebx
mov ecx, esi
call fcn.0047427c
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x28]
mov dword [esp + 0xc], 0x4911e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 1
call fcn.00474b82
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
Function at 0x4327b0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4874b8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.00433510
mov edi, eax
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4328e8
push ebx
push ebp
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x44], eax
call fcn.00473ff7
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.00473f55
test ebx, ebx
mov dword [esp + 0x38], 0
jne 0x432813
xor eax, eax
jmp 0x432816
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.0047400c
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, edx
sub ecx, ebp
add eax, 0xa
add ecx, 0xa
push eax
push ecx
mov ecx, dword [ebx + 4]
lea esi, [edi + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.00474b2b
test esi, esi
je 0x43286b
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x24]
push esi
push edx
call fcn.0047414d
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0xa
sub ecx, dword [esp + 0x10]
add ecx, 0xa
test ebx, ebx
je 0x43289d
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
push ebp
push ebx
push eax
mov eax, dword [esp + 0x38]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
pop ebp
pop ebx
test esi, esi
je 0x4328bf
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.0047414d
mov edx, dword [esp + 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0047408a
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x435b90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4a8224
push 0x80000002
call esi
lea edx, [esp + 4]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4a81fc
push ecx
call esi
lea edx, [esp + 0x10]
push 0x104
push edx
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetShortPathNameA]
mov eax, dword [esp + 4]
test eax, eax
jne 0x435c43
push edi
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x4a43e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 8], eax
pop edi
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 4]
pop esi
test eax, eax
sete al
add esp, 0x110
ret

Function at 0x435c70
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0x20019
push 0
push 0x4a8224
push 0x80000002
call esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push 0x4a81fc
push edx
call esi
mov esi, eax
test esi, esi
jne 0x435cc3
mov eax, dword [esp + 8]
push 0x4a43e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
test esi, esi
pop edi
pop esi
sete al
add esp, 8
ret

Function at 0x439a10
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x4ab648
jmp 0x439a10
push esi
mov esi, ecx
push 0x4a81a4
mov dword [esi + 0x14], 0
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x14], eax
je 0x439a7a
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4a8194
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push 0x4a83a8
push eax
call edi
mov ecx, dword [esi + 0x14]
push 0x4a8398
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push 0x4a8378
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push 0x4a8364
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x43be40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x304
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x134]
push 0
push 0
push 0x1009
push eax
call esi
mov ecx, dword [ebx + 0x170]
push 0
push 0
push 0x147
push ecx
call esi
mov edx, eax
push 0x8002
shl edx, 6
add edx, eax
lea eax, [ebx + edx*4 + 0x238]
push eax
call fcn.0045679b
lea ecx, [ebx + 0x19c]
push 0x94
push ecx
push eax
mov dword [ebx + 0x230], eax
call fcn.004541d9
add esp, 0x14
cmp eax, 0x94
je 0x43bece
mov edx, dword [ebx + 0x230]
push edx
call fcn.00452965
add esp, 4
mov ecx, ebx
call fcn.0043c100
pop esi
pop ebx
add esp, 0x304
ret
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [ebx + 0x22c0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1ec]
test eax, eax
jle 0x43c02c
mov eax, 0xfffffe10
push ebp
sub eax, ebx
lea ebp, [ebx + 0x1f0]
mov dword [esp + 0x10], eax
cmp byte [ebp], 0
je 0x43c019
lea esi, [ebx + 0x1a0]
push 0x4a7578
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf43
push 0x4a7574
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf43
cmp byte [ebp], 0xe1
jne 0x43bf43
lea edx, [esp + 0x14]
mov edi, 0x4a7568
jmp 0x43bf82
push 0x4a8408
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf66
cmp byte [ebp], 0xe7
jne 0x43bf66
lea edx, [esp + 0x14]
mov edi, 0x4a7558
jmp 0x43bf82
xor edx, edx
lea ecx, [esp + 0x214]
mov dl, byte [ebp]
push ecx
push edx
call fcn.004166f0
add esp, 8
lea edx, [esp + 0x14]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov al, byte [ebp]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea esi, [ecx + ebp]
lea ecx, [esp + 0x14]
push ecx
mov dl, byte [esi + ebx + 0x210]
mov dword [ebx + eax*4 + 0x22c0], edx
xor edx, edx
mov dl, byte [ebp]
lea eax, [esp + 0x118]
push edx
push 0x4a7160
push eax
call fcn.00449ffa
add esp, 0x10
lea ecx, [esp + 0x114]
lea edi, [ebx + 0x118]
push 0
push 0
push 0
push 0
push ecx
push esi
push 3
mov ecx, edi
call fcn.0046a95d
xor edx, edx
mov ecx, edi
mov dl, byte [ebp]
push edx
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call fcn.0046a9df
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x1ec]
inc ebp
lea ecx, [eax + ebp]
cmp ecx, edx
jl 0x43befe
pop ebp
mov edx, dword [ebx + 0x230]
push edx
call fcn.00469abf
mov ecx, eax
mov eax, 0x51eb851f
sub ecx, 0x94
add esp, 4
mul ecx
shr edx, 7
mov dword [ebx + 0x22b8], edx
pop edi
lea eax, [edx + edx*4]
lea esi, [eax + eax*4]
mov eax, dword [ebx + 0x22bc]
shl esi, 4
test eax, eax
je 0x43c070
push eax
call fcn.00470912
add esp, 4
mov eax, dword [ebx + 0x22b8]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
push edx
call fcn.004708e9
add esp, 4
mov dword [ebx + 0x22bc], eax
test eax, eax
je 0x43c0a3
push esi
push eax
mov eax, dword [ebx + 0x230]
push eax
call fcn.004541d9
add esp, 0xc
mov ecx, ebx
call fcn.0043c100
pop esi
pop ebx
add esp, 0x304
ret
Function at 0x43fa60
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1c]
push 0
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43fad8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43fad8
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], 0xffffff37
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.0047019f
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x43facf
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x4533c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4aa4b8
cmp edx, dword [eax]
je 0x4533e3
add eax, 8
inc ecx
cmp eax, 0x4aa548
jl 0x4533d4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4aa4b8]
jne 0x453511
mov eax, dword [0x4ad748]
cmp eax, 1
je 0x4534eb
test eax, eax
jne 0x453414
cmp dword [0x4a9c04], 1
je 0x4534eb
cmp edx, 0xfc
je 0x453511
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45344b
lea eax, [ebp - 0x1a4]
push 0x495228
push eax
call fcn.00453e40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00452530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x45348e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00452530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x495224
push edi
call fcn.0044adf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x495208
push eax
call fcn.00453e40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00453e50
lea eax, [ebp - 0xa0]
push 0x4a62d8
push eax
call fcn.00453e50
push dword [esi + 0x4aa4bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00453e50
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4951e0
push eax
call fcn.00456ac3
add esp, 0x2c
pop edi
jmp 0x453511
lea eax, [ebp + 8]
lea esi, [esi + 0x4aa4bc]
push 0
push eax
push dword [esi]
call fcn.00452530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0x45fe10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a141
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], edi
mov dword [esi + 4], 0x493e94
mov dword [esp + 0x1c], edi
mov dword [esi + 0x5c], 0x495dd0
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov ebx, 1
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], bl
call fcn.0046bd11
lea ebp, [esi + 0x14]
mov dword [esi + 0x84], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov ecx, 0xa
xor eax, eax
mov edi, ebp
mov dword [esi], 0x495dcc
mov dword [esi + 0x40], ebx
mov ebx, dword [esp + 0x24]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov byte [esp + 0x1c], 2
cmp ebx, ecx
jne 0x45fea8
mov dword [esi + 0x24], ecx
jmp 0x45fecb
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
inc edi
push edi
call fcn.004708e9
push ebx
push edi
push eax
mov dword [esi + 0x24], eax
call fcn.00462f10
add esp, 0x10
or ecx, 0xffffffff
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [ebp], 0x11
mov dword [esi + 0x18], esi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x3c], 0x8000
call edi
push 5
mov dword [esi + 0xc], eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4