joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b197
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
test si, si
jne 0x1000b24c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000b24c
mov edx, dword [esi + 0x3c]
test dl, 3
jne 0x1000b24c
cmp dword [edx + esi], 0x4550
jne 0x1000b24c
cmp dword [edx + esi + 0x74], 6
jb 0x1000b24c
push ebx
mov ebx, dword [edx + esi + 0x50]
push edi
mov edi, dword [edx + esi + 0xa8]
lea eax, [ebx - 1]
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x1000b24a
mov eax, dword [edx + esi + 0xac]
mov ecx, ebx
sub ecx, edi
cmp eax, ecx
ja 0x1000b24a
xor edx, edx
add edi, esi
push 0x1c
pop ecx
div ecx
mov edx, eax
test edx, edx
je 0x1000b24a
imul ecx, edx, 0x1c
add ecx, 0x14
add ecx, edi
lea ecx, [ecx - 0x1c]
dec edx
cmp dword [ecx - 8], 2
lea edi, [ecx - 0x14]
jne 0x1000b228
cmp dword [ecx], ebx
jae 0x1000b228
mov eax, ebx
sub eax, dword [ecx]
cmp dword [ecx - 4], eax
jbe 0x1000b22e
test edx, edx
jne 0x1000b20e
jmp 0x1000b24a
push 0x1c
push edi
call dword [sym.imp.kernel32.dll_VirtualLock]
test eax, eax
je 0x1000b24a
mov eax, dword [edi + 0x14]
push dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.kernel32.dll_VirtualLock]
pop edi
pop ebx
pop esi
ret

