joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41391a
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x43d707
call fcn.0043a3d9
mov esi, ecx
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0040a3d5
pop ecx
pop ecx
push dword [eax + 4]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea eax, [ebp - 0x10]
cmp dword [esi + 0x5b28], edi
je 0x413964
push str.EncoderServer64.exe
jmp 0x413969
push str.EncoderServer.exe
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004075a1
add esp, 0xc
push 1
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x442230
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.0043a478
ret

Function at 0x4139b6
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x43d707
call fcn.0043a3d9
mov esi, ecx
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0040a3d5
pop ecx
pop ecx
push dword [eax + 4]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea eax, [ebp - 0x10]
cmp dword [esi + 0x5b28], edi
je 0x413a00
push str.EncoderServer64.exe
jmp 0x413a05
push str.EncoderServer.exe
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004075a1
add esp, 0xc
push 1
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x442260
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.0043a478
ret

Function at 0x413aad
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x43d707
call fcn.0043a3d9
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.0040a3d5
pop ecx
pop ecx
push dword [eax + 4]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
push str.RTSSHooksLoader64.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004075a1
add esp, 0xc
push 1
lea ecx, [ebp - 0x10]
mov edi, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x442230
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.0043a478
ret
Function at 0x413b39
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x43d707
call fcn.0043a3d9
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.0040a3d5
pop ecx
pop ecx
push dword [eax + 4]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
push str.RTSSHooksLoader64.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004075a1
add esp, 0xc
push 1
lea ecx, [ebp - 0x10]
mov edi, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x442260
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.0043a478
ret

Function at 0x414020
Capabilities:
Get common file path

Disassembly:
push 0x10c
mov eax, 0x43d72e
call fcn.0043a442
mov esi, dword [ebp + 8]
and dword [ebp - 0x118], 0
push 0
push 0x36
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.Screenshots
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc90.dll_Ordinal_310]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call fcn.0040b1d5
add esp, 0xc
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
call fcn.0043a48c
ret 4

Function at 0x4195c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4539f4]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, ecx
lea eax, [esi + 0x108]
push eax
lea ecx, [esp + 0xc]
push 0x104
push ecx
call dword [sym.imp.MSVCR90.dll_strcpy_s]
lea edx, [esi + 4]
mov eax, edx
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419600
sub eax, esi
pop esi
jne 0x419611
mov edx, str.Global
push edx
lea edx, [esp + 8]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll_strcat_s]
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0043a3ca
add esp, 0x10c
ret
Function at 0x42f200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x42f231
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je 0x42f231
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x44], 0
je 0x42f231
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x43a3ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4539f4]
jne 0x43a3d4
repz ret
jmp fcn.0043ad13
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x56f03791
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x22cd1bfc
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x422fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
or ebp, 0xffffffff
jmp 0x422fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422fb8
mov eax, 1
add ebx, ebx
jne 0x422fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422fd0
jne 0x422fec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422fd0
xor ecx, ecx
sub eax, 3
jb 0x423000
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423072
mov ebp, eax
add ebx, ebx
jne 0x42300b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423018
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42303c
inc ecx
add ebx, ebx
jne 0x423028
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42301d
jne 0x423039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42301d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42305c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42304d
jmp 0x422fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42305c
add edi, ecx
jmp 0x422fbe
pop esi
mov edi, esi
mov ecx, 0x3ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42307a
cmp byte [edi], 8
jne 0x42307a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42307f
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x4230ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26a30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26a94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4230ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26a98]
or eax, eax
je 0x4230e8
mov dword [ebx], eax
add ebx, 4
jmp 0x4230c9
call dword [esi + 0x26a9c]
popal
jmp 0x401220
Function at 0x41caa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41cac2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cac9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cab8
mov eax, 1
add ebx, ebx
jne 0x41cadb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cad0
jne 0x41caec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cad0
xor ecx, ecx
sub eax, 3
jb 0x41cb00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cb72
mov ebp, eax
add ebx, ebx
jne 0x41cb0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cb18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cb3c
inc ecx
add ebx, ebx
jne 0x41cb28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cb1d
jne 0x41cb39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cb1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cb5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cb4d
jmp 0x41cabe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cb5c
add edi, ecx
jmp 0x41cabe
pop esi
mov edi, esi
mov ecx, 0x466
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cb7a
cmp byte [edi], 6
jne 0x41cb7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41cb7f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41cbee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c0cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41cbac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c0d0]
or eax, eax
je 0x41cbe8
mov dword [ebx], eax
add ebx, 4
jmp 0x41cbc9
call dword [esi + 0x1c0d4]
popal
jmp section.UPX0
Function at 0xd151be
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xd151d5
push eax
pushal
jge 0xd151f6
jmp 0xd151f6
jmp 0xd15204
popal
mov eax, dword [esp + 4]
push ecx
push esi
jle 0xd15211
pop esi
pop ecx
mov eax, dword [eax]
push esi
jmp 0xd1522c
pop esi
mov dword [esp + 4], eax
jp 0xd1524e
push eax
push edx
jmp 0xd15248
rdtsc
push eax
pop eax
pop edx
pop eax
pop eax
jge 0xd1526d
jmp 0xd1526d
jl 0xd15274
clc
push dword [ebp + 0x122d00d1]
clc
lea eax, [ebp + 0x1248159a]
pushal
mov cx, 0x9768
mov eax, edi
popal
call eax
cmc
mov dword [ebp + 0x12476839], eax
jmp 0xd152a8
mov byte [ebp + 0x122d1c83], 0x50
jmp 0xd152c8
push 0x49a8b865
push ebx
pushal
push eax
push edx
rdtsc
pop edx
pop eax
push eax
push edx
rdtsc
pop edx
pop eax
popal
pop ebx
add dword [esp], 0x5f04f4f1
cld
push dword [ebp + 0x122d00d1]
pushal
mov ah, 0xec
popal
lea eax, [ebp + 0x1248159a]
pushal
jmp 0xd1530e
movzx edi, di
popal
call eax
pushal
stc
movzx ebx, ax
popal
mov dword [ebp + 0x122d1e19], eax
jae 0xd1533b
jmp 0xd1533b
push 0xc897e0de
pushal
push eax
push edx
jnp 0xd15349
rdtsc
push eax
push edx
rdtsc
pop edx
pop eax
pop edx
pop eax
jo 0xd1535b
pushal
popal
popal
add dword [esp], 0x27f7c751
push 0
push esi
call 0xd1536e
and byte [esi - 0x3d], bl
pop esi
mov dword [esp + 4], esi
add dword [esp + 4], 0x1d
inc esi
push esi
ret

