joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446436
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49e234]
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.00435f93
and dword [ebp - 0x14], 0
cmp dword [0x4a762c], 0
mov dword [ebp - 0x18], eax
jne 0x4464e9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x446591
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4844f8
push ebx
call edi
test eax, eax
je 0x446591
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4844e8
push ebx
mov dword [0x4a762c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a7630], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a7634], eax
call edi
push eax
call esi
mov dword [0x4a763c], eax
test eax, eax
je 0x4464e9
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a7638], eax
mov eax, dword [0x4a7638]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x446542
cmp dword [0x4a763c], ecx
je 0x446542
push eax
call esi
push dword [0x4a763c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x446542
test ebx, ebx
je 0x446542
call edi
test eax, eax
je 0x446539
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x446539
test byte [ebp - 8], 1
jne 0x446542
or dword [ebp + 0x10], 0x200000
jmp 0x446575
mov eax, dword [0x4a7630]
cmp eax, dword [ebp - 0x18]
je 0x446575
push eax
call esi
test eax, eax
je 0x446575
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x446575
mov eax, dword [0x4a7634]
cmp eax, dword [ebp - 0x18]
je 0x446575
push eax
call esi
test eax, eax
je 0x446575
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a762c]
call esi
test eax, eax
je 0x446591
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x446593
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b7cb
leave
ret
Function at 0x44bf30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4785d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49e234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
call edx
mov edi, eax
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push ecx
push edx
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
mov ecx, esi
call edx
mov bl, al
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call edx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x464e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x49e234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.004645a0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
mov ecx, edi
call fcn.004649b0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
push ecx
mov ecx, esi
call eax
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00462d50
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
push esi
cmp eax, 0x10
jb 0x464f2f
call fcn.00468ca0
jmp 0x464f34
call fcn.00468cb0
mov edi, dword [ebp - 0x20]
add esp, 4
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x464f6d
mov ebx, dword [ebp - 0x1c]
mov esi, edi
cmp edi, ebx
je 0x464f64
lea ebx, [ebx]
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.00463060
add esi, 0x28
add esp, 8
cmp esi, ebx
jne 0x464f50
push edi
call fcn.0042b7c0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x49e234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x34]
sub ecx, dword [ebx + 0x30]
mov eax, 0x66666667
imul ecx
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.004645a0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
mov ecx, edi
call fcn.004649b0
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
mov ecx, ebx
call fcn.004649b0
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
push ebx
push edx
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00462d50
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
push esi
cmp eax, 0x10
jb 0x46508b
call fcn.00468ca0
jmp 0x465090
call fcn.00468cb0
mov edi, dword [ebp - 0x20]
add esp, 4
mov byte [ebp - 4], 0
test edi, edi
je 0x4650c1
mov esi, edi
cmp edi, ebx
je 0x4650b8
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.00463060
add esi, 0x28
add esp, 8
cmp esi, ebx
jne 0x4650a4
push edi
call fcn.0042b7c0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x467be0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x468d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x468db4
mov eax, edx
sub esi, edx
mov dword [ebp - 4], ecx
push ebx
mov ebx, dword [esi + eax]
xor dword [eax], ebx
add eax, 4
dec ecx
jne 0x468da2
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
pop ebx
add eax, eax
add eax, eax
sub edi, eax
je 0x468dd9
add edx, eax
add esi, eax
test edi, edi
je 0x468dd9
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
lea esp, [esp]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x468dd0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x468de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
shr eax, 2
xor ecx, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x468e1c
mov esi, ebx
mov edx, edi
sub esi, edi
mov dword [ebp - 4], eax
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x468e06
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
sub esi, eax
jne 0x468e35
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or dl, al
or dl, cl
test esi, esi
je 0x468e63
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov bl, byte [eax + ecx]
xor bl, byte [eax]
inc eax
or dl, bl
dec esi
jne 0x468e58
pop edi
xor eax, eax
test dl, dl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474629
Capabilities:
Get common file path

