joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414e70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x414e77
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x414f54
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 + 0x43e098]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x43e098]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x43e098]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e098]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e098]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e098]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e098]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43e098]
inc ecx
sub edx, 8
sub esi, 1
jne 0x414e90
pop edi
test edx, edx
je 0x414f7b
jmp 0x414f60
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x43e098]
inc ecx
sub edx, 1
jne 0x414f60
not eax
pop esi
ret

Function at 0x414f80
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 + 0x43e098]
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 + 0x43e098]
mov dword [edx + 8], ecx
ret

Function at 0x414fd0
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 + 0x43e098]
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 + 0x43e098]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x4156d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x415702
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 0x4156f8
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 0x415715
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call fcn.00422d70
add dword [edi + 0x1c], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret
Function at 0x415730
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x415763
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 0x41575d
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x41578f
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x415775
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.00422d70
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x4157a6
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 0x4157a0
cmp byte [esi + 8], 0
je 0x4157a0
or eax, 0xffffffff
add esp, 8
ret
Function at 0x415890
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x4158d5
cmp byte [esi + 1], 0
je 0x4158dd
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 0x4158f2
cmp byte [esi + 1], 0
je 0x4158e4
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 0x4158fb
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x4158ae
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x4158fb
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 0x41590f
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.0041cc7a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x41592d
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 0x415a41
jmp 0x415950
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 0x415961
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 0x41597a
mov ebp, 0x404
cmp byte [esi], 0
je 0x41599f
cmp byte [esi + 1], 0
je 0x415a41
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 0x4159a2
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x4159ca
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 0x4159c4
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x4159f0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x4159db
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call fcn.00422d70
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x415a41
lea eax, [ebp - 3]
test eax, eax
jl 0x415a2c
dec eax
cmp byte [eax + ebx], 0x50
jne 0x415a1c
cmp byte [eax + ebx + 1], 0x4b
jne 0x415a1c
cmp byte [eax + ebx + 2], 5
jne 0x415a1c
cmp byte [eax + ebx + 3], 6
je 0x415a22
test eax, eax
jge 0x415a00
jmp 0x415a2c
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x415a41
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x415944
push ebx
call fcn.0041cb9d
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x416370
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 0x416388
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x41637d
cmp dword [edi + 0x7c], ebx
je 0x416397
call fcn.00416760
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004160e0
add esp, 0xc
test eax, eax
je 0x4163bd
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push ebp
push 0x84
call fcn.0041cc7a
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4163ff
push 0x4000
call fcn.0041cc7a
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 0x41640b
push ebp
call fcn.0041cb9d
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 0x416454
lea esi, [ebp + 4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
call fcn.00415240
test eax, eax
jne 0x416454
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 0x41647e
mov cl, byte [edi + 0x39]
mov byte [ebp + 0x80], cl
jmp 0x416487
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 0x4164c4
mov cl, byte [esi]
cmp cl, bl
je 0x4164c4
call fcn.00414f80
add esi, 1
jne 0x4164b4
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 0x4168c0
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x416968
cmp dword [ebx + 4], 0xffffffff
jne 0x416968
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 0x4168f0
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x416929
cmp ax, 0x2f
je 0x416929
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x416916
mov eax, dword [0x443458]
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea esi, [esp + 0x1c]
call fcn.00415690
add esp, 8
test eax, eax
jne 0x41694d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ecx
ret 8
call fcn.00415a60
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 0x417e50
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 0x417ed0
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 0x417ed0
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 0x419460
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 0x41948f
sub eax, 1
je 0x419488
xor ebp, ebp
sub eax, 1
je 0x419481
lea ebx, [ebp + 0x3e]
jmp 0x419499
mov ebx, 0xa
jmp 0x419499
mov ebp, 0x24
jmp 0x419494
mov ebp, 0xa
mov ebx, 0x1a
test edi, edi
je 0x4194c8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.0041e4f6
add eax, dword [esp + 0x10]
push eax
call fcn.0041e4e4
add esp, 4
call fcn.0041e4f6
cdq
idiv edi
mov edi, edx
add edi, esi
jmp 0x4194ca
mov edi, esi
xor esi, esi
test edi, edi
jle 0x419535
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.0041e4f6
add eax, dword [esp + 0x10]
push eax
call fcn.0041e4e4
add esp, 4
call fcn.0041e4f6
cdq
idiv ebx
add edx, ebp
cmp edx, 0xa
jge 0x419501
add edx, 0x30
jmp 0x419516
cmp edx, 0x24
jge 0x419513
mov ecx, dword [esp + 0x1c]
add edx, 0x37
mov word [ecx + esi*2], dx
jmp 0x41951e
add edx, 0x3d
mov eax, dword [esp + 0x1c]
mov word [eax + esi*2], dx
inc esi
cmp esi, edi
jl 0x4194d0
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 0x41b60f
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x433da3
call fcn.0041f1c6
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x41b721
cmp byte [esi + 0x42], bl
je 0x41b721
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x41b64b
xor al, al
jmp 0x41b723
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041a325
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
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 0x41b6bb
dec eax
je 0x41b6bf
dec eax
dec eax
je 0x41b71d
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403bde
mov al, bl
jmp 0x41b723
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x41b6ff
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0041fa20
add esp, 0x10
cmp edi, eax
jne 0x41b6a9
cmp byte [esi + 0x42], 0
je 0x41b71d
test edi, edi
jne 0x41b659
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004056dd
jmp 0x41b659
mov bl, 1
jmp 0x41b6ab
mov al, 1
call fcn.0041f249
ret
Function at 0x41b7ca
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x433cf6
call fcn.0041f1c6
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x41b7f4
lea eax, [ebp + 8]
push eax
call fcn.0041af6d
pop ecx
jmp 0x41b96f
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x41b822
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x41b822
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 0x41b96f
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x41b96a
cmp dword [esi + 0x3c], ebx
jne 0x41b84b
push eax
push edi
call fcn.0041afda
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x41b96f
jmp 0x41b96a
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.0041a325
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
lea edx, [ebp - 0x38]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x41b93c
cmp eax, 1
jg 0x41b977
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x41b8e1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0041fa20
add esp, 0x10
cmp edi, eax
jne 0x41b95e
lea eax, [ebp - 0x30]
mov byte [esi + 0x42], 1
cmp dword [ebp - 0x3c], eax
jne 0x41b9a7
test edi, edi
ja 0x41b907
cmp dword [ebp - 0x18], 0x20
push 0
lea ecx, [ebp - 0x2c]
jae 0x41b963
push 8
call fcn.004056dd
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d0
mov ecx, eax
call fcn.0040a4fa
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 0x41b898
push 0
lea ecx, [ebp - 0x2c]
push 1
call fcn.00403bde
mov eax, 0xffff
call fcn.0041f249
ret 4
cmp eax, 3
jne 0x41b95e
push dword [esi + 0x4c]
push dword [ebp - 0x30]
call fcn.0041afda
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x41b996
mov esi, 0xffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403bde
mov ax, si
jmp 0x41b96f
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403bde
mov ax, word [ebp + 8]
jmp 0x41b96f

Function at 0x41cb8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449654]
jne 0x41cb98
repz ret
jmp fcn.00424ed4
Function at 0x430294
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.004248e3
and dword [ebp - 4], 0
cmp dword [0x450890], 0
mov ebx, eax
jne 0x430345
push 0x4381f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4303f6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4381e4
push edi
call esi
test eax, eax
je 0x4303f6
push eax
call fcn.00424871
mov dword [esp], 0x4381d4
push edi
mov dword [0x450890], eax
call esi
push eax
call fcn.00424871
mov dword [esp], 0x4381c0
push edi
mov dword [0x450894], eax
call esi
push eax
call fcn.00424871
mov dword [esp], 0x4381a4
push edi
mov dword [0x450898], eax
call esi
push eax
call fcn.00424871
pop ecx
mov dword [0x4508a0], eax
test eax, eax
je 0x430345
push 0x43818c
push edi
call esi
push eax
call fcn.00424871
pop ecx
mov dword [0x45089c], eax
mov eax, dword [0x45089c]
cmp eax, ebx
je 0x43039d
cmp dword [0x4508a0], ebx
je 0x43039d
push eax
call fcn.004248ec
push dword [0x4508a0]
mov esi, eax
call fcn.004248ec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43039d
test edi, edi
je 0x43039d
call esi
test eax, eax
je 0x430394
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430394
test byte [ebp - 0xc], 1
jne 0x43039d
or dword [ebp + 0x10], 0x200000
jmp 0x4303d6
mov eax, dword [0x450894]
cmp eax, ebx
je 0x4303d6
push eax
call fcn.004248ec
pop ecx
test eax, eax
je 0x4303d6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4303d6
mov eax, dword [0x450898]
cmp eax, ebx
je 0x4303d6
push eax
call fcn.004248ec
pop ecx
test eax, eax
je 0x4303d6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x450890]
call fcn.004248ec
pop ecx
test eax, eax
je 0x4303f6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4303f8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100020e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101f9e50]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 0
je 0x10002114
mov dword [ebp - 0x1c], 0x20119
jmp 0x1000211b
mov dword [ebp - 0x1c], 0x20219
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000218f
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10002185
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101604df
mov esp, ebp
pop ebp
ret