joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fe60
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x6d7054]
sub esp, 0xb0
test eax, eax
je 0x43fea8
mov eax, dword [0x6d6ffc]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [0x6d6ffc]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [0x6d6ffc]
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
add esp, 0xb0
ret
mov eax, dword [0x6d6ffc]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push edi
push 0xfffffffffffffff0
push eax
call esi
mov edi, eax
mov eax, dword [0x5f57b0]
and edi, 0xfff7ffff
test eax, eax
mov dword [esp + 8], edi
je 0x44003a
mov ecx, dword [0x6d6ffc]
push ebx
push ebp
push 0xfffffffffffffffa
push ecx
call esi
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ebp, dword [sym.imp.msvcrt.dll_sprintf]
mov ebx, eax
mov eax, dword [0x5f57a4]
test eax, eax
je 0x43ff87
push 0x680a1c
push 0x680294
lea edx, [esp + 0x48]
push 0x5f784c
push edx
call ebp
lea eax, [esp + 0x50]
push 0x536da0
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x43ff87
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x5f7844
push 0x5f783c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edx, edx
mov dx, word [0x5383be]
cmp eax, edx
je 0x43ff74
push 0x10
push 0x5f7828
push 0x5f77d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x5f57a4], 0
jmp 0x43ff87
push esi
push 0
push ebx
call fcn.00440070
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x10
mov eax, dword [0x680b84]
test eax, eax
jne 0x43ffa3
push 0x400
push 6
push ebx
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x440023
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2c
push eax
push 1
push 6
push ebx
mov dword [esp + 0x28], 4
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [0x5f57a4]
mov edi, dword [esp + 0x28]
test eax, eax
je 0x44001f
push 0x5f77c4
push 0x680294
lea ecx, [esp + 0x48]
push 0x5f784c
push ecx
call ebp
lea edx, [esp + 0x50]
push 0x536da0
push edx
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x44001f
push esi
push 0
push edi
call fcn.00440070
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x10
mov edi, dword [esp + 0x10]
mov eax, dword [0x6d6ffc]
push ebx
push eax
or edi, 0x80000
call dword [sym.imp.USER32.dll_SetMenu]
pop ebp
pop ebx
jmp 0x440049
mov ecx, dword [0x6d6ffc]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
mov edx, dword [0x6d6ffc]
push edi
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop edi
pop esi
add esp, 0xb0
ret
Function at 0x45bc80
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
push edi
push 0x2000
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov eax, dword [0x68c568]
add esp, 4
mov eax, dword [eax + 0x1c]
dec eax
je 0x45bd69
dec eax
jne 0x45be18
mov esi, dword [esp + 0x10]
mov ecx, dword [0x71b8e8]
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 0x10000
push ecx
call edi
mov edx, dword [0x71b8d4]
push esi
push 1
push 0x200
push edx
call edi
push esi
push 1
push 0x2000
push ebp
call edi
mov eax, dword [0x71b8d8]
push esi
push 1
push 0x30000
push eax
call edi
mov ecx, dword [0x71b8f0]
add esp, 0x40
push esi
push 1
push 0x10000
push ecx
call edi
mov edx, dword [0x71b900]
push esi
push 1
push 0x10
push edx
call edi
push esi
call fcn.0043df60
push esi
call fcn.004094f0
mov eax, dword [0x71b904]
push esi
push 1
push 0x10000
push eax
call edi
push esi
call fcn.0043ed40
push esi
call fcn.0041de70
add esp, 0x40
xor eax, eax
mov ecx, ebp
mov esi, dword [0x71b904]
mov dl, byte [ecx]
add ecx, 2
mov byte [esi + eax + 0xc000], dl
inc eax
cmp eax, 0x1000
jl 0x45bd40
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
ret 4
mov esi, dword [esp + 0x10]
mov eax, dword [0x71b8e8]
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 0x10000
push eax
call edi
mov ecx, dword [0x71b8d4]
push esi
push 1
push 0x200
push ecx
call edi
push esi
push 1
push 0x2000
push ebp
call edi
mov edx, dword [0x71b8d8]
push esi
push 1
push 0x30000
push edx
call edi
add esp, 0x40
push esi
call fcn.0043df60
mov eax, dword [0x71b904]
push esi
push 1
push 0x10000
push eax
call edi
push esi
call fcn.0043ed40
push esi
call fcn.0041de70
mov ecx, dword [0x68c568]
add esp, 0x1c
cmp dword [ecx + 0x20], 2
jne 0x45bdef
push esi
call fcn.004094f0
add esp, 4
jmp 0x45bdfa
push 0
push esi
call fcn.0043f3a0
add esp, 8
xor eax, eax
mov ecx, ebp
mov esi, dword [0x71b904]
mov dl, byte [ecx]
add ecx, 2
mov byte [esi + eax + 0xc000], dl
inc eax
cmp eax, 0x1000
jl 0x45bdfe
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
ret 4
Function at 0x4634d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebp, ecx
cmp esi, 9
mov dword [esp + 0xc], ebp
jne 0x4634f2
mov dword [ebp + 8], 1
mov esi, dword [0x71b9dc]
jmp 0x4634ff
mov dword [ebp + 8], 0
mov dword [0x71b9dc], esi
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ecx
mov ecx, ebp
call fcn.00463b10
test eax, eax
jne 0x463520
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x71b950]
push edi
cmp esi, 8
lea edi, [ecx + edx]
ja case.default.0x463537
jmp dword [esi*4 + 0x463680]
mov ecx, ebx
mov esi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp case.default.0x463537
xor esi, esi
test ebx, ebx
jle case.default.0x463537
mov ecx, esi
xor ecx, 1
inc esi
cmp esi, ebx
mov dl, byte [ecx + eax]
mov byte [esi + edi - 1], dl
jl 0x46355f
jmp case.default.0x463537
xor esi, esi
test ebx, ebx
jle case.default.0x463537
mov ecx, esi
xor ecx, 4
inc esi
cmp esi, ebx
mov dl, byte [ecx + eax]
mov byte [esi + edi - 1], dl
jl 0x46357f
jmp case.default.0x463537
xor esi, esi
test ebx, ebx
jle case.default.0x463537
mov ecx, esi
xor ecx, 8
inc esi
cmp esi, ebx
mov dl, byte [ecx + eax]
mov byte [esi + edi - 1], dl
jl 0x46359f
jmp case.default.0x463537
xor esi, esi
test ebx, ebx
jle case.default.0x463537
mov ecx, esi
xor ecx, 1
mov dl, byte [ecx + eax]
mov cl, byte [esi + edi]
xor cl, dl
mov byte [esi + edi], cl
inc esi
cmp esi, ebx
jl 0x4635bf
jmp case.default.0x463537
xor esi, esi
test ebx, ebx
jle case.default.0x463537
mov cl, byte [esi + eax]
inc esi
mov byte [edi], cl
add edi, 2
cmp esi, ebx
jl 0x4635e3
jmp case.default.0x463537
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle case.default.0x463537
mov dx, word [ecx]
add ecx, 2
mov word [edi], dx
add edi, 8
dec eax
jne 0x4635ff
jmp case.default.0x463537
mov ecx, eax
mov eax, ebx
cdq
and edx, 3
mov esi, edi
add eax, edx
sar eax, 2
test eax, eax
jle 0x463638
mov edx, eax
mov bp, word [ecx]
add ecx, 2
mov word [esi], bp
add esi, 8
dec edx
jne 0x463625
mov ebp, dword [esp + 0x10]
test eax, eax
lea edx, [edi + 4]
jle case.default.0x463537
mov si, word [ecx]
add ecx, 2
mov word [edx], si
add edx, 8
dec eax
jne 0x46363f
jmp case.default.0x463537
xor esi, esi
test ebx, ebx
jle case.default.0x463537
mov cl, byte [esi + eax]
mov byte [edi], cl
add edi, 8
inc esi
cmp esi, ebx
jl 0x463656
mov ecx, dword [ebp + 4]
push 0x20
add ecx, ebx
mov dword [ebp + 4], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x14
Function at 0x463a00
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push edi
push 0x536d9c
push 0x5fd830
call dword [sym.imp.msvcrt.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x463a92
mov ebx, dword [sym.imp.msvcrt.dll_fread]
push edi
push 1
lea eax, [esp + 0x12]
push 2
push eax
call ebx
mov cx, word [esp + 0x1a]
add esp, 0x10
cmp cx, word [0x5383bc]
je 0x463a57
push edi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 4
mov dword [0x680afc], 0
pop edi
pop ebx
pop ecx
ret
mov eax, dword [0x538b48]
test eax, eax
je 0x463a88
push esi
mov esi, 0x538b48
push edi
push 1
lea edx, [esi + 0xac]
push 1
push edx
call ebx
mov eax, dword [esi + 0xb0]
add esi, 0xb0
add esp, 0x10
test eax, eax
jne 0x463a66
pop esi
push edi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 4
pop edi
pop ebx
pop ecx
ret

Function at 0x463aa0
Capabilities:
Write file on windows

Disassembly:
push edi
push 0x5022bc
push 0x5fd830
call dword [sym.imp.msvcrt.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x463b0c
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_fwrite]
push edi
push 1
push 2
push 0x5383bc
call ebx
mov eax, dword [0x538b48]
add esp, 0x10
test eax, eax
je 0x463b01
push esi
mov esi, 0x538b48
push edi
push 1
lea eax, [esi + 0xac]
push 1
push eax
call ebx
mov eax, dword [esi + 0xb0]
add esi, 0xb0
add esp, 0x10
test eax, eax
jne 0x463adf
pop esi
push edi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 4
pop ebx
pop edi
ret
Function at 0x4eecc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4eeccf
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x648138]
test eax, eax
je 0x4eecdd
call fcn.004eec60
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x4eeddf
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x71d6f4]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x71d6f4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x71d6f4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x71d6f4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x71d6f4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x71d6f4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x71d6f4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x71d6f4]
xor eax, ecx
inc esi
dec edi
jne 0x4eecf7
pop edi
test edx, edx
je 0x4eee01
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x71d6f4]
xor eax, ecx
inc esi
dec edx
jne 0x4eede3
pop ebx
pop esi
not eax
ret 0xc