Disassembly:
push 0xc44
mov eax, 0x47c3b5
call fcn.00431e45
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc4c], eax
cmp esi, edi
je 0x47468b
cmp word [esi], di
je 0x47468b
push edi
push esi
call fcn.0042d2b5
pop ecx
pop ecx
test eax, eax
jne 0x47468b
mov dword [ebp - 0xc50], edi
push esi
call fcn.0042d7f7
pop ecx
test eax, eax
je 0x47468b
push 0xc8
call ebx
inc dword [ebp - 0xc50]
cmp dword [ebp - 0xc50], 0x3e8
jl 0x474667
mov eax, dword [ebp - 0xc4c]
cmp eax, edi
je 0x4746c9
cmp word [eax], di
je 0x4746c9
push edi
push eax
call fcn.0042d2b5
pop ecx
pop ecx
test eax, eax
jne 0x4746c9
xor esi, esi
push dword [ebp - 0xc4c]
call fcn.0042d7f7
pop ecx
test eax, eax
je 0x4746c9
push 0xc8
call ebx
inc esi
cmp esi, 0x3e8
jl 0x4746a9
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], edi
mov word [ebp - 0xc2c], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc34], eax
xor eax, eax
mov dword [ebp - 0xc38], edi
mov word [ebp - 0xc48], ax
lea eax, [ebp - 0xc48]
push eax
push dword [ebp - 0xc4c]
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 1
call fcn.0040c337
xor eax, eax
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.0042dac0
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x7fe
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push edi
push eax
call fcn.0042dac0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc1c], edi
je 0x4747ea
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x474799
lea eax, [ebp - 0xc2c]
lea ecx, [ebp - 0xc10]
push ecx
push eax
call fcn.0042cb98
pop ecx
pop ecx
test eax, eax
je 0x4747ea
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x4747c1
lea eax, [ebp - 0xc2c]
push edi
push eax
call fcn.0042d2b5
pop ecx
pop ecx
test eax, eax
jne 0x4747ea
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x4747e3
lea eax, [ebp - 0xc2c]
push eax
call fcn.0042d642
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0xc48]
call fcn.00402095
push 1
lea esi, [ebp - 0xc2c]
call fcn.00402095
call fcn.00431ec8
ret 4
Function at 0x47480e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x49e234]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x4a9f58
cmp dword [0x4a9f68], edi
jne 0x47493d
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x474851
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00402141
cmp dword [0x4a9f6c], 8
mov eax, dword [0x4a9f58]
jae 0x47487b
mov eax, esi
push edi
push eax
call fcn.0042d2b5
pop ecx
pop ecx
test eax, eax
je 0x47489b
xor eax, eax
mov ecx, 0x48ab84
call fcn.00402141
mov ecx, esi
call fcn.0041005b
cmp dword [0x4a9f68], edi
je 0x4748c0
cmp dword [0x4a9f6c], 8
mov eax, dword [0x4a9f58]
jae 0x4748b3
mov eax, esi
push edi
push eax
call fcn.0042d2b5
pop ecx
pop ecx
test eax, eax
je 0x4748d2
push str.TEMP
call fcn.0042d5c8
pop ecx
push eax
push esi
call fcn.004021bc
cmp dword [0x4a9f68], edi
je 0x4748f7
cmp dword [0x4a9f6c], 8
mov eax, dword [0x4a9f58]
jae 0x4748ea
mov eax, esi
push edi
push eax
call fcn.0042d2b5
pop ecx
pop ecx
test eax, eax
je 0x474909
push 0x48f1e8
call fcn.0042d5c8
pop ecx
push eax
push esi
call fcn.004021bc
cmp dword [0x4a9f68], edi
je 0x47492e
cmp dword [0x4a9f6c], 8
mov eax, dword [0x4a9f58]
jae 0x474921
mov eax, esi
push edi
push eax
call fcn.0042d2b5
pop ecx
pop ecx
test eax, eax
je 0x47493d
push 0xffffffffffffffff
push edi
mov eax, 0x4a9f20
mov ecx, esi
call fcn.00401e84
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042b7cb
leave
ret
Function at 0x474a69
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47c421
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x49e234]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x49e234]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 3
push 0x79e
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.0042a080
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
call fcn.0040a766
mov dword [esp + 0x460], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x474aeb
mov eax, dword [eax]
jmp 0x474aed
xor eax, eax
push eax
lea esi, [esp + 0x34]
call fcn.004021e5
lea edi, [esp + 0x2c]
call fcn.00404fe3
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x460], 3
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0040fce7
pop ecx
cmp eax, 1
jle 0x474bc1
xor eax, eax
push 0x3fe
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebx
push eax
call fcn.0042dac0
mov esi, dword [esp + 0x24]
add esp, 0xc
jmp 0x474bb5
push 0x200
lea eax, [esp + 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x30]
jae 0x474b7f
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x474ba9
cmp dx, bx
je 0x474ba5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x474ba9
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x474b83
xor eax, eax
jmp 0x474bae
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x474bbd
add esi, 4
cmp esi, dword [esp + 0x1c]
jne 0x474b5e
jmp 0x474bd8
mov eax, dword [esi]
jmp 0x474bd4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x474bd8
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x474be8
push dword [esp + 0x18]
call fcn.0042b7c0
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00402095
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0042b7cb
mov esp, ebp
pop ebp
ret

