joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4124e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
cmp dword [ebp + 8], 0
je 0x412500
cmp dword [ebp + 0xc], 0
jne 0x4124fa
cmp dword [ebp + 0x10], 0
je 0x412500
cmp dword [ebp + 0x14], 0
jne 0x412504
xor al, al
jmp 0x412568
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push 0x33
call fcn.0041251b
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412570
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x33
call fcn.0041258b
Function at 0x414e00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x414e07
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x414ee4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e0e8]
inc ecx
sub edx, 8
sub esi, 1
jne 0x414e20
pop edi
test edx, edx
je 0x414f0b
jmp 0x414ef0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x43e0e8]
inc ecx
sub edx, 1
jne 0x414ef0
not eax
pop esi
ret

Function at 0x414f10
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43e0e8]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x43e0e8]
mov dword [edx + 8], ecx
ret

Function at 0x414f60
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x43e0e8]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x43e0e8]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x415660
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x415692
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x415688
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x4156a5
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call fcn.00422d00
add dword [edi + 0x1c], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret
Function at 0x4156c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x4156f3
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4156ed
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x41571f
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x415705
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.00422d00
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x415736
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x415730
cmp byte [esi + 8], 0
je 0x415730
or eax, 0xffffffff
add esp, 8
ret
Function at 0x415820
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x415865
cmp byte [esi + 1], 0
je 0x41586d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x415882
cmp byte [esi + 1], 0
je 0x415874
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x41588b
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x41583e
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x41588b
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x41589f
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.0041cc07
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4158bd
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0xffffffff
cmp edi, eax
jbe 0x4159d1
jmp 0x4158e0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x4158f1
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x41590a
mov ebp, 0x404
cmp byte [esi], 0
je 0x41592f
cmp byte [esi + 1], 0
je 0x4159d1
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x415932
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x41595a
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x415954
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x415980
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x41596b
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call fcn.00422d00
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x4159d1
lea eax, [ebp - 3]
test eax, eax
jl 0x4159bc
dec eax
cmp byte [eax + ebx], 0x50
jne 0x4159ac
cmp byte [eax + ebx + 1], 0x4b
jne 0x4159ac
cmp byte [eax + ebx + 2], 5
jne 0x4159ac
cmp byte [eax + ebx + 3], 6
je 0x4159b2
test eax, eax
jge 0x415990
jmp 0x4159bc
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x4159d1
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x4158d4
push ebx
call fcn.0041cb2a
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x416300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x416318
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x41630d
cmp dword [edi + 0x7c], ebx
je 0x416327
call fcn.004166f0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00416070
add esp, 0xc
test eax, eax
je 0x41634d
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push ebp
push 0x84
call fcn.0041cc07
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x41638f
push 0x4000
call fcn.0041cc07
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebp], eax
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x4c], ebx
cmp eax, ebx
jne 0x41639b
push ebp
call fcn.0041cb2a
add esp, 4
pop ebp
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [ebp + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [ebp + 0x64], edx
mov ecx, dword [edi]
mov dword [ebp + 0x60], ecx
mov edx, dword [edi + 0xc]
push esi
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x18], ebx
cmp eax, ebx
jne 0x4163e4
lea esi, [ebp + 4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
call fcn.004151d0
test eax, eax
jne 0x4163e4
mov dword [ebp + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [ebp + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [ebp + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [ebp + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x41640e
mov cl, byte [edi + 0x39]
mov byte [ebp + 0x80], cl
jmp 0x416417
mov dl, byte [edi + 0x3f]
mov byte [ebp + 0x80], dl
movzx eax, byte [ebp + 0x6c]
mov esi, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [ebp + 0x70]
mov dword [ebp + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [ebp + 0x74], 0x23456789
mov dword [ebp + 0x78], 0x34567890
cmp esi, ebx
je 0x416454
mov cl, byte [esi]
cmp cl, bl
je 0x416454
call fcn.00414f10
add esi, 1
jne 0x416444
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 8], ebx
pop esi
mov dword [edi + 0x7c], ebp
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x416850
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x4168f8
cmp dword [ebx + 4], 0xffffffff
jne 0x4168f8
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416880
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x4168b9
cmp ax, 0x2f
je 0x4168b9
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4168a6
mov eax, dword [0x443548]
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea esi, [esp + 0x1c]
call fcn.00415620
add esp, 8
test eax, eax
jne 0x4168dd
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ecx
ret 8
call fcn.004159f0
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop esi
pop ecx
ret 8
pop edi
mov eax, 0x1000000
pop esi
pop ecx
ret 8
Function at 0x417de0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
push edi
mov edi, ecx
mov dword [esp + 0x10], 8
jmp 0x417e60
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x44a818]
or ecx, dword [ebx*4 + 0x44aa18]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x44ac18]
and eax, 0x3f
or ecx, dword [eax*4 + 0x44ae18]
mov eax, dword [edx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x44a918]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x44ab18]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x44ad18]
and eax, 0x3f
or ebx, dword [eax*4 + 0x44af18]
add edx, 4
or ebx, ecx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x44a818]
or ecx, dword [ebx*4 + 0x44aa18]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x44ac18]
and eax, 0x3f
or ecx, dword [eax*4 + 0x44ae18]
mov eax, dword [edx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x44a918]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x44ab18]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x44ad18]
and eax, 0x3f
or ebx, dword [eax*4 + 0x44af18]
add edx, 4
or ebx, ecx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x417e60
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
lea edx, [ecx*4]
mov ecx, esi
shr ecx, 0x10
xor eax, edx
mov edx, dword [esp + 0x18]
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret
Function at 0x4193f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
sub eax, 1
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
je 0x41941f
sub eax, 1
je 0x419418
xor ebp, ebp
sub eax, 1
je 0x419411
lea ebx, [ebp + 0x3e]
jmp 0x419429
mov ebx, 0xa
jmp 0x419429
mov ebp, 0x24
jmp 0x419424
mov ebp, 0xa
mov ebx, 0x1a
test edi, edi
je 0x419458
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.0041e486
add eax, dword [esp + 0x10]
push eax
call fcn.0041e474
add esp, 4
call fcn.0041e486
cdq
idiv edi
mov edi, edx
add edi, esi
jmp 0x41945a
mov edi, esi
xor esi, esi
test edi, edi
jle 0x4194c5
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.0041e486
add eax, dword [esp + 0x10]
push eax
call fcn.0041e474
add esp, 4
call fcn.0041e486
cdq
idiv ebx
add edx, ebp
cmp edx, 0xa
jge 0x419491
add edx, 0x30
jmp 0x4194a6
cmp edx, 0x24
jge 0x4194a3
mov ecx, dword [esp + 0x1c]
add edx, 0x37
mov word [ecx + esi*2], dx
jmp 0x4194ae
add edx, 0x3d
mov eax, dword [esp + 0x1c]
mov word [eax + esi*2], dx
inc esi
cmp esi, edi
jl 0x419460
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov word [edx + edi*2], cx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov word [ecx + edi*2], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x41b59c
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x433c61
call fcn.0041f156
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x41b6ae
cmp byte [esi + 0x42], bl
je 0x41b6ae
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x41b5d8
xor al, al
jmp 0x41b6b0
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041a229
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x41b648
dec eax
je 0x41b64c
dec eax
dec eax
je 0x41b6aa
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403a5b
mov al, bl
jmp 0x41b6b0
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x41b68c
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0041f9b0
add esp, 0x10
cmp edi, eax
jne 0x41b636
cmp byte [esi + 0x42], 0
je 0x41b6aa
test edi, edi
jne 0x41b5e6
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00405521
jmp 0x41b5e6
mov bl, 1
jmp 0x41b638
mov al, 1
call fcn.0041f1d9
ret
Function at 0x41b757
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x433c8e
call fcn.0041f156
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x41b781
lea eax, [ebp + 8]
push eax
call fcn.0041aeab
pop ecx
jmp 0x41b8fc
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x41b7af
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x41b7af
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x41b8fc
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x41b8f7
cmp dword [esi + 0x3c], ebx
jne 0x41b7d8
push eax
push edi
call fcn.0041af18
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x41b8fc
jmp 0x41b8f7
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.0041a229
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
lea edx, [ebp - 0x38]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x41b8c9
cmp eax, 1
jg 0x41b904
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x41b86e
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0041f9b0
add esp, 0x10
cmp edi, eax
jne 0x41b8eb
lea eax, [ebp - 0x30]
mov byte [esi + 0x42], 1
cmp dword [ebp - 0x3c], eax
jne 0x41b934
test edi, edi
ja 0x41b894
cmp dword [ebp - 0x18], 0x20
push 0
lea ecx, [ebp - 0x2c]
jae 0x41b8f0
push 8
call fcn.00405521
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410560
mov ecx, eax
call fcn.0040a4a1
lea edx, [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x40]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x2e]
push edx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x41b825
push 0
lea ecx, [ebp - 0x2c]
push 1
call fcn.00403a5b
mov eax, 0xffff
call fcn.0041f1d9
ret 4
cmp eax, 3
jne 0x41b8eb
push dword [esi + 0x4c]
push dword [ebp - 0x30]
call fcn.0041af18
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x41b923
mov esi, 0xffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403a5b
mov ax, si
jmp 0x41b8fc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403a5b
mov ax, word [ebp + 8]
jmp 0x41b8fc