Function at 0x4ef0d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 1
lea eax, [esp + 0x10]
push 1
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x4ef100
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
and ecx, 0xff
xor eax, eax
mov dword [edx], ecx
pop esi
ret
mov eax, dword [esi + 0xc]
pop esi
and al, 0x20
neg al
sbb eax, eax
ret
Function at 0x4ef1a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 2
mov edi, 0xffff
push 0
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0
call sub.msvcrt.dll_fseek
add esp, 0xc
test eax, eax
je 0x4ef1d5
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
push esi
call sub.msvcrt.dll_ftell
mov ebp, eax
add esp, 4
cmp ebp, 0xffff
mov dword [esp + 0x14], ebp
jae 0x4ef1f2
mov dword [esp + 0xc], ebp
mov edi, eax
push 0x404
call sub.msvcrt.dll_malloc
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ef20c
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push ebx
mov ebx, 4
cmp edi, ebx
jbe 0x4ef2b4
jmp 0x4ef224
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
lea eax, [ebx + 0x400]
mov ebx, edi
cmp eax, edi
ja 0x4ef232
mov ebx, eax
mov edi, ebp
mov eax, ebp
sub edi, ebx
mov ebp, 0x404
sub eax, edi
cmp eax, 0x404
ja 0x4ef248
mov ebp, eax
mov eax, dword [esp + 0x20]
push 0
push edi
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
test eax, eax
jne 0x4ef2b4
mov ecx, dword [esp + 0x20]
push ecx
push 1
push ebp
push esi
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x4ef2b4
lea eax, [ebp - 3]
mov edx, eax
dec eax
test edx, edx
jle 0x4ef2aa
cmp byte [eax + esi], 0x50
jne 0x4ef297
cmp byte [eax + esi + 1], 0x4b
jne 0x4ef297
cmp byte [eax + esi + 2], 5
jne 0x4ef297
cmp byte [eax + esi + 3], 6
je 0x4ef2a0
mov ecx, eax
dec eax
test ecx, ecx
jg 0x4ef27c
jmp 0x4ef2aa
add eax, edi
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4ef2b4
cmp ebx, dword [esp + 0x10]
jb 0x4ef21c
push esi
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x407297
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7df95c], 0
jne 0x4072d5
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072ab
mov dword [ecx*4 + 0x7df958], eax
inc ecx
cmp ecx, 0x100
jl 0x4072a6
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407302
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7df958]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072e3
not eax
pop ebp
ret 0xc

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x4035d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.004037c3
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0040e318
xor ebx, ebx
cmp eax, ebx
jne 0x40377e
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.004037c3
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.0040aff7
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call fcn.0045c8ec
add esp, 0x10
test eax, eax
jne 0x403699
push esi
call 0x400c82
mov esi, eax
cmp esi, ebx
pop ecx
je 0x403699
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x403684
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x403699
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x403692
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.0040f82b
cmp byte [esp + 0x13], bl
je 0x4036c9
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.00403800
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x403739
push 0x14
call int.0045bb59
cmp eax, ebx
pop ecx
je 0x4036f3
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x4036f5
xor edi, edi
cmp edi, ebx
je 0x403739
push esi
push edi
call fcn.00402d26
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.00402dee
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.00402f17
add esp, 0x18
call fcn.004037c3
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.0040d9e5
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x403750
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x403762
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x4037a5
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x4037a5
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.00402dee
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.00402f17
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f82b
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x46
and bl, byte [eax - 0x526fb8e3]
mov ebp, 0x7db8559d
test eax, 0x48c7e299
cmpsd dword [esi], dword es:[edi]
invalid