Function at 0x4754ae
Capabilities:
Create thread

Disassembly:
push esi
call fcn.0042c647
mov esi, eax
xor eax, eax
cmp dword [0x4aa174], eax
jne 0x4754f8
cmp word [0x4aa21a], 3
jne 0x4754db
test byte [0x4aa228], 1
je 0x4754db
cmp byte [0x4aa031], al
je 0x4754f8
push 0x4aa17c
push eax
push 0x4aa210
push 0x4077a8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4aa180], eax
mov eax, esi
pop esi
ret
Function at 0x4754fc
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x47c5ca
call fcn.00431e45
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
push 0x401
push 0x4a9f20
mov dword [ebp - 4], ebx
call fcn.00474ccb
call fcn.00474cf0
mov esi, eax
cmp esi, ebx
je 0x475562
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x475544
lea eax, [ebp - 0x2c]
push esi
push 1
push dword [ebp - 0x1c]
push eax
call fcn.0042d0db
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.0042d1c2
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.0040740d
mov al, bl
call fcn.00431ec8
ret

Function at 0x475576
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x47c5f7
call fcn.00431e45
and dword [ebp - 0x1c], 0
mov bl, 1
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x3fc
push 0x4a9f20
call fcn.00474ccb
call fcn.00474d7c
mov esi, eax
test esi, esi
je 0x4755ff
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4755c1
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [0x48e36b]
jne 0x4755f6
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4755d7
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push 1
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
call fcn.0042d0db
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.0042d1c2
pop ecx
jmp 0x475601
xor bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.0040740d
mov al, bl
call fcn.00431ec8
ret
Function at 0x475ecf
Capabilities:
Create thread

Disassembly:
push 0x64
mov eax, 0x47c924
call fcn.00431e7b
xor ebx, ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x4a9f20
push 0x4029b1
push ebx
push ebx
mov dword [0x4aa178], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00412020
or dword [ebp - 4], 0xffffffff
mov dword [0x4aa178], eax
jmp 0x475f1c
cmp dword [ebp - 0x50], ebx
je 0x475f39
push ebx
push ebx
push 0x502
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4aa178], ebx
jne 0x475ff7
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 2
cmp byte [0x4aa033], bl
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
lea ebx, [ebp - 0x4c]
je 0x475f9a
mov ecx, str.FY_izZbA2i5Uge3Hw_PzSVtCqR01pMBk_FJsF6ZxyR3ZTkoZSgTNqAREIIqufCgs8Wbr468wrhj3h5LHfzZoEvizA5WBjWXvxrmfNQiwlmgQMTkwuhOLsRtGday_pkqXYHuV3
call fcn.0040e62e
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004019c5
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00401d7d
lea esi, [ebp - 0x30]
call fcn.00411830
jmp 0x475fc2
mov ecx, str.gbbqE3svfLcyUk3bNyrX4_MkGzsMd1MUZ5vNukEb9Mxb5HkegYFmsZRQtJI5gUSsrElb2D
call fcn.0040e62e
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004019c5
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401d7d
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x70]
call fcn.00409bff
mov eax, esi
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.0042b8f8
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push 0x497294
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x48e774
call fcn.004312ad
call fcn.00431ed7
ret
Function at 0x4020d4
Capabilities:
Get file version info