Function at 0x1000c446
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000c455
pop dword [ebp - 0x4c]
mov eax, 0xa5212409
add eax, 0x6adfa04c
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x38fb9
push 0
mov eax, 0xd782d78b
add eax, 0x387e68d9
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x4807
mov edi, eax
mov esi, 0x10018600
add esi, dword [ebp - 0x4c]
mov ebx, 0x82b0ef51
xor dword [ebp - 8], esi
mov edx, dword [esi]
add dword [ebp - 0x40], edi
xor edx, ebx
add dword [ebp - 0x30], edi
mov dword [edi], edx
mov dword [ebp - 0x3c], 0x54b87781
add edi, 0xa6ae8538
add edi, 0x59517acc
add esi, 0x2087807b
sub esi, 0x20878077
loop 0x1000c4a2
add eax, 0xbdcd57b4
sub eax, 0xbdcc44c5
mov ebx, eax
add eax, 0x92bdc57a
sub eax, 0x92bdc575
mov ecx, 0xc3008df7
sub ecx, 0xb3008df7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1000ec86
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, word [ecx]
mov edx, 0x1505
push esi
xor esi, esi
jmp 0x1000eca0
imul edx, edx, 0x21
movzx eax, ax
xor edx, eax
inc esi
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x1000ec93
imul eax, edx, 0x41c64e6d
imul ecx, edx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1000f8cb
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1000f8d7
or eax, 0xffffffff
pop esi
ret
movzx eax, word [esi]
push ebx
push edi
mov edi, 0x1505
xor ebx, ebx
jmp 0x1000f8ff
movzx ecx, ax
add eax, 0xffffffbf
cmp ax, 0x19
lea edx, [ecx + 0x20]
cmova edx, ecx
imul edi, edi, 0x21
xor edi, edx
inc ebx
movzx eax, word [esi + ebx*2]
test ax, ax
jne 0x1000f8e5
imul eax, edi, 0x41c64e6d
imul ecx, edi, 0x10dcd
pop edi
pop ebx
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1001119b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x100111aa
pop dword [ebp - 0x1c]
mov eax, 0xdd300a79
sub eax, 0xcd2ef8cf
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x1ecee269
add dword [ebp - 0x2c], 0x2f8362e2
mov dword [ebp - 0x28], 0xfa6b7398
add dword [ebp - 0x28], 0x37c7d8ad
mov dword [ebp - 0x24], 0x34f706cc
sub dword [ebp - 0x24], 0xe8aac29e
mov dword [ebp - 0x20], 0xb62dad0
add dword [ebp - 0x20], 0xf49d2530
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x798b27bc
add eax, 0x96774940
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x54a31134
add dword [ebp - 0x2c], 0x1fcf5822
mov dword [ebp - 0x28], 0xfba3e1e4
add dword [ebp - 0x28], 0x45c87f91
mov dword [ebp - 0x24], 0x143c01c0
sub dword [ebp - 0x24], 0xb0cc9554
mov dword [ebp - 0x20], 0xba52b85e
sub dword [ebp - 0x20], 0xba52b85e
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x7675c236
add eax, 0x998cadf2
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e553
push 0
call eax
mov ecx, 0x4c16
mov esi, eax
mov edx, 0x51c9c6eb
sub edx, 0x41c5aaeb
add edx, dword [ebp - 0x1c]
mov edi, 0x7737712b
add edi, 0xe365b10c
sub dword [ebp - 4], ecx
mov ebx, dword [edx]
xor dword [ebp - 0x10], edx
xor ebx, edi
sub dword [ebp - 8], ebx
mov dword [esi], ebx
sub dword [ebp - 8], 0xa13d13f8
add esi, 0xe01d9d8c
sub esi, 0xe01d9d88
add edx, 0x301fb2d3
add edx, 0xcfe04d31
loop 0x100112c6
add eax, 0xf3f05cd2
add eax, 0xc10c659
xor ebx, ebx
add ebx, eax
add eax, 0xffc93491
sub eax, 0xffc9348c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x341f54ed
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x190
mov eax, dword [0x342226fc]
xor eax, esp
mov dword [esp + 0x18c], eax
cmp dword [esp + 0x194], 0
mov ecx, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
lea esi, [ecx + 0x18]
mov ecx, 0x20
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
je 0x341f556a
push 0
push 0x6b39dac7
lea ecx, [esp + 0x98]
call fcn.341f52e4
push 0x80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x98]
call fcn.34315c41
fld qword [esp + 0x6a]
call fcn.341f5463
mov edx, 4
lea ecx, [esp + 0x3a]
mov edi, edi
xor dword [ecx], eax
add edx, 4
add ecx, 4
cmp edx, 0x28
jle 0x341f555d
mov ebx, dword [esp + 0x6a]
xor esi, esi
movzx ebp, byte [esp + esi*2 + 0x42]
lea edi, [esi + 3]
lea ecx, [edi + 1]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 4
lea edx, [edx + edx*2]
add edx, edx
add edx, edx
add edx, edx
mov ecx, esi
sub ecx, edx
add ecx, 4
shl ebp, cl
lea ecx, [edi - 2]
mov eax, 0xaaaaaaab
mul ecx
movzx eax, byte [esp + esi*2 + 0x3c]
shr edx, 4
lea edx, [edx + edx*2]
add edx, edx
add edx, edx
add edx, edx
mov ecx, esi
sub ecx, edx
add ecx, 1
shl eax, cl
lea ecx, [edi - 1]
xor ebp, eax
mov eax, 0xaaaaaaab
mul ecx
movzx eax, byte [esp + esi*2 + 0x3e]
shr edx, 4
lea edx, [edx + edx*2]
add edx, edx
add edx, edx
add edx, edx
mov ecx, esi
sub ecx, edx
add ecx, 2
shl eax, cl
xor ebp, eax
mov eax, 0xaaaaaaab
mul edi
movzx eax, byte [esp + esi*2 + 0x40]
shr edx, 4
lea ecx, [edx + edx*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, esi
sub ecx, edx
add ecx, 3
shl eax, cl
xor ebp, eax
mov eax, 0xaaaaaaab
mul esi
movzx eax, byte [esp + esi*2 + 0x3a]
shr edx, 4
lea ecx, [edx + edx*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, esi
sub ecx, edx
shl eax, cl
add esi, 5
xor ebp, eax
xor ebx, ebp
cmp esi, 0x28
jb 0x341f5570
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.341f1b18
add esp, 0x190
ret 4
Function at 0x342ec836
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x220
mov eax, dword [0x342226fc]
xor eax, esp
mov dword [esp + 0x21c], eax
cmp dword [esp + 0x228], 0x28
push ebp
mov eax, ecx
mov ecx, dword [esp + 0x230]
mov ebp, dword [eax + 4]
push edi
mov edi, dword [esp + 0x22c]
jae 0x342ec87a
push 1
push 0xfffffbe9
call fcn.341f7675
jmp 0x342ec917
push ebx
push esi
push 0
push 0x6b39dac7
lea ecx, [esp + 0x1c]
call fcn.341f52e4
push 0
push 0x6b39dac7
lea ecx, [esp + 0x128]
call fcn.341f52e4
lea eax, [ebp + 0x18]
push 0x80
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.34315c41
fld qword [ebp + 0x72]
lea ebx, [ebp + 0x42]
call fcn.341f5463
mov edx, 4
mov ecx, ebx
sub edx, ebx
xor dword [ecx], eax
add ecx, 4
lea esi, [edx + ecx]
cmp esi, 0x28
jle 0x342ec8c9
mov ecx, 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
fld qword [ebp + 0x72]
call fcn.341f5463
mov edx, 4
mov ecx, ebx
sub edx, ebx
lea ebx, [ebx]
xor dword [ecx], eax
add ecx, 4
lea esi, [edx + ecx]
cmp esi, 0x28
jle 0x342ec8f2
mov eax, dword [esp + 0x10]
push 0x80
push eax
lea ecx, [esp + 0x128]
call fcn.34315c41
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
pop edi
pop ebp
xor ecx, esp
call fcn.341f1b18
add esp, 0x220
ret 0xc
Function at 0x342f231b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
or eax, 0xffffffff
xor ebp, ebp
push esi
mov esi, ecx
mov ecx, 1
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
mov ecx, 5
lea eax, [esi + 0x3c]
push edi
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x64], 2
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x74], ebp
mov dword [esi + 0x78], 3
mov dword [esi + 0x7c], 4
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], 5
mov dword [esi + 0x94], 6
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa8], 7
mov dword [esi + 0xac], 8
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], ebp
mov dword [esi + 0xc0], 9
mov dword [esi + 0xc4], 0xa
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], ebp
mov dword [esp + 0x14], ecx
mov ebx, 0xc
mov dword [esp + 0x10], eax
lea edi, [esi + 0xd4]
lea eax, [ecx - 1]
cdq
sub eax, edx
sar eax, 1
mov dword [edi], eax
mov eax, dword [esp + 0x10]
lea edx, [ebx - 1]
mov dword [edi - 4], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
mov eax, dword [eax]
mov dword [edi + 0xc], eax
cmp dword [eax + 0x8c], ebp
jne 0x342f243a
mov ecx, eax
call fcn.342f2b16
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x10], eax
jmp 0x342f243d
mov dword [edi + 0x10], ebp
add dword [esp + 0x10], 4
add ecx, 1
add ebx, 2
add edi, 0x18
cmp ebx, 0x16
mov dword [esp + 0x14], ecx
jle 0x342f2403
cmp dword [esi + 0x68], ebp
jne 0x342f2488
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x60]
push edi
push ecx
mov ecx, esi
call fcn.342f22ca
test byte [edi], 8
jne 0x342f2488
mov edx, dword [esi + 0x64]
push edi
push edx
mov ecx, esi
call fcn.342f22ca
test byte [edi], 8
jne 0x342f2488
push edi
push ebp
mov ecx, esi
call fcn.342f200d
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x34315c41
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x34315c50
pop dword [ebp - 0x4c]
mov eax, 0x34315c50
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4f44c
push 0
mov eax, 0xcb7e0fc3
sub eax, 0x975efcf3
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xa3960bd1
sub ecx, 0xa395c157
xor esi, esi
add esi, eax
mov edx, 0xe7ca03dc
sub edx, 0xb39053dc
add edx, dword [ebp - 0x4c]
mov edi, 0xef43215d
sub edi, 0xa126cc57
xor dword [ebp - 0x1c], esi
mov ebx, dword [edx]
sub dword [ebp - 0x30], eax
xor ebx, edi
sub dword [ebp - 0x18], ecx
mov dword [esi], ebx
mov dword [ebp - 0x20], 0x62024dbf
add esi, 4
add edx, 4
loop 0x34315cac
add eax, 0xe24ba463
sub eax, 0xe24a87a8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb32a38cc
sub ecx, 0x7f0b38cc
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x34344967
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x3437c180], 0
mov dword [esp], 0
je 0x3434497c
xor eax, eax
pop ecx
ret
push 0x34344a70
call fcn.3426aafc
test eax, eax
mov dword [0x3438ed40], eax
je 0x34344a48
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x34344a60
push eax
call esi
mov dword [0x3438ed24], eax
mov eax, dword [0x3438ed40]
push 0x34344a50
push eax
call esi
mov esi, dword [sym.imp.kernel32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [0x3438ed28], eax
mov dword [0x3438ebd8], 0x3e8
call esi
push 0
push 0
push 0
push 0
mov dword [0x3438ed2c], eax
call esi
push 0x3438ecd0
mov dword [0x3438ed30], eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
cmp dword [0x3438ed2c], 0
pop esi
je 0x34344a48
cmp dword [0x3438ed30], 0
je 0x34344a48
lea ecx, [esp]
push ecx
push 0
push 0
push 0x3434477b
push 0
push 0
call dword [sym.imp.msvcr80.dll__beginthreadex]
mov edx, dword [0x3438ed2c]
add esp, 0x18
push 0xffffffffffffffff
push edx
mov dword [0x3438ed34], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [0x3438ed34]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop ecx
ret
mov eax, 0x80004005
pop ecx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4a91d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x69000]
push edi
or ebp, 0xffffffff
jmp 0x4a91f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a91f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a91e8
mov eax, 1
add ebx, ebx
jne 0x4a920b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a921c
jne 0x4a923b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a923b
dec eax
add ebx, ebx
jne 0x4a9228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a9200
add ebx, ebx
jne 0x4a9237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a928d
xor ecx, ecx
sub eax, 3
jb 0x4a9253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a92c2
sar eax, 1
mov ebp, eax
jmp 0x4a925e
add ebx, ebx
jne 0x4a925e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a922c
inc ecx
add ebx, ebx
jne 0x4a926c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a922c
add ebx, ebx
jne 0x4a9279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a926e
jne 0x4a928a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a926e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a92ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a929e
jmp 0x4a91ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a92ac
add edi, ecx
jmp 0x4a91ee
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a92ca
cmp byte [edi], 0x4c
jne 0x4a92ca
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 al, bl
loop 0x4a92cf
lea edi, [esi + 0xa5000]
mov eax, dword [edi]
or eax, eax
je 0x4a9347
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xaa5f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xaa744]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a92fc
mov ecx, edi
jns 0x4a932b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xaa748]
or eax, eax
je 0x4a9341
mov dword [ebx], eax
add ebx, 4
jmp 0x4a9319
call dword [esi + 0xaa758]
mov ebp, dword [esi + 0xaa74c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a937b
sub esp, 0xffffff80
jmp 0x417770
Function at 0x402c10
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, 0x1028
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
call fcn.00401068
sub esp, eax
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
cmp eax, 2
je 0x402c60
cmp eax, 0xfe
je 0x402ce0
cmp eax, 1
je 0x402c80
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 4], 2
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x402c47
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xc9
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 8], 0x104
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
sub esp, 0xc
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x402c47
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x40c080]
lea edi, [ebp - 0x818]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], edi
lea esi, [ebp - 0x1018]
mov dword [ebp - 0x101c], edx
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call edx
mov eax, dword [0x40c080]
mov edx, dword [ebp - 0x101c]
sub esp, 0x10
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b7
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x402c47
Function at 0x404f90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x2c
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x404fbd
xor ebx, ebx
lea esi, [esi]
nop
mov eax, dword [eax]
mov esi, ebx
inc ebx
test eax, eax
jne 0x404fb0
test ebx, ebx
jne 0x404fc8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebx*4]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [edi + 4]
sub esp, 0xc
mov edx, ecx
test eax, eax
je 0x40500b
nop
mov dword [edx], eax
mov eax, dword [eax]
add edx, 4
test eax, eax
jne 0x405000
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov eax, dword [eax*4 + 0x415d00]
mov dword [ebp - 0x1c], ecx
mov dword [esp + 8], 4
mov dword [esp + 0xc], eax
call dword [sym.imp.ucrtbase.dll_qsort]
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov ebx, dword [ecx]
mov eax, ecx
mov dword [edi + 4], ebx
test esi, esi
jne 0x40504a
jmp 0x405058
mov ebx, dword [eax]
mov edi, dword [eax + 4]
add eax, 4
mov dword [ebx], edi
dec edx
jne 0x405048
mov ebx, dword [ecx + esi*4]
mov dword [ebx], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov dword [ebp - 0x1c], edx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18f
mov eax, dword [eax]
mov dword [esp], eax
call edi
mov esi, eax
mov eax, dword [ebx]
sub esp, 0x10
mov dword [esp + 4], 0
inc esi
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_ShowWindow]
mov dword [ebp - 0x20], eax
call eax
sub esp, 8
jmp 0x405ba1
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
cmp dword [eax + 0x14], ecx
jle 0x405bc7
mov eax, dword [ebx]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x182
mov dword [esp], eax
call edi
sub esp, 0x10
mov eax, dword [ebx]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x199
mov dword [esp], eax
call edi
lea edx, [eax + 1]
sub esp, 0x10
cmp edx, 1
ja 0x405b78
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xc], 0
mov eax, dword [ebx]
mov dword [esp + 4], 5
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406110
Capabilities:
Set application hook

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
add eax, 0x164
sub esp, 0x4c
mov dword [ebp - 0x38], eax
mov eax, dword [0x40c080]
mov ecx, dword [ebx + 0x14c]
mov edx, dword [ebx + 0x150]
mov dword [ebp - 0x3c], str.WFS_Tree
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x154]
mov dword [ebp - 0x30], ecx
sub eax, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x158]
mov dword [ebp - 0x20], 0
sub eax, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], sym._CBTProc_12
mov dword [esp + 0xc], eax
mov dword [esp], 5
call dword [sym.imp.user32.dll_SetWindowsHookExW]
mov dword [0x40cc8c], ebx
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [0x40cc80], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [0x40c0a4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x220
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [ebx], eax
test eax, eax
mov eax, dword [0x40cc80]
mov dword [esp], eax
je 0x4062a0
call dword [sym.imp.user32.dll_UnhookWindowsHookEx]
mov edi, 0x10
sub esp, 4
mov eax, edi
cmp dword [0x40c0c0], 0x10
cmovge eax, dword [0x40c0c0]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0x1a0
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x98]
sub esp, 0x10
cmp dword [0x40c0c0], 0x10
cmovge edi, dword [0x40c0c0]
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0x1a0
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x94]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18f
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x186
mov dword [esp], eax
call esi
mov eax, dword [ebx]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.user32.dll_UnhookWindowsHookEx]
xor eax, eax
sub esp, 4
jmp 0x40628f