Function at 0x417a10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417a36
mov eax, dword [0x4baaa0]
test eax, eax
je 0x417a2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
adc eax, sym.imp.KERNEL32.dll_FreeLibrary
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x4ba070
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x4baaa0], eax
test eax, eax
pop ebx
je 0x417ad1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ba05c
pop esp
mov al, byte [0xff50004b]
salc
Function at 0x424c52
Capabilities:
Encode data using xor

Disassembly:
fcmovu st(0), st(7)
xchg esp, eax
mov ecx, 0xa9f7d378
dec edi
xor edx, dword [edi - 0x7e]
or esi, esp
clc
push esp
pop esi
lea ebx, [edx - 0x63a2d27b]
pop es
sbb al, 0xaf
scasd eax, dword es:[edi]
sbb al, 0xed
xor eax, 0xc0e779c2
or eax, 0x55da8dd1
push ecx
js 0x424c6b
cmp al, 0x6b
insb byte es:[edi], dx
mov bl, 0xd8
out dx, al
neg byte [edx + 0x5b6f8e9d]
push ds
js 0x424ce9
inc esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or bh, al
cmp ebx, dword [esi + 0x1b]
lcall 0x3a6e, 0x44b66925
in al, dx
lodsd eax, dword [esi]
mov byte [ecx], dh
sbb eax, 0x56d48721
retf
out 0xe0, al
pop edx
dec ebx
jnp fcn.00424d19
dec ecx
dec edi
jmp 0x966b7f25

Function at 0x4268db
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0xa2
out 0xe3, al
aaa
adc al, byte [ecx + 0x35]
mov byte [esi], ch
jns 0x426910
push ss
jae 0x4268a8
scasb al, byte es:[edi]
jl 0x426926
cmp eax, 0x248953ce
and al, byte [esi + 0x336afa95]
in eax, dx
into
push ebx
mov dword [edx], esp
xchg byte [ebp - 0x12cc9506], dl
out 0xff, eax
and dword [edi - 0x7bca924a], esp
inc ebx
dec edi
bound ecx, qword [ebx + 0x6e]
jl 0x4268e8
invalid