Disassembly:
push 0x10c
mov eax, 0x44e5c2
call fcn.0042ab6f
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
call fcn.00402088
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push ecx
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x4022f2
push edi
call fcn.0042a448
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
push esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push edi
cmovae eax, dword [ebp - 0x34]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4022e9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4603cc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4022e9
cmp dword [ebp - 0x18], 0
je 0x4022e9
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edi
cmp dword [edi], 0xfeef04bd
jne 0x4022e9
movzx edx, word [edi + 0xc]
lea ecx, [ebp - 0x118]
call fcn.00401fa3
mov ebx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x100]
movzx edx, word [edi + 0xe]
call fcn.00401fa3
mov edi, eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 3
movzx edx, word [eax + 8]
call fcn.00401fa3
mov esi, eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
movzx edx, word [eax + 0xa]
call fcn.00401fa3
push 0x4603c8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00402433
push eax
lea ecx, [ebp - 0xb8]
call fcn.00402380
push esi
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa0]
call fcn.004026a1
mov esi, 0x4603c8
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0xa0]
call fcn.00402433
push eax
lea ecx, [ebp - 0x88]
call fcn.00402380
push edi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.004026a1
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00402433
push eax
lea ecx, [ebp - 0x58]
call fcn.00402380
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x58]
push ebx
push eax
mov byte [ebp - 4], 0xa
push dword [ebp - 0x14]
call fcn.004026a1
lea ecx, [ebp - 0x58]
call fcn.004023b6
lea ecx, [ebp - 0x70]
call fcn.004023b6
lea ecx, [ebp - 0x88]
call fcn.004023b6
lea ecx, [ebp - 0xa0]
call fcn.004023b6
lea ecx, [ebp - 0xb8]
call fcn.004023b6
lea ecx, [ebp - 0xd0]
call fcn.004023b6
lea ecx, [ebp - 0xe8]
call fcn.004023b6
lea ecx, [ebp - 0x100]
call fcn.004023b6
lea ecx, [ebp - 0x118]
call fcn.004023b6
push dword [ebp - 0x14]
call fcn.0042a443
pop ecx
lea ecx, [ebp - 0x34]
call fcn.004023b6
mov eax, dword [ebp - 0x40]
jmp 0x40230d
push esi
call fcn.0042a443
pop ecx
xor esi, esi
xor eax, eax
mov dword [ebx], esi
mov dword [ebx + 0x10], esi
lea ecx, [ebp - 0x34]
mov dword [ebx + 0x14], 7
mov word [ebx], ax
call fcn.004023b6
invalid
Function at 0x403a6c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e78c
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x46b054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
and dword [ebp - 0x2c], 0
xor ebx, ebx
inc ebx
mov byte [esi], bl
call fcn.0041545d
or dword [esi + 0x1388], 0xffffffff
lea edi, [esi + 0xc]
mov ecx, eax
mov edx, ebx
mov dword [esi + 8], ecx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
mov eax, 0x270
add ecx, edx
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, eax
jb 0x403ab8
lea edi, [esi + 0x138c]
mov dword [esi + 4], eax
and dword [edi], 0
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
cmp dword [ebp + 8], ebx
jne 0x403b12
lea ecx, [ebp - 0x28]
call fcn.00402013
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.00403465
lea ecx, [ebp - 0x28]
call fcn.004023b6
lea eax, [ebp - 0x44]
jmp 0x403b1e
lea eax, [ebp - 0x5c]
push eax
call fcn.00403e7e
push 2
pop ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.00402380
invalid