Function at 0xda0e1b
Capabilities:
Encode data using xor

Disassembly:
jmp 0xda0da9
pop edi
pushal
push edi
jb 0xda0db2
pop edx
popal
sti
add edi, 0xdd07
mov ebx, eax
sti
push 0
or esi, 0x173251a2
pop ecx
mov ebx, 0x12e46b81
push dword [ecx + edi]
mov bx, 0x3f72
pop edx
mov si, 0x8846
add edx, 0x3d1885a4
mov esi, ecx
add edx, 0x5157e137
mov eax, 0x98a2b2e
xor edx, 0x5c3764cf
push eax
mov esi, 0x3f86642c
pop ebx
push edx
movzx esi, di
pop dword [edi + ecx]
mov ax, 0x64f6
call 0xda0e1b
add byte [edx - 0x6d], ch
and dword [eax - 0x4b], ebx
mov byte [ebx + 0x21a88700], al
stosb byte es:[edi], al
sbb al, 0x13
xor cl, byte [edi]
pop dword [ebx]
add byte [eax], al
add byte [eax - 0x7ea77a2d], al
jmp 0xa8761e9
Function at 0x402dfb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x481640]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402e64
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.004021d2
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00404a64
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x402e7c
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403cdf
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x402e2c
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040677c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403cdf
jmp 0x402e66

