joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c330
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x471428
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40c3dd
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x40c3f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea edx, [esp + 0x38]
push esi
push edx
call fcn.004120c0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x40]
push eax
push esi
push str.Unable_to_determine_free_disk_space__error__d:__s
push 0
push 0x180
push str.Utils::CheckDiskSpaceAvailability
call fcn.0042f100
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
fild qword [esp + 0xc]
and ecx, 0x80000000
test edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
fild qword [esp + 0xc]
fchs
faddp st(1)
fmul qword [0x48a528]
fild dword [esp + 0x3c]
jge 0x40c43e
fadd qword [0x48a520]
fcompp
fnstsw ax
test ah, 0x41
jne 0x40c45a
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x414bc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4720d8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x20]
push esi
mov dword [esp + 0x1c], 0
call fcn.0040a660
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
push edx
sub esp, 0xc
mov dword [edi + 8], ecx
add ebx, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push ebx
call fcn.0040a6e0
add eax, 0x10
mov ecx, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
sub ebp, esi
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
push eax
mov dword [edi + 8], ecx
push esi
xor ecx, ecx
call fcn.004146e0
add esp, 0x18
mov dword [esp + 0x18], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c73
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x414e00
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp byte [0x49e2f4], 0
push ebx
push esi
push edi
jne 0x414ea5
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
mov esi, 0x49f31c
call fcn.00415db0
mov edi, dword [esp + 0x10]
cmp edi, esi
mov ebx, dword [0x49f320]
je 0x414e3d
call fcn.0045160c
mov esi, dword [esp + 0x14]
cmp ebx, esi
je 0x414ea5
test edi, edi
jne 0x414e4e
call fcn.0045160c
cmp esi, dword [edi + 4]
jne 0x414e58
call fcn.0045160c
lea ebx, [esi + 0x10]
lea eax, [esp + 0x10]
mov esi, 0x49f310
call fcn.00415db0
mov esi, dword [esp + 0x10]
cmp esi, 0x49f310
mov edi, dword [0x49f314]
je 0x414e80
call fcn.0045160c
mov ebx, dword [esp + 0x14]
cmp edi, ebx
je 0x414ea5
test esi, esi
jne 0x414e91
call fcn.0045160c
cmp ebx, dword [esi + 4]
jne 0x414e9b
call fcn.0045160c
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414eb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp byte [0x49e2f4], 0
push ebx
push esi
push edi
jne 0x414f55
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
mov esi, 0x49f31c
call fcn.00415db0
mov edi, dword [esp + 0x10]
cmp edi, esi
mov ebx, dword [0x49f320]
je 0x414eed
call fcn.0045160c
mov esi, dword [esp + 0x14]
cmp ebx, esi
je 0x414f55
test edi, edi
jne 0x414efe
call fcn.0045160c
cmp esi, dword [edi + 4]
jne 0x414f08
call fcn.0045160c
lea ebx, [esi + 0x10]
lea eax, [esp + 0x10]
mov esi, 0x49f310
call fcn.00415db0
mov esi, dword [esp + 0x10]
cmp esi, 0x49f310
mov edi, dword [0x49f314]
je 0x414f30
call fcn.0045160c
mov ebx, dword [esp + 0x14]
cmp edi, ebx
je 0x414f55
test esi, esi
jne 0x414f41
call fcn.0045160c
cmp ebx, dword [esi + 4]
jne 0x414f4b
call fcn.0045160c
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414f60
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ebx, ebx
push ebx
call fcn.00450c3f
add esp, 4
cmp ebp, ebx
mov dword [0x49f328], eax
mov dword [0x49f32c], edx
jne 0x414f8e
mov ebp, 0x49e2f5
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
mov ecx, 0x49af4c
call fcn.00401c20
cmp edi, ebx
jne 0x414fb4
push 1
push 0x483608
mov ecx, 0x49f330
call fcn.00402c60
push 0x48
mov dword [0x49e2f8], ebx
mov dword [0x49e2fc], ebx
call fcn.00433066
add esp, 4
cmp eax, ebx
je 0x414feb
mov ecx, 7
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ebx
mov word [eax + 0x24], bx
mov esi, eax
jmp 0x414fed
xor esi, esi
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00401c20
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x20]
call fcn.00401c20
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
push 0x415cd0
push ebx
push ebx
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], 4
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x24], edi
jne 0x415050
call fcn.00415090
xor eax, eax
cmp edi, ebx
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea ebx, [esp + 0x24]
mov eax, 0x49f310
call fcn.00415e20
mov dword [eax], ebp
lea ebx, [esp + 0x2c]
mov eax, 0x49f31c
call fcn.00415e20
mov edi, dword [esp + 0x24]
mov dword [eax], edi
xor ebx, ebx
xor eax, eax
cmp edi, ebx
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 8
ret
Function at 0x4150e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
mov ebp, dword [esp + 0x224]
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0x10], 0
call fcn.00415300
add esp, 4
test al, al
jne 0x41520f
push 0
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0
mov byte [0x49e2f6], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415140
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
mov esi, 0x49af30
call fcn.00401690
push 1
push 0x4818c4
mov ecx, esi
call fcn.00413650
call fcn.0040c940
add eax, 0xa40
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x415180
sub ecx, esi
sar ecx, 1
push ecx
push eax
mov ecx, 0x49af30
call fcn.00413650
push 0xa
push 0x48360c
mov ecx, 0x49af30
call fcn.00413650
lea eax, [esp + 0xc]
push eax
mov ecx, 0x49af30
call fcn.00415300
add esp, 4
test al, al
jne 0x41520f
push 0
call fcn.00450c3f
add esp, 4
sub eax, dword [0x49f328]
sbb edx, dword [0x49f32c]
test edi, edi
mov dword [0x49e2f8], eax
mov dword [0x49e2fc], edx
je 0x4151f6
push 0xfffffffffffffffe
push ebp
push 0xfba
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0044fc05
add esp, 0x218
ret
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x224]
mov esi, dword [esp + 0xc]
push ecx
push ebp
push edi
push edx
mov edx, esi
mov ecx, ebx
call fcn.00415640
add esp, 0x10
test al, al
jne 0x415291
test esi, esi
je 0x415244
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
push 0
call fcn.00450c3f
add esp, 4
sub eax, dword [0x49f328]
sbb edx, dword [0x49f32c]
test edi, edi
mov dword [0x49e2f8], eax
mov dword [0x49e2fc], edx
je 0x415278
push 0xfffffffffffffffd
push ebp
push 0xfba
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0044fc05
add esp, 0x218
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
push 0
call fcn.00450c3f
add esp, 4
sub eax, dword [0x49f328]
sbb edx, dword [0x49f32c]
test edi, edi
mov dword [0x49e2f8], eax
mov dword [0x49e2fc], edx
je 0x4152d9
push 1
push ebp
push 0xfba
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x21c]
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.0044fc05
add esp, 0x218
ret
Function at 0x415300
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471320
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4997f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x42c], esi
call fcn.0040ac80
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x41535c
mov eax, dword [eax + 4]
jmp 0x41535f
add eax, 4
lea ecx, [ebp - 0x484]
push ecx
push eax
call fcn.00451b58
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x438], edi
jb 0x41538b
mov edx, dword [ebp - 0x44c]
push edx
call fcn.00433096
add esp, 4
test bl, bl
je 0x4153cc
mov ecx, esi
lea eax, [ebp - 0x450]
call fcn.0040ac80
cmp dword [eax + 0x18], edi
jb 0x4153a6
mov eax, dword [eax + 4]
jmp 0x4153a9
add eax, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x438], edi
jb 0x4153cc
mov eax, dword [ebp - 0x44c]
push eax
call fcn.00433096
add esp, 4
push edi
mov dword [ebp - 4], 0
call fcn.00433066
mov ecx, eax
add esp, 4
mov dword [ebp - 0x424], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x41542c
cmp dword [esi + 0x18], 8
jb 0x41540f
mov esi, dword [esi + 4]
push 0x9001
push esi
call fcn.0044305f
mov ecx, dword [ebp - 0x428]
mov dword [ecx], eax
mov al, 1
jmp 0x415624
add esi, 4
push 0x9001
push esi
call fcn.0044305f
mov ecx, dword [ebp - 0x428]
mov dword [ecx], eax
mov al, 1
jmp 0x415624
mov ecx, dword [ebp - 0x428]
xor eax, eax
mov dword [ecx], eax
mov al, 1
jmp 0x415624
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044fc05
mov esp, ebp
pop ebp
ret

Function at 0x416bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0x44
call fcn.00433066
xor edi, edi
add esp, 4
cmp eax, edi
je 0x416c29
mov ecx, 7
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], edi
mov word [eax + 8], di
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], edi
mov word [eax + 0x24], di
mov esi, eax
jmp 0x416c2b
xor esi, esi
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push edi
lea ecx, [esi + 4]
call fcn.00401c20
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x20]
call fcn.00401c20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x14]
push edx
push edi
push esi
push 0x4176a0
push edi
push edi
mov dword [esi], 0x49e2f7
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x10], ebx
jne 0x416c8a
call fcn.00416cc0
xor eax, eax
cmp ebx, edi
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esp + 0x10]
mov eax, 0x49f334
call fcn.00415e20
mov dword [eax], 0x49e2f7
lea ebx, [ebp + 0x14]
mov eax, 0x49f340
call fcn.00415e20
mov ebx, dword [esp + 0x10]
mov dword [eax], ebx
xor eax, eax
cmp ebx, edi
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416fc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x471266
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
cmp dword [esp + 0x2b0], 0
mov esi, dword [esp + 0x2ac]
mov edi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
jne 0x417021
mov dword [esp + 0x2b0], 0x49e2f7
mov eax, dword [edi + 4]
test eax, eax
je 0x41703a
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jne 0x417041
xor al, al
jmp 0x4171ca
test edx, edx
je 0x41705a
push ecx
mov ecx, dword [esp + 0x2b8]
push ecx
push 0xfc2
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
lea eax, [esp + 0x44]
call fcn.0040ac80
mov ebp, 0x10
mov dword [esp + 0x2a4], 0
cmp dword [eax + 0x18], ebp
jb 0x41707f
mov esi, dword [eax + 4]
jmp 0x417082
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x417096
test al, 0x10
jne 0x417096
xor al, al
jmp 0x4170aa
push esi
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.0040b220
add esp, 4
test al, al
sete bl
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x5c], ebp
jb 0x4170cd
mov eax, dword [esp + 0x48]
push eax
call fcn.00433096
add esp, 4
test bl, bl
jne 0x41703a
push edi
call fcn.0040aeb0
test al, al
je 0x41703a
mov ecx, dword [esp + 0x2b0]
xor ebp, ebp
cmp byte [ecx], 0
jne 0x4171c8
cmp ebp, dword [esp + 0x20]
jge 0x4171c8
cmp dword [edi + 4], 0
je 0x41703a
mov ecx, ebp
mov ebx, edi
call fcn.0040b1a0
test al, al
je 0x41703a
lea esi, [esp + 0x60]
call fcn.0040af20
test al, al
je 0x41703a
mov edx, esi
push edx
lea ecx, [esp + 0x2c]
call fcn.0040a4f0
mov ecx, dword [esp + 0x18]
push ebp
push edi
lea edx, [esp + 0x30]
mov dword [esp + 0x2ac], 1
call fcn.00417200
add esp, 8
test al, al
sete bl
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x40], 0x10
jb 0x417178
mov eax, dword [esp + 0x2c]
push eax
call fcn.00433096
add esp, 4
test bl, bl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jne 0x41703a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4171b5
mov edx, dword [esp + 0x2b4]
lea ecx, [ebp + 1]
push ecx
push edx
push 0xfc3
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x2b0]
add ebp, 1
cmp byte [eax], 0
je 0x4170f5
mov al, 1
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0044fc05
add esp, 0x294
ret
Function at 0x41f100
Capabilities:
Create process on windows

Disassembly:
sub esp, 8
push esi
call fcn.0040c940
lea edx, [eax + 0x1c48]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f114
sub eax, esi
sar eax, 1
je 0x41f139
push 5
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
add esp, 8
ret
Function at 0x422600
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x470318
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00401c20
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x422654
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00413650
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00401c20
cmp dword [esp + 0x24], 8
jb 0x42269a
mov eax, dword [esp + 0x10]
push eax
call fcn.00433096
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x430800
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x430807
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.00430810
Function at 0x430810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x430842
lea esp, [esp]
test cl, 3
je 0x430842
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e750]
add ecx, 1
sub esi, 1
jne 0x430820
cmp esi, 0x20
push ebx
push edi
jb 0x430a2c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x47eb50]
xor edx, dword [ebx*4 + 0x47ef50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47e750]
add ecx, 4
xor edx, dword [eax*4 + 0x47f350]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x47eb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ef50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47e750]
add ecx, 4
xor eax, dword [edx*4 + 0x47f350]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x47eb50]
xor edx, dword [ebx*4 + 0x47ef50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47e750]
xor edx, dword [eax*4 + 0x47f350]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x47eb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ef50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47e750]
xor eax, dword [edx*4 + 0x47f350]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x47eb50]
xor edx, dword [ebx*4 + 0x47ef50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47e750]
xor edx, dword [eax*4 + 0x47f350]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x47eb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ef50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47e750]
and edx, 0xff
xor eax, dword [edx*4 + 0x47f350]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x47eb50]
xor edx, dword [ebx*4 + 0x47ef50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47e750]
add ecx, 4
xor edx, dword [eax*4 + 0x47f350]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x47eb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ef50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47e750]
and edx, 0xff
xor eax, dword [edx*4 + 0x47f350]
sub edi, 1
jne 0x430852
cmp esi, 4
jb 0x430a79
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x47eb50]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x47ef50]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x47e750]
and eax, 0xff
xor edi, dword [eax*4 + 0x47f350]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x430a36
test esi, esi
pop edi
pop ebx
je 0x430a9d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e750]
add ecx, 1
sub esi, 1
jne 0x430a80
not eax
pop esi
ret
Function at 0x4395b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4395f8
call fcn.004462b0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4395f8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x439613
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0043916f
test ebx, ebx
mov esi, eax
je 0x439611
test edi, edi
je 0x439611
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x441c01
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x441c2a
call fcn.004462b0
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x441c4d
push eax
push dword [esi + 4]
call fcn.00441b8c
push esi
push eax
mov ecx, 0x49ce7c
call fcn.0044185f
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4443b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4443ff
call fcn.004462b0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4443ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x444442
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x44442b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x44442b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x44443f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc