joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a953
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001a9f0
push ebx
push esi
call fcn.1001a91c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100196c5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001a99d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001a9ef
push edi
push eax
call fcn.10015bc0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001a9bd
call fcn.10013a40
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001a9ee
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100196c5
add esp, 0x20
test eax, eax
jne 0x1001a9dc
push edi
call fcn.10013a40
jmp 0x1001a9e4
push ebx
call fcn.10013a40
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001ccab
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1001115c
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001cd1a
cmp esi, dword [ebp - 4]
je 0x1001cd15
cmp dword [ebp + 0xc], 0
je 0x1001cd15
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001ccf2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1001c800
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1001cd1c
xor eax, eax
inc eax
jmp 0x1001cd1c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1001cd87
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002f050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1001115c
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1001115c
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1001cdfe
cmp word [ecx], dx
je 0x1001cdfe
mov eax, dword [0x10024f24]
push edi
dec eax
push eax
push 0x10024e10
call fcn.1001cd20
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1001ce71
cmp word [eax], dx
je 0x1001ce71
mov eax, dword [edi]
test eax, eax
je 0x1001ce22
cmp word [eax], dx
je 0x1001ce22
lea eax, [ebp - 0x10]
push eax
call fcn.1001c706
jmp 0x1001ce2b
lea eax, [ebp - 0x10]
push eax
call fcn.1001c7a1
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1001ce9b
mov eax, dword [0x10024e0c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10024b00
call fcn.1001cd20
add esp, 0xc
test al, al
je 0x1001ce9b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1001ce66
cmp word [eax], di
je 0x1001ce66
lea eax, [ebp - 0x10]
push eax
call fcn.1001c706
pop ecx
jmp 0x1001ce9d
lea eax, [ebp - 0x10]
push eax
call fcn.1001c7a1
jmp 0x1001ce63
mov eax, dword [edi]
test eax, eax
je 0x1001ce88
cmp word [eax], dx
je 0x1001ce88
lea eax, [ebp - 0x10]
push eax
call fcn.1001c6bb
pop ecx
jmp 0x1001ce9b
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1001cf66
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1001cba5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001cf66
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1001cf66
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1001cf66
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001cef3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1001458b
test ebx, ebx
je 0x1001cf61
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1001458b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001cf66
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001cf66
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1001f1bf
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1001cf68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000836f
leave
ret
Function at 0x1001f493
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1001f40f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001f602
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001f602
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001f5b7
jg 0x1001f4ef
test eax, eax
je 0x1001f5ad
push 1
push 0x1000
call fcn.10013fd0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1001f512
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001f5a4
push 0x8000
push ebx
call fcn.1001f33e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001f53b
jg 0x1001f536
cmp ecx, 0x1000
jb 0x1001f53b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1001381c
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001f580
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1001f536
jl 0x1001f567
test ecx, ecx
jne 0x1001f528
push dword [ebp - 0xc]
push ebx
call fcn.1001f33e
push esi
call fcn.10013a40
add esp, 0xc
xor ebx, ebx
jmp 0x1001f610
cmp byte [edi + 0x24], 0
je 0x1001f597
cmp dword [edi + 0x20], 5
jne 0x1001f597
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001f5a2
mov ebx, dword [edi + 0x18]
jmp 0x1001f5a4
xor ebx, ebx
push esi
call fcn.10013a40
pop ecx
jmp 0x1001f610
test ecx, ecx
jg 0x1001f579
jl 0x1001f5b7
test eax, eax
jae 0x1001f579
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10015b53
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001f5d7
cmp byte [edi + 0x1c], 0
je 0x1001f579
jmp 0x1001f608
push ebx
call fcn.1001d341
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001f579
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001f610
cmp byte [edi + 0x1c], 0
je 0x1001f60d
mov ebx, dword [edi + 0x18]
jmp 0x1001f610
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10015b53
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x419eff
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0xdb7604]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
call dword [0x41e4ec]
mov ecx, eax
call dword [0x41e4f0]
push str.Downloader::FileError
mov ecx, eax
mov dword [esp + 0x48], ebx
call dword [0x41e4f4]
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], edi
call dword [0x41e4f8]
mov eax, dword [esp + 0x4c]
cmp eax, 0xcc
ja case.0x4019ac.5
movzx ecx, byte [eax + 0x401b5c]
jmp dword [ecx*4 + 0x401b48]
mov ebx, 1
push ebx
push 0xa
push eax
lea edx, [esp + 0x20]
push edx
call dword [0x41e500]
push eax
lea eax, [esp + 0x60]
push str.Networking_error__
push eax
mov dword [esp + 0x60], ebx
call fcn.00401700
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41ef00
push eax
push ecx
mov byte [esp + 0x58], 2
call fcn.00401070
add esp, 0xc
mov ecx, esi
call fcn.00417c00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call dword [0x41e510]
lea ecx, [esp + 0x14]
jmp 0x401b27
push 1
push ecx
mov dword [esp + 0x54], esp
mov edi, esp
push 0x11
push str.Password_required
call dword [0x41e440]
add esp, 8
mov ecx, esi
mov dword [edi], eax
call fcn.00417c00
mov ecx, esi
call fcn.00417af0
mov ecx, dword [esi + 0x2c]
mov edi, dword [0x41e3f0]
mov byte [esi + 0xc], bl
call edi
mov ecx, dword [esi + 0x30]
call edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 4
push 1
push 0xa
push eax
lea edx, [esp + 0x28]
push edx
call dword [0x41e500]
push eax
lea eax, [esp + 0x2c]
push str.Proxy_error__
mov ebx, 3
push eax
mov dword [esp + 0x60], ebx
call fcn.00401700
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41ef00
push eax
push ecx
mov byte [esp + 0x58], 4
call fcn.00401070
add esp, 0xc
mov ecx, esi
call fcn.00417c00
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], bl
call dword [0x41e510]
lea ecx, [esp + 0x1c]
jmp 0x401b27
push 1
push 0xa
push eax
lea edx, [esp + 0x30]
push edx
call dword [0x41e500]
push eax
lea eax, [esp + 0x34]
push str.Server_error__
mov ebx, 5
push eax
mov dword [esp + 0x60], ebx
call fcn.00401700
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41ef00
push eax
push ecx
mov byte [esp + 0x58], 6
call fcn.00401070
add esp, 0xc
mov ecx, esi
call fcn.00417c00
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call dword [0x41e510]
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], edi
call dword [0x41e510]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 4
Function at 0x401cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x419f29
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0xdb7604]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
call dword [0x41e4ec]
mov ecx, eax
call dword [0x41e4f0]
push 0x41ef40
mov ecx, eax
mov dword [esp + 0x40], ebx
call dword [0x41e4f4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call dword [0x41e4f8]
mov edx, dword [0x41e4d8]
mov ecx, dword [0x41e4d0]
mov edi, dword [0x41e4e0]
push edx
mov edx, dword [esi + 0x40]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x24], 0x4018a0
call edi
mov ecx, dword [0x41e5e4]
mov eax, dword [0x41e5dc]
push ecx
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x38], eax
push esi
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x40], fcn.00401930
call edi
mov ecx, dword [esp + 0x6c]
add esp, 0x28
call dword [0x41e4d4]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
cmp byte [esi + 0xc], bl
je 0x401e06
mov ecx, dword [esi + 0x2c]
mov byte [esi + 0xc], bl
call dword [0x41e3f0]
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x401dee
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
call eax
push ecx
lea edx, [esi + 0x3c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [0x41e504]
mov ecx, esi
call fcn.00417b50
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x414e60
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov word [esp + 4], 0xcdfb
mov byte [esp + 6], 0xac
test edi, edi
jle 0x414e9d
push esi
mov esi, dword [esp + 0x10]
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov al, byte [esp + edx + 8]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x414e80
pop esi
pop edi
pop ecx
ret

Function at 0x415080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41cde5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0xdb7604]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call dword [0x41e4c0]
mov esi, dword [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x24], 1
call dword [0x41e2c8]
test al, al
je 0x415161
push ecx
mov eax, esp
mov dword [eax], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
mov dword [esp + 0x18], esp
call edx
test al, al
je 0x415161
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
xor edi, edi
mov ecx, 0xa00000
test edx, edx
jg 0x41510b
jl 0x415107
cmp eax, ecx
jae 0x41510b
mov ecx, eax
mov edi, edx
push edi
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [0x41e3b4]
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 2
call dword [0x41e3b0]
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
call dword [0x41e3ac]
lea ecx, [esp + 0x14]
call dword [0x41e3e4]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call dword [0x41e3e4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call dword [0x41e3a8]
mov ecx, eax
mov byte [esp + 0x24], 3
call dword [0x41e3a4]
test eax, eax
je 0x415191
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x415186
sub ecx, esi
jmp 0x415194
or ecx, 0xffffffff
push ecx
push eax
call dword [0x41e440]
mov esi, dword [esp + 0x34]
add esp, 8
mov dword [esi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 1
call dword [0x41e3e4]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call dword [0x41e3e4]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x4178e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d194
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0xdb7604]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], 0
mov eax, dword [esp + 0x30]
push eax
call dword [0x41e83c]
push 0x24
mov dword [esp + 0x28], 0
mov dword [esi], vtable.AutoDlg.1.0
mov dword [esi + 8], vtable.AutoDlg.0
call fcn.004191e0
add esp, 4
push esi
mov ecx, eax
mov dword [esi + 0x18], eax
call fcn.00416f90
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x30], esp
mov dword [eax], 0x800
call dword [0x41e7f8]
mov edi, dword [0x41e440]
push 0x2c
push str.:_data_Res_UI_VOLAMTRUYENKY_NET_TAHOMABD.TTF
call edi
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x30], 1
call dword [0x41e578]
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call dword [0x41e510]
push 6
push 0x422904
call edi
add esp, 8
mov dword [esp + 0x2c], eax
push 0
push 1
push 9
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call dword [0x41e574]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call dword [0x41e510]
push 0x4b
lea ecx, [esp + 0x18]
call dword [0x41e540]
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x1c]
mov edi, dword [0x41ebc0]
lea eax, [esp + 0x14]
push eax
call edi
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x14]
push edx
call edi
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx]
call edi
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x20]
lea eax, [esp + 0x14]
push eax
call edi
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x14]
push edx
call edi
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 4]
call edi
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
call edi
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 4]
push 0
push str.1accept__
push esi
push str.2clicked_bool_
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [0x41e33c]
add esp, 0x18
lea ecx, [esp + 0xc]
call dword [0x41e484]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call dword [0x41e52c]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x10000
push 2
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [0x405420], eax
call edi
push 0x8040
push 2
mov dword [0x40541c], eax
call esi
push eax
mov dword [0x405458], eax
call edi
push 0x400
push 2
mov dword [0x405448], eax
call esi
push eax
mov dword [0x405438], eax
call edi
mov dword [0x405424], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x405424]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x4020a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4020b2
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x4020eb
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4020e5
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405424]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020c5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x35fb23ca
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x45284497
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402020
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sym._EnterCriticalSection_4
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x40206b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402064
test esi, esi
je 0x402064
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402040
mov dword [esp], 0x408048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402250
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4022a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402378
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4022de
cmp eax, 4
jne 0x402300
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4022ee
cmp edx, 4
je 0x4022ee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402250