joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d710
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x446310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push edi
mov eax, dword [0x45d440]
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x30]
mov bl, 2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
mov edi, 1
call fcn.0042d3e0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d7a5
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0042d2a7
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0042d2a7
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042d2a7
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x40d7da
lea ecx, [esp + 8]
push 0x5c
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0042ab3a
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.0042d3e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.0042d2a7
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0042d76e
mov esi, eax
cmp esi, 0xffffffff
je 0x40d8d1
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0042ae4e
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x3c], 4
call fcn.0042d4d6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.0042d3e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.0042d2a7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0042d2a7
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0042add2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.0042d3e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042d2a7
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
cmp eax, 1
jl 0x40d895
cmp byte [eax + ecx - 1], 0x3a
je 0x40d895
push 0
push ecx
call ebp
mov edi, eax
test edi, edi
jne 0x40d89f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x14]
push 0x5c
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0042ab3a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 7
call fcn.0042d3e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call fcn.0042d2a7
jmp 0x40d7e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0042d2a7
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.0042d2a7
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042d2a7
mov ecx, dword [esp + 0x28]
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x40d930
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
xor eax, 0xcbf28b
xor esi, esi
push eax
call fcn.0041bfd6
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jle 0x40d981
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, eax
call fcn.0041bfe3
xor esi, esi
test ebx, ebx
jle 0x40d977
call fcn.0041bfe3
mov cl, byte [esi + edi]
xor cl, al
mov byte [esi + edi], cl
inc esi
cmp esi, ebx
jl 0x40d965
dec ebp
jne 0x40d95a
pop edi
pop ebp
pop ebx
pop esi
ret 0x10
mov eax, esi
pop esi
ret 0x10

Function at 0x40d990
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
xor eax, 0x12d4cb
push edi
push eax
call fcn.0041bfd6
add esp, 4
call fcn.0041bfe3
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
jle 0x40d9cb
push ebx
mov ebx, dword [esp + 0x10]
call fcn.0041bfe3
mov cl, byte [esi + ebx]
xor cl, al
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jl 0x40d9b8
pop ebx
xor ecx, ecx
mov edx, eax
test edi, edi
jle 0x40d9da
xor eax, ecx
inc ecx
cmp ecx, edi
jl 0x40d9d3
pop edi
mov eax, edx
pop esi
ret 0xc

Function at 0x40d9f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebp
xor eax, 0x82ae
push esi
mov ebp, ecx
push eax
call fcn.0041bfd6
add esp, 4
call fcn.0041bfe3
mov ecx, dword [esp + 0x10]
xor esi, esi
test ecx, ecx
jle 0x40da40
push ebx
push edi
mov edi, dword [esp + 0x14]
call fcn.0041bfe3
mov ebx, eax
mov al, byte [esi + edi]
xor al, bl
push 9
mov ecx, ebp
mov byte [esi + edi], al
call fcn.0040d920
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x40da1b
mov eax, ebx
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x40da50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor esi, 0x3fa519e
push edi
mov edi, ecx
push esi
call fcn.0041bfd6
add esp, 4
call fcn.0041bfe3
push esi
mov ecx, edi
mov ebx, eax
call fcn.0040d920
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x40da9e
test ebx, ebx
ja 0x40da9e
mov eax, dword [esp + 0x18]
push esi
push eax
push ebp
mov ecx, edi
call fcn.0040d9f0
push esi
mov ecx, edi
call fcn.0040d920
test eax, eax
jne 0x40da80
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x40dad0
call fcn.0041bfe3
mov ecx, dword [esp + 0x1c]
mov ebx, eax
push ecx
mov ecx, edi
call fcn.0040d920
mov dl, byte [esi + ebp]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
xor dl, bl
mov byte [esi + ebp], dl
inc esi
cmp esi, eax
jl 0x40daa8
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 0xc

Function at 0x40dae0
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea eax, [esi + 4]
push eax
push 4
push ecx
push edx
push 0
push 0
call fcn.0041c204
add esp, 0x18
mov dword [esi], eax
mov eax, esi
pop esi
ret 8

Function at 0x40db20
Capabilities:
Resume thread

Disassembly:
mov eax, dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x40dc60
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x446388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
push ebp
mov dword [esp + 0x30], ebp
call fcn.0041c005
push eax
call fcn.0041bfd6
add esp, 8
call fcn.0041bfe3
mov ebx, eax
call fcn.0041bfe3
mov edi, eax
mov eax, dword [0x45d440]
imul edi, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x34]
push 8
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.0040dfa0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0042d3e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.0042d2a7
mov eax, dword [0x45d440]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
push 8
mov byte [esp + 0x30], 3
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x40]
cdq
and edx, 7
add eax, edx
lea edx, [esp + 0x1c]
mov ebx, eax
mov eax, edi
xor eax, ecx
mov ecx, esi
push eax
push edx
sar ebx, 3
call fcn.0040e0d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call fcn.0042d3e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.0042d2a7
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
call fcn.0042d3e0
test ebx, ebx
jle 0x40ddde
push 8
lea ecx, [esp + 0x1c]
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0042ad3c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.0042d3e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.0042d2a7
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0042d01c
mov ecx, esi
call fcn.0040e210
mov ecx, dword [esp + 0x3c]
add eax, edi
xor eax, ecx
push 8
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040e0d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call fcn.0042d3e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call fcn.0042d2a7
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.0042d6bf
add ebp, 8
dec ebx
jne 0x40dd4c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.0042d2a7
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.0042d2a7
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0042d2a7
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc

Function at 0x416d23
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x28]
mov edi, dword [esi + 4]
test ecx, ecx
je 0x416d49
cmp dword [esp + 0x14], 0
mov eax, dword [ecx]
push ebx
push edi
je 0x416d46
call dword [eax + 0x10]
jmp 0x416d49
call dword [eax + 0xc]
cmp word [esi + 0x20], 0
je 0x416d82
mov eax, ebx
dec ebx
test eax, eax
je 0x416d82
lea ecx, [ebx + 1]
mov eax, dword [esi + 0x1c]
movzx ebx, byte [edi]
mov edx, eax
and edx, 0xff
xor edx, ebx
sar eax, 8
mov edx, dword [edx*4 + 0x45e584]
and eax, 0xffffff
xor edx, eax
inc edi
dec ecx
mov dword [esi + 0x1c], edx
jne 0x416d5a
pop edi
pop esi
pop ebx
ret 8
Function at 0x41742f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x68]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x417459
test ecx, ecx
jne 0x417463
test edx, edx
jne 0x417463
mov eax, edi
jmp 0x4174cf
cmp eax, 0xffffffff
jne 0x417463
push 0xfffffffffffffffe
pop eax
jmp 0x4174cf
mov edx, dword [esi + 0x20]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x4174cf
mov eax, dword [esi + 0x2c]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0041c570
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x38]
sub dword [esi + 0x64], edi
sub dword [esi + 0x60], edi
add esp, 0xc
sub dword [esi + 0x50], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x417494
mov eax, dword [esi + 0x34]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x4174b3
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x41752a
push eax
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x60]
add eax, dword [esi + 0x2c]
push eax
push ecx
call fcn.0041752f
add dword [esi + 0x68], eax
mov ebx, dword [esi + 0x68]
add esp, 0xc
cmp ebx, 3
jb 0x417516
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x4c]
movzx eax, byte [edx]
mov dword [esi + 0x3c], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x48]
mov dword [esi + 0x3c], eax
cmp ebx, 0x106
jae 0x41752a
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x41743b
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x421ef8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x45fa90
cmp edx, dword [eax]
je 0x421f1a
add eax, 8
inc ecx
cmp eax, 0x45fb20
jl 0x421f0b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x45fa90]
jne 0x422048
mov eax, dword [0x463e80]
cmp eax, 1
je 0x422022
test eax, eax
jne 0x421f4b
cmp dword [0x45f114], 1
je 0x422022
cmp edx, 0xfc
je 0x422048
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x421f82
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041ece0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041eb60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x421fc5
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041eb60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x44d85c
push edi
call fcn.0041ebe0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041ece0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041ecf0
lea eax, [ebp - 0xa0]
push 0x459b34
push eax
call fcn.0041ecf0
push dword [esi + 0x45fa94]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041ecf0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00424294
add esp, 0x2c
pop edi
jmp 0x422048
lea eax, [ebp + 8]
lea esi, [esi + 0x45fa94]
push 0
push eax
push dword [esi]
call fcn.0041eb60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42a230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041b500
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42a2fb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42a2fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42a2ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42a2b9
or bh, 8
and edi, 0x8000000
je 0x42a2d4
mov eax, dword [0x4656dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42a2fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a6d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42a6fb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42a71f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42a73a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42d9fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00440fed
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42da2f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0042da42
pop edi
pop esi
pop ebx
ret 8
Function at 0x42dd3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x446588
call fcn.0041c8c4
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00440fed
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x42dd7e
call fcn.00440fed
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42dd8c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42dd9a
or eax, 0xffffffff
jmp 0x42de82
mov ecx, esi
call fcn.0042dcb5
mov dword [ebp - 0x14], eax
call fcn.0042fc3b
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x42ddd1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42ddd1
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0042fbef
push dword [ebp - 0x14]
call fcn.0042f73d
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0042da42
cmp eax, edi
je 0x42de44
test byte [esi + 0x24], 0x10
je 0x42de12
push 4
mov ecx, esi
pop ebx
call fcn.0042ee53
test ah, 1
je 0x42de0a
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00431e40
cmp dword [esi + 0x1c], edi
je 0x42de44
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042efc4
jmp 0x42de44
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x42de58
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42de71
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42de71
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0042dcef
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x431be9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x431c2b
call fcn.00440fed
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x431c2b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x431c22
xor eax, eax
jmp 0x431c33
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00431c39
pop edi
pop esi
pop ebx
ret 4
Function at 0x441c22
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 0x441c50
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441c6e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00441b88
jmp 0x441c6e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x441c6e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00441b88
test edi, edi
mov eax, edi
jne 0x441c58
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x70db2858
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x107c
call fcn.70db5f00
push esi
push edi
xor eax, eax
push 0xe
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x107c]
mov dword [ebp - 0x10], eax
xor eax, eax
xor esi, esi
cmp dword [ebp - 0x30], 4
mov dword [ebp - 0x3c], 0x3c
sete al
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0xc], 0x800
mov dword [ecx], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push dword [ebp + 8]
call sub.WININET.dll_InternetCrackUrlW
test eax, eax
jne 0x70db28e7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x70db28d5
call esi
mov esi, eax
jmp 0x70db28fa
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x70db28fa
push dword [ebp + 0x1c]
lea eax, [ebp - 0x107c]
push dword [ebp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToAnsi]
pop edi
mov eax, esi
pop esi
leave
ret 0x18