joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415560
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x49b7f0]
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.00415780
add esp, 4
test al, al
jne 0x41568f
push 0
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0
mov byte [0x4a02f6], 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 0x4155c0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
mov esi, 0x49cf30
call fcn.00401720
push 1
push 0x4838c4
mov ecx, esi
call fcn.00413a90
call fcn.0040cc60
add eax, 0xa40
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x415600
sub ecx, esi
sar ecx, 1
push ecx
push eax
mov ecx, 0x49cf30
call fcn.00413a90
push 0xa
push 0x485624
mov ecx, 0x49cf30
call fcn.00413a90
lea eax, [esp + 0xc]
push eax
mov ecx, 0x49cf30
call fcn.00415780
add esp, 4
test al, al
jne 0x41568f
push 0
call fcn.0045208d
add esp, 4
sub eax, dword [0x4a1328]
sbb edx, dword [0x4a132c]
test edi, edi
mov dword [0x4a02f8], eax
mov dword [0x4a02fc], edx
je 0x415676
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.00451053
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.00415ac0
add esp, 0x10
test al, al
jne 0x415711
test esi, esi
je 0x4156c4
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
push 0
call fcn.0045208d
add esp, 4
sub eax, dword [0x4a1328]
sbb edx, dword [0x4a132c]
test edi, edi
mov dword [0x4a02f8], eax
mov dword [0x4a02fc], edx
je 0x4156f8
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.00451053
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.0045208d
add esp, 4
sub eax, dword [0x4a1328]
sbb edx, dword [0x4a132c]
test edi, edi
mov dword [0x4a02f8], eax
mov dword [0x4a02fc], edx
je 0x415759
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.00451053
add esp, 0x218
ret
Function at 0x415780
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4727d0
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x49b7f0]
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.0040ad40
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x4157dc
mov eax, dword [eax + 4]
jmp 0x4157df
add eax, 4
lea ecx, [ebp - 0x484]
push ecx
push eax
call fcn.00452fa8
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x438], edi
jb 0x41580b
mov edx, dword [ebp - 0x44c]
push edx
call fcn.004344c6
add esp, 4
test bl, bl
je 0x41584c
mov ecx, esi
lea eax, [ebp - 0x450]
call fcn.0040ad40
cmp dword [eax + 0x18], edi
jb 0x415826
mov eax, dword [eax + 4]
jmp 0x415829
add eax, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x438], edi
jb 0x41584c
mov eax, dword [ebp - 0x44c]
push eax
call fcn.004344c6
add esp, 4
push edi
mov dword [ebp - 4], 0
call fcn.00434496
mov ecx, eax
add esp, 4
mov dword [ebp - 0x424], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x4158ac
cmp dword [esi + 0x18], 8
jb 0x41588f
mov esi, dword [esi + 4]
push 0x9001
push esi
call fcn.0044449d
mov ecx, dword [ebp - 0x428]
mov dword [ecx], eax
mov al, 1
jmp 0x415aa4
add esi, 4
push 0x9001
push esi
call fcn.0044449d
mov ecx, dword [ebp - 0x428]
mov dword [ecx], eax
mov al, 1
jmp 0x415aa4
mov ecx, dword [ebp - 0x428]
xor eax, eax
mov dword [ecx], eax
mov al, 1
jmp 0x415aa4
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.00451053
mov esp, ebp
pop ebp
ret

Function at 0x417050
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.00434496
xor edi, edi
add esp, 4
cmp eax, edi
je 0x417089
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 0x41708b
xor esi, esi
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push edi
lea ecx, [esi + 4]
call fcn.00401cb0
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x20]
call fcn.00401cb0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x14]
push edx
push edi
push esi
push 0x417b00
push edi
push edi
mov dword [esi], 0x4a02f7
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 0x4170ea
call fcn.00417120
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, 0x4a1334
call fcn.004161c0
mov dword [eax], 0x4a02f7
lea ebx, [ebp + 0x14]
mov eax, 0x4a1340
call fcn.004161c0
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 0x417420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x472716
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b7f0]
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 0x417481
mov dword [esp + 0x2b0], 0x4a02f7
mov eax, dword [edi + 4]
test eax, eax
je 0x41749a
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jne 0x4174a1
xor al, al
jmp 0x41762a
test edx, edx
je 0x4174ba
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.0040ad40
mov ebp, 0x10
mov dword [esp + 0x2a4], 0
cmp dword [eax + 0x18], ebp
jb 0x4174df
mov esi, dword [eax + 4]
jmp 0x4174e2
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4174f6
test al, 0x10
jne 0x4174f6
xor al, al
jmp 0x41750a
push esi
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.0040b2e0
add esp, 4
test al, al
sete bl
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x5c], ebp
jb 0x41752d
mov eax, dword [esp + 0x48]
push eax
call fcn.004344c6
add esp, 4
test bl, bl
jne 0x41749a
push edi
call fcn.0040af70
test al, al
je 0x41749a
mov ecx, dword [esp + 0x2b0]
xor ebp, ebp
cmp byte [ecx], 0
jne 0x417628
cmp ebp, dword [esp + 0x20]
jge 0x417628
cmp dword [edi + 4], 0
je 0x41749a
mov ecx, ebp
mov ebx, edi
call fcn.0040b260
test al, al
je 0x41749a
lea esi, [esp + 0x60]
call fcn.0040afe0
test al, al
je 0x41749a
mov edx, esi
push edx
lea ecx, [esp + 0x2c]
call fcn.0040a5b0
mov ecx, dword [esp + 0x18]
push ebp
push edi
lea edx, [esp + 0x30]
mov dword [esp + 0x2ac], 1
call fcn.00417660
add esp, 8
test al, al
sete bl
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x40], 0x10
jb 0x4175d8
mov eax, dword [esp + 0x2c]
push eax
call fcn.004344c6
add esp, 4
test bl, bl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jne 0x41749a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x417615
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 0x417555
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.00451053
add esp, 0x294
ret
Function at 0x41ed20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4733e0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b7f0]
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.0040aa40
xor edi, edi
push eax
mov ebx, 0x488bb4
lea esi, [esp + 0x1c]
mov dword [esp + 0x98], edi
call fcn.004232f0
add esp, 4
mov ebp, 8
mov byte [esp + 0x94], 1
cmp dword [eax + 0x18], ebp
jb 0x41ed9b
mov edx, dword [eax + 4]
jmp 0x41ed9e
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 0x41edc0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41edc0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x74]
call fcn.00401720
cmp dword [esp + 0x30], ebp
jb 0x41eded
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004344c6
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 0x41ee15
mov edx, dword [esp + 0x38]
push edx
call fcn.004344c6
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 0x41ee33
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ee8c
cmp dword [esp + 0x84], ebp
jb 0x41ee63
mov eax, dword [esp + 0x70]
cmp eax, edi
mov esi, eax
jne 0x41ee67
mov ecx, dword [esp + 0x14]
xor eax, eax
push eax
push esi
call fcn.00402ce0
jmp 0x41eee4
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 0x41ee70
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.00402ce0
jmp 0x41eee4
lea ecx, [esp + 0x50]
call fcn.0040a910
mov byte [esp + 0x94], 5
cmp dword [eax + 0x18], ebp
jb 0x41eea7
mov edx, dword [eax + 4]
jmp 0x41eeaa
lea edx, [eax + 4]
cmp edx, edi
jne 0x41eeb2
xor eax, eax
jmp 0x41eec6
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41eeb7
sub eax, esi
sar eax, 1
mov ecx, dword [esp + 0x14]
push eax
push edx
call fcn.00402ce0
cmp dword [esp + 0x68], ebp
jb 0x41eee4
mov eax, dword [esp + 0x54]
push eax
call fcn.004344c6
add esp, 4
cmp dword [esp + 0x84], ebp
jb 0x41eefa
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004344c6
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.00451053
add esp, 0x84
ret 4
Function at 0x41fde0
Capabilities:
Create process on windows

Disassembly:
sub esp, 8
push esi
call fcn.0040cc60
lea edx, [eax + 0x1cc8]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fdf4
sub eax, esi
sar eax, 1
je 0x41fe19
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 0x421b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470eb6
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov eax, dword [0x49b7f0]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
push 0x208
call fcn.004344c1
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push 0x10
push esi
mov dword [esp + 0x25c], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x421c5e
push 0x4a
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
push str.C:UsersitzikyoAppDataRoamingPoker888PokerSport_bin888PokerSport.exe
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401720
mov byte [esp + 0x248], 1
mov ecx, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x421c38
lea ecx, [esp + 0x14]
push str.shortcut_name_long
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x34]
call fcn.00401010
cmp dword [esp + 0x28], esi
jb 0x421c5e
mov eax, dword [esp + 0x14]
push eax
call fcn.004344c6
add esp, 4
mov ecx, dword [esp + 8]
push ecx
call fcn.004344c6
add esp, 4
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00451053
mov esp, ebp
pop ebp
ret
Function at 0x4232f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x471788
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x49b7f0]
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.00401cb0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x423344
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00413a90
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00401cb0
cmp dword [esp + 0x24], 8
jb 0x42338a
mov eax, dword [esp + 0x10]
push eax
call fcn.004344c6
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 0x431c30
Capabilities:
Hash data with crc32

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

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x431c72
lea esp, [esp]
test cl, 3
je 0x431c72
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x480750]
add ecx, 1
sub esi, 1
jne 0x431c50
cmp esi, 0x20
push ebx
push edi
jb 0x431e5c
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 + 0x480b50]
xor edx, dword [ebx*4 + 0x480f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x480750]
add ecx, 4
xor edx, dword [eax*4 + 0x481350]
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 + 0x480b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x480f50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x480750]
add ecx, 4
xor eax, dword [edx*4 + 0x481350]
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 + 0x480b50]
xor edx, dword [ebx*4 + 0x480f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x480750]
xor edx, dword [eax*4 + 0x481350]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x480b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x480f50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x480750]
xor eax, dword [edx*4 + 0x481350]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x480b50]
xor edx, dword [ebx*4 + 0x480f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x480750]
xor edx, dword [eax*4 + 0x481350]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x480b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x480f50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x480750]
and edx, 0xff
xor eax, dword [edx*4 + 0x481350]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x480b50]
xor edx, dword [ebx*4 + 0x480f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x480750]
add ecx, 4
xor edx, dword [eax*4 + 0x481350]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x480b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x480f50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x480750]
and edx, 0xff
xor eax, dword [edx*4 + 0x481350]
sub edi, 1
jne 0x431c82
cmp esi, 4
jb 0x431ea9
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 + 0x480b50]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x480f50]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x480750]
and eax, 0xff
xor edi, dword [eax*4 + 0x481350]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x431e66
test esi, esi
pop edi
pop ebx
je 0x431ecd
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x480750]
add ecx, 1
sub esi, 1
jne 0x431eb0
not eax
pop esi
ret
Function at 0x43a9d9
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 0x43aa1c
call fcn.004476eb
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 0x43aa1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43aa37
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0043a593
test ebx, ebx
mov esi, eax
je 0x43aa35
test edi, edi
je 0x43aa35
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44303f
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 0x443068
call fcn.004476eb
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 0x44308b
push eax
push dword [esi + 4]
call fcn.00442fca
push esi
push eax
mov ecx, 0x49ee7c
call fcn.00442c9d
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x445814
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 0x44585a
call fcn.004476eb
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 0x44585a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x44589d
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 0x445886
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 0x445886
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x44589a
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 0x446d63
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 0x446d83
cmp dword [edi + 0x54], 0
jne 0x446d83
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004476eb
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.00446d2a
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 0x44abc7
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 0x44abf5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44ac13
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044ab31
jmp 0x44ac13
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44ac13
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0044ab31
test edi, edi
mov eax, edi
jne 0x44abfd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x49f164]
test ecx, ecx
je 0x44acd6
jmp 0x44abc6
ret 8

Function at 0x44c8b7
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x44c8c0
xor eax, eax
jmp 0x44c929
cmp dword [esp + 8], 0
jne 0x44c8cc
call fcn.004420a1
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00454735
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x44c907
push dword [esi + 0x10]
call fcn.00454750
test eax, eax
pop ecx
jne 0x44c907
mov esi, dword [esi + 0xc]
call fcn.004543d0
push esi
push dword [eax]
push 1
call fcn.0044d4d8
push dword [esi + 0x10]
call fcn.0045477f
test eax, eax
pop ecx
je 0x44c926
push dword [esi + 0x10]
call fcn.0045803e
push eax
call fcn.00402bd0
pop ecx
pop ecx
jmp 0x44c8f5
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x44c932
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x44c93c
call fcn.004420a1
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.004548c8
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x44c969
mov esi, dword [esi + 0xc]
call fcn.004543d0
push esi
push dword [eax]
push 1
call fcn.0044d4d8
pop esi
ret 8

Function at 0x451053
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49b7f0]
jne 0x45105d
repz ret
jmp fcn.00459a6f