Function at 0x41cb1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449654]
jne 0x41cb25
repz ret
jmp fcn.00424e64
Function at 0x430224
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00424873
and dword [ebp - 4], 0
cmp dword [0x450890], 0
mov ebx, eax
jne 0x4302d5
push 0x4381f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x430386
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4381e4
push edi
call esi
test eax, eax
je 0x430386
push eax
call fcn.00424801
mov dword [esp], 0x4381d4
push edi
mov dword [0x450890], eax
call esi
push eax
call fcn.00424801
mov dword [esp], 0x4381c0
push edi
mov dword [0x450894], eax
call esi
push eax
call fcn.00424801
mov dword [esp], 0x4381a4
push edi
mov dword [0x450898], eax
call esi
push eax
call fcn.00424801
pop ecx
mov dword [0x4508a0], eax
test eax, eax
je 0x4302d5
push 0x43818c
push edi
call esi
push eax
call fcn.00424801
pop ecx
mov dword [0x45089c], eax
mov eax, dword [0x45089c]
cmp eax, ebx
je 0x43032d
cmp dword [0x4508a0], ebx
je 0x43032d
push eax
call fcn.0042487c
push dword [0x4508a0]
mov esi, eax
call fcn.0042487c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43032d
test edi, edi
je 0x43032d
call esi
test eax, eax
je 0x430324
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430324
test byte [ebp - 0xc], 1
jne 0x43032d
or dword [ebp + 0x10], 0x200000
jmp 0x430366
mov eax, dword [0x450894]
cmp eax, ebx
je 0x430366
push eax
call fcn.0042487c
pop ecx
test eax, eax
je 0x430366
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x430366
mov eax, dword [0x450898]
cmp eax, ebx
je 0x430366
push eax
call fcn.0042487c
pop ecx
test eax, eax
je 0x430366
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x450890]
call fcn.0042487c
pop ecx
test eax, eax
je 0x430386
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x430388
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f004]
jne 0x40100a
repz ret
jmp fcn.00401424

Function at 0x406ecc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404a1c
and dword [ebp - 0x14], 0
cmp dword [0x451958], 0
mov dword [ebp - 0x18], eax
jne 0x406f7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407027
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407027
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x451958], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45195c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x451960], eax
call edi
push eax
call esi
mov dword [0x451968], eax
test eax, eax
je 0x406f7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x451964], eax
mov eax, dword [0x451964]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406fd8
cmp dword [0x451968], ecx
je 0x406fd8
push eax
call esi
push dword [0x451968]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406fd8
test ebx, ebx
je 0x406fd8
call edi
test eax, eax
je 0x406fcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406fcf
test byte [ebp - 8], 1
jne 0x406fd8
or dword [ebp + 0x10], 0x200000
jmp 0x40700b
mov eax, dword [0x45195c]
cmp eax, dword [ebp - 0x18]
je 0x40700b
push eax
call esi
test eax, eax
je 0x40700b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40700b
mov eax, dword [0x451960]
cmp eax, dword [ebp - 0x18]
je 0x40700b
push eax
call esi
test eax, eax
je 0x40700b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x451958]
call esi
test eax, eax
je 0x407027
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407029
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret