joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ab0
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x487264]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push edi
mov edi, dword [esp + 0x120]
push 0
push ebx
call ebp
mov eax, edi
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406ae8
sub eax, edx
test eax, eax
jle 0x406b4d
cmp byte [edi + esi], 0x5c
jne 0x406b39
push 0x104
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004441f0
lea edx, [esp + 0x1c]
add esp, 0xc
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406b17
push esi
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.00444db0
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
call ebp
mov eax, edi
inc esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b40
sub eax, edx
cmp esi, eax
jl 0x406af5
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00443a17
add esp, 0x108
ret
Function at 0x407290
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1001c
call fcn.00444590
mov eax, dword [0x487264]
xor eax, esp
mov dword [esp + 0x10018], eax
mov eax, dword [esp + 0x10020]
mov ecx, dword [esp + 0x10024]
mov edx, dword [esp + 0x10028]
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40730c
pop edi
or eax, eax
pop esi
mov ecx, dword [esp + 0x10018]
xor ecx, esp
call fcn.00443a17
add esp, 0x1001c
ret
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push edi
push edi
push esi
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [esp + 0x14]
push eax
push 8
lea ecx, [esp + 0x20]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x24]
push edx
push eax
push esi
call ebp
push 0x10000
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.004441f0
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push 0x10000
lea eax, [esp + 0x34]
push eax
push esi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4073ae
nop
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call fcn.00406960
push 0x10000
lea edx, [esp + 0x38]
push 0
push edx
mov edi, eax
call fcn.004441f0
add esp, 0x18
push 0
lea eax, [esp + 0x14]
push eax
push 0x10000
lea ecx, [esp + 0x34]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x407370
cmp dword [esp + 0x1003c], 0
je 0x4073ff
push 0
push 0
push 0
push esi
mov dword [esp + 0x28], edi
call ebp
push 0
lea edx, [esp + 0x28]
push edx
push 8
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x10028]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.00443a17
add esp, 0x1001c
ret
cmp edi, dword [esp + 0x18]
je 0x4073da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4073e6
Function at 0x408e00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [eax]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], ebx
cmp ebx, ebp
jne 0x408e1d
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push esi
mov esi, dword [esp + 0x1c]
mov dword [eax], ebp
push edi
jmp 0x408e30
mov edi, 0x10000
cmp ebx, 0x10000
ja 0x408e3f
mov edi, ebx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x408e4c
call eax
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x408e70
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
push ecx
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi]
push edi
push edx
push ecx
call eax
add esp, 0x18
jmp 0x408e85
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
push ebp
lea edx, [esp + 0x14]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor edx, edx
add dword [esi + 0x28], eax
mov dword [esi + 0x20], ebp
adc dword [esi + 0x2c], edx
cmp ecx, ebp
je 0x408ea8
add dword [ecx], eax
adc dword [ecx + 4], edx
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + 0xc]
test ebp, ebp
je 0x408ee7
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edx, edi
or edx, ebx
je 0x408ee3
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0
push 0x64
push ecx
push edx
call fcn.00444630
push ebx
push edi
push edx
push eax
call fcn.004445c0
push eax
call ebp
mov eax, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x24], eax
add dword [ecx], eax
sub ebx, eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
je 0x408f0d
test eax, eax
je 0x408f18
test ebx, ebx
jbe 0x408f18
xor ebp, ebp
jmp 0x408e30
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x408f30
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [eax]
test ebp, ebp
jne 0x408f41
xor eax, eax
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
mov dword [eax], 0
push edi
mov edi, 0x10000
cmp ebp, 0x10000
ja 0x408f61
mov edi, ebp
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], 0
test eax, eax
je 0x408f72
call eax
mov eax, dword [esi + 8]
test eax, eax
je 0x408f92
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push ecx
push edx
mov edx, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
push edx
call eax
add esp, 0x18
jmp 0x408fa4
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x10]
add dword [esi + 0x30], ecx
mov edx, dword [esp + 0x20]
adc dword [esi + 0x34], 0
add dword [edx], ecx
add ebx, ecx
sub ebp, ecx
test eax, eax
je 0x408fcd
test ecx, ecx
je 0x408fc5
test ebp, ebp
ja 0x408f52
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
pop edi
pop esi
pop ebx
or eax, 0xffffffff
pop ebp
pop ecx
ret
Function at 0x409310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
or ecx, 0xffffffff
push esi
mov dword [eax + 0x34], edx
mov byte [eax + 0x1f], dl
mov dword [eax + 0x24], edx
mov dword [eax + 0x468], ecx
mov dword [eax + 0x46c], ecx
call fcn.004092f0
lea esi, [eax + 0x60]
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x409337
pop esi
ret

Function at 0x40d790
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or edx, 0x100
push ebx
lea esp, [esp]
mov ecx, edx
and ecx, 1
shr edx, 1
movzx ebx, word [edi + edx*2]
neg ecx
shr ecx, 4
shr ebx, 4
and ecx, 0x7f
xor ebx, ecx
add eax, dword [esi + ebx*4]
cmp edx, 2
jae 0x40d7a0
pop ebx
ret

Function at 0x40d7d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x40d7e0
pop esi
pop ebp
pop ebx
ret

Function at 0x40db20
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
push esi
mov esi, edx
shr esi, 1
mov ebp, esi
and ebp, 1
mov eax, edx
shr eax, 2
movzx ecx, word [ebx + eax*2 + 4]
neg ebp
shr ebp, 4
neg eax
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
movzx ebp, word [ebx + 2]
mov ecx, dword [edi + ecx*4]
and eax, 0x7f0
xor eax, ebp
shr eax, 4
add ecx, dword [edi + eax*4]
movzx eax, word [ebx + esi*2 + 8]
add ecx, dword [esp + 0xc]
mov esi, eax
shr esi, 4
mov ebp, dword [edi + esi*4]
mov esi, dword [esp + 0x10]
xor eax, 0x7f0
add ebp, ecx
shr eax, 4
mov dword [esi + edx*4], ebp
mov eax, dword [edi + eax*4]
add eax, ecx
mov dword [esi + edx*4 + 4], eax
add edx, 2
cmp edx, 8
jb 0x40db24
pop esi
pop ebp
ret
Function at 0x40db90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, eax
movzx eax, word [ebp]
mov ecx, eax
xor ecx, 0x7f0
shr ecx, 4
mov edx, dword [edi + ecx*4]
movzx ecx, word [ebp + 0x10]
shr eax, 4
mov eax, dword [edi + eax*4]
mov dword [esp + 0x18], eax
shr ecx, 4
mov eax, dword [edi + ecx*4]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
test eax, eax
jbe 0x40dc19
mov esi, dword [esp + 0x24]
add esi, 4
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
push esi
push edx
mov ebx, ebp
call fcn.0040db20
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0x20]
push eax
push ecx
lea ebx, [ebp + 0x10]
call fcn.0040db20
add esp, 0x10
add esi, 0x440
add ebp, 0x20
sub dword [esp + 0x14], 1
jne 0x40dbe0
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
cmp esi, 0x10
jbe 0x40dce9
movzx ecx, word [ebp + 0x10]
xor ecx, 0x7f0
add esi, 0xfffffff1
shr esi, 1
shr ecx, 4
add edx, dword [edi + ecx*4]
lea eax, [ebp + esi*2 + 0x300]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
jmp 0x40dc54
mov edx, dword [esp + 0x10]
dec esi
sub dword [esp + 0x2c], 2
lea ecx, [esi + 0x80]
mov eax, ecx
and eax, 1
shr ecx, 1
movzx ebx, word [ebp + ecx*2 + 0x200]
neg eax
shr eax, 4
shr ebx, 4
and eax, 0x7f
xor ebx, eax
add edx, dword [edi + ebx*4]
cmp ecx, 2
jae 0x40dc60
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx]
mov ebx, dword [esp + 0x24]
mov ecx, eax
shr ecx, 4
mov ecx, dword [edi + ecx*4]
xor eax, 0x7f0
add ebx, 0x44
add ecx, edx
shr eax, 4
mov dword [ebx + esi*8], ecx
mov eax, dword [edi + eax*4]
add eax, edx
mov dword [ebx + esi*8 + 4], eax
test esi, esi
jne 0x40dc50
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebp, dword [ecx]
lea ebp, [ebp*4 - 0x40]
cmp eax, 1
jbe 0x40dce9
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
push ebp
push ebx
push esi
call fcn.004452f0
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x40dcd3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x41ad30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
push esi
sar eax, 4
push edi
mov dword [esp + 0x10], ebx
cmp ecx, 0x10
je 0x41ad63
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test eax, eax
jle 0x41aeda
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], edi
lea edx, [ecx + 8]
sub edi, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
jmp 0x41ad96
mov ebx, edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.0041a840
mov edx, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
add edi, eax
push edi
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
mov dword [esp + 0x4c], edx
call fcn.0041a840
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x19]
xor esi, edx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x1d]
xor dword [esp + 0x44], edx
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x11]
mov eax, dword [eax + 0x15]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x28]
sub edi, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
sub ecx, eax
mov dword [esp + 0x1c], 0x10
jmp 0x41ae07
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
push ecx
push edi
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.0041a7e0
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add esi, 8
push edx
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebx
call fcn.0041a540
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add esi, 8
push edx
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.0041a7e0
add ebx, dword [esp + 0x34]
xor edi, dword [esp + 0x30]
sub ebx, dword [esp + 0x3c]
xor edi, dword [esp + 0x38]
xor ebx, dword [esp + 0x44]
mov edx, dword [eax]
xor edi, dword [esp + 0x40]
mov eax, dword [eax + 4]
add esi, 8
sub dword [esp + 0x1c], 1
mov ecx, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jne 0x41ae03
mov esi, dword [esp + 0x18]
push ecx
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esi - 8]
push ecx
mov ecx, edi
call fcn.0041a890
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
push esi
mov ecx, edi
call fcn.0041a890
add dword [esp + 0x14], 0x10
add esi, 0x10
sub dword [esp + 0x20], 1
mov dword [esp + 0x18], esi
jne 0x41ad90
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41aef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
push esi
sar eax, 4
push edi
mov dword [esp + 0x10], ebx
cmp ecx, 0x10
je 0x41af23
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test eax, eax
jle 0x41b0ab
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], edi
lea edx, [ecx + 8]
sub edi, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
jmp 0x41af56
mov ebx, edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.0041a840
mov edx, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
add edi, eax
push edi
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
mov dword [esp + 0x4c], edx
call fcn.0041a840
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x11]
xor esi, edx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x15]
xor dword [esp + 0x44], edx
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x19]
mov eax, dword [eax + 0x1d]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x28]
xor edi, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
xor ecx, eax
mov dword [esp + 0x1c], 0x10
jmp 0x41afc7
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
push ecx
push edi
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.0041a7e0
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add esi, 8
push edx
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebx
call fcn.0041a540
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add esi, 8
push edx
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.0041a7e0
add ebx, dword [esp + 0x34]
xor edi, dword [esp + 0x30]
sub ebx, dword [esp + 0x3c]
xor edi, dword [esp + 0x38]
xor ebx, dword [esp + 0x44]
mov edx, dword [eax]
xor edi, dword [esp + 0x40]
mov eax, dword [eax + 4]
add esi, 8
sub dword [esp + 0x1c], 1
mov ecx, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jne 0x41afc3
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x18]
mov ebx, edx
mov edx, dword [esp + 0x44]
push ecx
mov dword [eax + 0x11], edi
mov dword [eax + 0x15], ecx
push edi
mov edi, dword [esp + 0x18]
mov dword [eax + 0x19], ebx
mov dword [eax + 0x1d], edx
lea eax, [esi - 8]
push eax
mov ecx, edi
call fcn.0041a890
mov ecx, dword [esp + 0x44]
push ecx
push ebx
push esi
mov ecx, edi
call fcn.0041a890
add dword [esp + 0x14], 0x10
add esi, 0x10
sub dword [esp + 0x20], 1
mov dword [esp + 0x18], esi
jne 0x41af50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41b2a0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
push esi
sar eax, 4
push edi
cmp ecx, 0x10
je 0x41b2cf
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test eax, eax
jle 0x41b44e
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
add ecx, 0x179
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], esi
lea edx, [ecx + 8]
sub esi, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
jmp 0x41b305
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.0041a840
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
add esi, ecx
mov dword [esp + 0x38], edx
push esi
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
mov dword [esp + 0x44], eax
call fcn.0041a840
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x19]
mov dword [esp + 0x1c], esi
mov esi, dword [eax + 0x1d]
mov dword [esp + 0x20], esi
mov esi, dword [eax + 0x11]
mov eax, dword [eax + 0x15]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0x10
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
push edx
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.0041a810
mov edx, dword [esi - 4]
mov edi, eax
mov eax, dword [esi - 8]
mov ecx, dword [edi + 4]
sub esi, 8
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
call fcn.0041a540
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi - 4]
sub esi, 8
push eax
mov eax, dword [edi]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi]
push ecx
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 4]
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.0041a810
mov ecx, dword [esp + 0x40]
xor ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x20]
xor ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
sub edx, dword [esp + 0x28]
xor ecx, edi
mov edi, dword [esp + 0x3c]
xor edx, edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub esi, 8
sub dword [esp + 0x18], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
jne 0x41b366
xor ecx, dword [esp + 0x1c]
xor edx, dword [esp + 0x20]
mov esi, edi
add esi, dword [esp + 0x24]
push edx
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff8
mov edi, eax
add edi, dword [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.0041a890
push edi
push esi
mov esi, dword [esp + 0x18]
push esi
mov ecx, ebx
call fcn.0041a890
add dword [esp + 0x14], 0x10
add esi, 0x10
sub dword [esp + 0x2c], 1
mov dword [esp + 0x10], esi
jne 0x41b301
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x422140
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x48de64], 0
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
jne 0x42216a
call edi
push eax
push 0
push 0x421810
push 0xffffffffffffffff
call esi
mov dword [0x48de64], eax
cmp dword [0x48de68], 0
jne 0x422186
call edi
push eax
push 0
push 0x421ed0
push 3
call esi
mov dword [0x48de68], eax
mov eax, dword [0x48de6c]
test eax, eax
jne 0x4221a2
call edi
push eax
push 0
push 0x421fd0
push 4
call esi
mov dword [0x48de6c], eax
cmp dword [0x48de64], 0
pop edi
pop esi
je 0x4221c0
cmp dword [0x48de68], 0
je 0x4221c0
test eax, eax
je 0x4221c0
mov eax, 1
ret
xor eax, eax
ret

Function at 0x425c42
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x425c66
cmp dword [edi + 0x54], 0
jne 0x425c66
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042e3f1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00425c03
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42b348
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42b38f
call fcn.0042e3f1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42b38f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42b3ab
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042aec2
mov esi, eax
test edi, edi
je 0x42b3a9
test ebx, ebx
je 0x42b3a9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42c277
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45b033
call fcn.004466e9
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42c29c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42c2e2
lea ecx, [ebp - 0x10]
call fcn.00401410
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ba8e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401150
mov eax, esi
call fcn.004467c1
ret 8