Function at 0x4053ff
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jg 0x40541f
jl 0x405416
test ebx, ebx
jne 0x40541f
xor eax, eax
xor edx, edx
jmp 0x4054e2
cmp dword [ebp + 0x38], 0
je 0x405435
push esi
push ebx
push dword [esp + 0x18]
call fcn.004054e8
jmp 0x4054e2
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x405479
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x405479
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.00403f4c
mov eax, dword [ebp + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x405481
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
je 0x4054d8
mov ecx, ebp
call fcn.00403bb6
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x4054c3
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call fcn.0040c09c
mov ecx, dword [esp + 0x24]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x4054d8
jmp 0x405494
test edx, edx
je 0x4054d8
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call fcn.0040c09c
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4057b2
Capabilities:
Access peb ldr_data
Delete file
Get kernel32 base address
Get number of processors

Disassembly:
sub esp, 0xd0
mov eax, dword [0x481640]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x24
mov dword [esp + 0x14], ebx
call fcn.00406739
pop ecx
mov esi, eax
push 0x64
pop ebp
test esi, esi
je 0x405818
push str.Window1
lea ecx, [esp + 0xc8]
call fcn.004021d2
lea eax, [esp + 0xc4]
push eax
push ebp
push ecx
push ecx
mov dword [esp + 4], 0x40000000
mov ecx, esi
mov dword [esp], 0x40400000
call fcn.0040222b
mov esi, eax
inc ebx
jmp 0x40581a
mov esi, ebx
test bl, 1
je 0x40582b
lea ecx, [esp + 0xc4]
call fcn.00403cdf
test esi, esi
je 0x40584c
mov ecx, esi
call fcn.0040307d
test esi, esi
je 0x40584c
lea ecx, [esi + 0xc]
call fcn.00403cdf
push 0x24
push esi
call fcn.00406769
pop ecx
pop ecx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4825b0], eax
push 0x27
push 0x481030
push 0x547
mov edi, 0x481058
push edi
call fcn.00402e9a
push 1
push 0x424458
call fcn.00405974
push 0x8aafdc01
push dword [0x4825b0]
call fcn.00402dfb
add esp, 0x20
lea ecx, [esp + 0x14]
mov ebx, str.static.lib
mov esi, eax
push 1
push 0x40
push 2
push ebx
call fcn.0040201e
lea eax, [esp + 0x14]
push 0x424468
push eax
call fcn.004010ef
push eax
call fcn.00401dba
add esp, 0xc
sub ebp, 1
jne 0x4058b2
lea ecx, [esp + 0x14]
call fcn.00403f1c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x4e4
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x4058fb
call fcn.00404efa
lea ecx, [esp + 4]
call fcn.00402baa
mov ecx, dword [esp + 0xcc]
xor eax, eax
xor ecx, esp
call fcn.0040677c
add esp, 0xd0
ret 0x10

Function at 0x4074c6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407505
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407505
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407505
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407505
cmp dword [ecx + 0x74], 0xe
jbe 0x407505
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4154d7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4282f0
push 0x4282e8
push str.FlsAlloc
push 0x1e
call fcn.004153a1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41550b
push dword [ebp + 8]
mov ecx, esi
call dword [0x424134]
call esi
jmp 0x415511
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x415555
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x428300
push 0x4282f8
push str.FlsGetValue
push 0x20
call fcn.004153a1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41558c
push dword [ebp + 8]
mov ecx, esi
call dword [0x424134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x416c36
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416aa7

Function at 0x417030
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407630
mov eax, dword [0x481640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415b0a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417072
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4171ce
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423400
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x483050]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418027
mov ecx, dword [esi*4 + 0x483050]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4171c7
cmp eax, dword [edi + ecx + 0x24]
jne 0x4171c7
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4171c7
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418027
add esp, 0x14
test edx, edx
jl 0x4171c7
jg 0x41713d
test eax, eax
jb 0x4171c7
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4171c7
jl 0x417157
cmp dword [ebp - 0x1008], eax
ja 0x4171c7
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417175
test ebx, ebx
je 0x4171ae
cmp ecx, edi
jae 0x4171ae
mov al, byte [ecx]
cmp al, 0xd
jne 0x41718f
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41719b
cmp byte [ecx + 1], 0xa
jne 0x41719b
inc ecx
jmp 0x41719b
movzx eax, al
movsx eax, byte [eax + 0x481910]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417175
cmp edx, ebx
jne 0x417175
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4171cc
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040677c
leave
ret
Function at 0x4174c5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x483050]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417505
cmp byte [ebx], 0xa
jne 0x417505
or byte [eax + edi + 0x28], 4
jmp 0x41750a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x417608
mov al, byte [edx]
cmp al, 0x1a
je 0x4175ea
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x417539
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41755e
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x417568
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41751b
jmp 0x417608
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4175e5
cmp dword [ebp - 0xc], 0
je 0x4175e5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483050]
test byte [eax + edi + 0x28], 0x48
je 0x4175bf
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4175aa
mov byte [esi], dl
jmp 0x4175bb
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483050]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417608
cmp byte [ebp - 1], 0xa
jne 0x4175ce
cmp esi, ebx
jne 0x4175ce
mov byte [esi], 0xa
jmp 0x417607
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418045
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417608
mov byte [esi], 0xd
jmp 0x417607
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483050]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417604
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417608
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret