joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415220
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp byte [0x49f2f4], 0
push ebx
push esi
push edi
jne 0x4152c5
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
mov esi, 0x4a031c
call fcn.00416190
mov edi, dword [esp + 0x10]
cmp edi, esi
mov ebx, dword [0x4a0320]
je 0x41525d
call fcn.004521be
mov esi, dword [esp + 0x14]
cmp ebx, esi
je 0x4152c5
test edi, edi
jne 0x41526e
call fcn.004521be
cmp esi, dword [edi + 4]
jne 0x415278
call fcn.004521be
lea ebx, [esi + 0x10]
lea eax, [esp + 0x10]
mov esi, 0x4a0310
call fcn.00416190
mov esi, dword [esp + 0x10]
cmp esi, 0x4a0310
mov edi, dword [0x4a0314]
je 0x4152a0
call fcn.004521be
mov ebx, dword [esp + 0x14]
cmp edi, ebx
je 0x4152c5
test esi, esi
jne 0x4152b1
call fcn.004521be
cmp ebx, dword [esi + 4]
jne 0x4152bb
call fcn.004521be
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 0x4152d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, eax
call fcn.004517f1
add esp, 4
cmp edi, ebx
mov dword [0x4a0328], eax
mov dword [0x4a032c], edx
jne 0x4152fd
mov edi, 0x49f2f5
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
mov ecx, 0x49bf4c
call fcn.00401c20
cmp dword [ebp + 0x14], ebx
jne 0x415323
push 1
push 0x484608
mov ecx, 0x4a0330
call fcn.00402c60
push 0x48
mov dword [0x49f2f8], ebx
mov dword [0x49f2fc], ebx
call fcn.00433bf6
add esp, 4
cmp eax, ebx
je 0x41535a
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 0x41535c
xor esi, esi
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00401c20
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x20]
call fcn.00401c20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push 0x416030
push ebx
push ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 4
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x4153be
call fcn.004153f0
xor eax, eax
test ebx, ebx
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esp + 0x10]
mov eax, 0x4a0310
call fcn.004160a0
mov dword [eax], edi
lea ebx, [ebp + 0x14]
mov eax, 0x4a031c
call fcn.004160a0
mov ebx, dword [esp + 0x10]
mov dword [eax], ebx
pop edi
xor eax, eax
test ebx, ebx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415440
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x49a7f0]
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.00415660
add esp, 4
test al, al
jne 0x41556f
push 0
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0
mov byte [0x49f2f6], 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 0x4154a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
mov esi, 0x49bf30
call fcn.00401690
push 1
push 0x4828c4
mov ecx, esi
call fcn.00413970
call fcn.0040cbe0
add eax, 0xa40
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4154e0
sub ecx, esi
sar ecx, 1
push ecx
push eax
mov ecx, 0x49bf30
call fcn.00413970
push 0xa
push 0x48460c
mov ecx, 0x49bf30
call fcn.00413970
lea eax, [esp + 0xc]
push eax
mov ecx, 0x49bf30
call fcn.00415660
add esp, 4
test al, al
jne 0x41556f
push 0
call fcn.004517f1
add esp, 4
sub eax, dword [0x4a0328]
sbb edx, dword [0x4a032c]
test edi, edi
mov dword [0x49f2f8], eax
mov dword [0x49f2fc], edx
je 0x415556
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.004507b7
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.004159a0
add esp, 0x10
test al, al
jne 0x4155f1
test esi, esi
je 0x4155a4
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
push 0
call fcn.004517f1
add esp, 4
sub eax, dword [0x4a0328]
sbb edx, dword [0x4a032c]
test edi, edi
mov dword [0x49f2f8], eax
mov dword [0x49f2fc], edx
je 0x4155d8
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.004507b7
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.004517f1
add esp, 4
sub eax, dword [0x4a0328]
sbb edx, dword [0x4a032c]
test edi, edi
mov dword [0x49f2f8], eax
mov dword [0x49f2fc], edx
je 0x415639
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.004507b7
add esp, 0x218
ret
Function at 0x415660
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471e80
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x49a7f0]
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.0040acc0
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x4156bc
mov eax, dword [eax + 4]
jmp 0x4156bf
add eax, 4
lea ecx, [ebp - 0x484]
push ecx
push eax
call fcn.00452708
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x438], edi
jb 0x4156eb
mov edx, dword [ebp - 0x44c]
push edx
call fcn.00433c26
add esp, 4
test bl, bl
je 0x41572c
mov ecx, esi
lea eax, [ebp - 0x450]
call fcn.0040acc0
cmp dword [eax + 0x18], edi
jb 0x415706
mov eax, dword [eax + 4]
jmp 0x415709
add eax, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x438], edi
jb 0x41572c
mov eax, dword [ebp - 0x44c]
push eax
call fcn.00433c26
add esp, 4
push edi
mov dword [ebp - 4], 0
call fcn.00433bf6
mov ecx, eax
add esp, 4
mov dword [ebp - 0x424], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x41578c
cmp dword [esi + 0x18], 8
jb 0x41576f
mov esi, dword [esi + 4]
push 0x9001
push esi
call fcn.00443c13
mov ecx, dword [ebp - 0x428]
mov dword [ecx], eax
mov al, 1
jmp 0x415984
add esi, 4
push 0x9001
push esi
call fcn.00443c13
mov ecx, dword [ebp - 0x428]
mov dword [ecx], eax
mov al, 1
jmp 0x415984
mov ecx, dword [ebp - 0x428]
xor eax, eax
mov dword [ecx], eax
mov al, 1
jmp 0x415984
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.004507b7
mov esp, ebp
pop ebp
ret

Function at 0x416f50
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.00433bf6
xor edi, edi
add esp, 4
cmp eax, edi
je 0x416f89
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 0x416f8b
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 0x417a00
push edi
push edi
mov dword [esi], 0x49f2f7
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 0x416fea
call fcn.00417020
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, 0x4a0334
call fcn.004160a0
mov dword [eax], 0x49f2f7
lea ebx, [ebp + 0x14]
mov eax, 0x4a0340
call fcn.004160a0
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 0x417320
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x471dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x49a7f0]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49a7f0]
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 0x417381
mov dword [esp + 0x2b0], 0x49f2f7
mov eax, dword [edi + 4]
test eax, eax
je 0x41739a
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jne 0x4173a1
xor al, al
jmp 0x41752a
test edx, edx
je 0x4173ba
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.0040acc0
mov ebp, 0x10
mov dword [esp + 0x2a4], 0
cmp dword [eax + 0x18], ebp
jb 0x4173df
mov esi, dword [eax + 4]
jmp 0x4173e2
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4173f6
test al, 0x10
jne 0x4173f6
xor al, al
jmp 0x41740a
push esi
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.0040b260
add esp, 4
test al, al
sete bl
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x5c], ebp
jb 0x41742d
mov eax, dword [esp + 0x48]
push eax
call fcn.00433c26
add esp, 4
test bl, bl
jne 0x41739a
push edi
call fcn.0040aef0
test al, al
je 0x41739a
mov ecx, dword [esp + 0x2b0]
xor ebp, ebp
cmp byte [ecx], 0
jne 0x417528
cmp ebp, dword [esp + 0x20]
jge 0x417528
cmp dword [edi + 4], 0
je 0x41739a
mov ecx, ebp
mov ebx, edi
call fcn.0040b1e0
test al, al
je 0x41739a
lea esi, [esp + 0x60]
call fcn.0040af60
test al, al
je 0x41739a
mov edx, esi
push edx
lea ecx, [esp + 0x2c]
call fcn.0040a530
mov ecx, dword [esp + 0x18]
push ebp
push edi
lea edx, [esp + 0x30]
mov dword [esp + 0x2ac], 1
call fcn.00417560
add esp, 8
test al, al
sete bl
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x40], 0x10
jb 0x4174d8
mov eax, dword [esp + 0x2c]
push eax
call fcn.00433c26
add esp, 4
test bl, bl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jne 0x41739a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x417515
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 0x417455
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.004507b7
add esp, 0x294
ret
Function at 0x41e760
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x472a70
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x49a7f0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49a7f0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
call fcn.0040a9c0
xor edi, edi
push eax
mov ebx, 0x487a2c
lea esi, [esp + 0x1c]
mov dword [esp + 0x98], edi
call fcn.00422d30
add esp, 4
mov ebp, 8
mov byte [esp + 0x94], 1
cmp dword [eax + 0x18], ebp
jb 0x41e7db
mov edx, dword [eax + 4]
jmp 0x41e7de
lea edx, [eax + 4]
mov ebx, 7
mov eax, edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], edi
mov word [esp + 0x70], di
lea esi, [eax + 2]
jmp 0x41e800
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e800
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x74]
call fcn.00401690
cmp dword [esp + 0x30], ebp
jb 0x41e82d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00433c26
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
mov byte [esp + 0x94], 4
cmp dword [esp + 0x4c], ebp
jb 0x41e855
mov edx, dword [esp + 0x38]
push edx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0x84], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
jae 0x41e873
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e8cc
cmp dword [esp + 0x84], ebp
jb 0x41e8a3
mov eax, dword [esp + 0x70]
cmp eax, edi
mov esi, eax
jne 0x41e8a7
mov ecx, dword [esp + 0x14]
xor eax, eax
push eax
push esi
call fcn.00402c60
jmp 0x41e924
lea esi, [esp + 0x70]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e8b0
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.00402c60
jmp 0x41e924
lea ecx, [esp + 0x50]
call fcn.0040a890
mov byte [esp + 0x94], 5
cmp dword [eax + 0x18], ebp
jb 0x41e8e7
mov edx, dword [eax + 4]
jmp 0x41e8ea
lea edx, [eax + 4]
cmp edx, edi
jne 0x41e8f2
xor eax, eax
jmp 0x41e906
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e8f7
sub eax, esi
sar eax, 1
mov ecx, dword [esp + 0x14]
push eax
push edx
call fcn.00402c60
cmp dword [esp + 0x68], ebp
jb 0x41e924
mov eax, dword [esp + 0x54]
push eax
call fcn.00433c26
add esp, 4
cmp dword [esp + 0x84], ebp
jb 0x41e93a
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00433c26
add esp, 4
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004507b7
add esp, 0x84
ret 4
Function at 0x41f840
Capabilities:
Create process on windows

Disassembly:
sub esp, 8
push esi
call fcn.0040cbe0
lea edx, [eax + 0x1c48]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f854
sub eax, esi
sar eax, 1
je 0x41f879
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 0x422d30
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x470e98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x49a7f0]
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 0x422d84
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00413970
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 0x422dca
mov eax, dword [esp + 0x10]
push eax
call fcn.00433c26
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 0x431390
Capabilities:
Hash data with crc32

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

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x4313d2
lea esp, [esp]
test cl, 3
je 0x4313d2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47f750]
add ecx, 1
sub esi, 1
jne 0x4313b0
cmp esi, 0x20
push ebx
push edi
jb 0x4315bc
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 + 0x47fb50]
xor edx, dword [ebx*4 + 0x47ff50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47f750]
add ecx, 4
xor edx, dword [eax*4 + 0x480350]
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 + 0x47fb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ff50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47f750]
add ecx, 4
xor eax, dword [edx*4 + 0x480350]
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 + 0x47fb50]
xor edx, dword [ebx*4 + 0x47ff50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47f750]
xor edx, dword [eax*4 + 0x480350]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x47fb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ff50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47f750]
xor eax, dword [edx*4 + 0x480350]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x47fb50]
xor edx, dword [ebx*4 + 0x47ff50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47f750]
xor edx, dword [eax*4 + 0x480350]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x47fb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ff50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47f750]
and edx, 0xff
xor eax, dword [edx*4 + 0x480350]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x47fb50]
xor edx, dword [ebx*4 + 0x47ff50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x47f750]
add ecx, 4
xor edx, dword [eax*4 + 0x480350]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x47fb50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x47ff50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x47f750]
and edx, 0xff
xor eax, dword [edx*4 + 0x480350]
sub edi, 1
jne 0x4313e2
cmp esi, 4
jb 0x431609
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 + 0x47fb50]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x47ff50]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x47f750]
and eax, 0xff
xor edi, dword [eax*4 + 0x480350]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x4315c6
test esi, esi
pop edi
pop ebx
je 0x43162d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47f750]
add ecx, 1
sub esi, 1
jne 0x431610
not eax
pop esi
ret
Function at 0x43a14b
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 0x43a18e
call fcn.00446e4b
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 0x43a18e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43a1a9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00439d05
test ebx, ebx
mov esi, eax
je 0x43a1a7
test edi, edi
je 0x43a1a7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4427b5
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 0x4427de
call fcn.00446e4b
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 0x442801
push eax
push dword [esi + 4]
call fcn.00442740
push esi
push eax
mov ecx, 0x49de7c
call fcn.00442413
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x444f6d
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 0x444fb3
call fcn.00446e4b
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 0x444fb3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x444ff6
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 0x444fdf
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 0x444fdf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x444ff3
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
Function at 0x4464c3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x4464e3
cmp dword [edi + 0x54], 0
jne 0x4464e3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00446e4b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044648a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x44a330
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x44a35e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44a37c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044a29a
jmp 0x44a37c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44a37c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0044a29a
test edi, edi
mov eax, edi
jne 0x44a366
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x49e164]
test ecx, ecx
je 0x44a43f
jmp 0x44a32f
ret 8

Function at 0x44c01b
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x44c024
xor eax, eax
jmp 0x44c08d
cmp dword [esp + 8], 0
jne 0x44c030
call fcn.00441817
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00453e95
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x44c06b
push dword [esi + 0x10]
call fcn.00453eb0
test eax, eax
pop ecx
jne 0x44c06b
mov esi, dword [esi + 0xc]
call fcn.00453b30
push esi
push dword [eax]
push 1
call fcn.0044cc3c
push dword [esi + 0x10]
call fcn.00453edf
test eax, eax
pop ecx
je 0x44c08a
push dword [esi + 0x10]
call fcn.0045779e
push eax
call fcn.00402b50
pop ecx
pop ecx
jmp 0x44c059
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x44c096
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x44c0a0
call fcn.00441817
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00454028
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x44c0cd
mov esi, dword [esi + 0xc]
call fcn.00453b30
push esi
push dword [eax]
push 1
call fcn.0044cc3c
pop esi
ret 8

Function at 0x4507b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49a7f0]
jne 0x4507c1
repz ret
jmp fcn.004591cf