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

Disassembly:
cmp byte [0x4cc3a8], 0
push edi
jne 0x4067a5
push 0x800
push 0
push 0x4cc3b0
call fcn.0048aa40
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add esp, 0xc
push 0x4cc3b0
push 0
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x40679e
push 0x4cc3b0
push 1
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x40679e
xor al, al
pop edi
ret
mov byte [0x4cc3a8], 1
mov eax, 0x4cc3b0
mov edx, esi
call fcn.004201a0
mov eax, dword [esi]
test eax, eax
je 0x4067ce
cmp byte [esi + 0x2a], 0
lea ecx, [esi + 4]
jne 0x4067c3
mov ecx, dword [ecx + 0x20]
movzx eax, word [ecx + eax*2 + 2]
cmp ax, 0x5c
je 0x4067da
push 0x4b94f8
mov eax, esi
call fcn.004202a0
push str.SogouWP
mov eax, esi
call fcn.004202a0
mov ecx, esi
call fcn.00420b00
test al, al
jne 0x4067fc
mov ecx, esi
call fcn.00420d20
test al, al
je 0x40679a
mov ecx, dword [esi]
test ecx, ecx
je 0x406819
cmp byte [esi + 0x2a], 0
lea eax, [esi + 4]
jne 0x40680e
mov eax, dword [eax + 0x20]
movzx eax, word [eax + ecx*2 + 2]
cmp ax, 0x5c
je 0x406825
push 0x4b94f8
mov eax, esi
call fcn.004202a0
push str.Note
mov eax, esi
call fcn.004202a0
mov ecx, esi
call fcn.00420b00
test al, al
jne 0x40684b
mov ecx, esi
call fcn.00420d20
test al, al
je 0x40679a
mov al, 1
pop edi
ret

Function at 0x406a30
Capabilities:
Get common file path

Disassembly:
cmp dword [0x4ccbb0], 0
jne 0x406a9c
push 0x208
push 0
push 0x4ccbb8
call fcn.0048aa40
add esp, 0xc
push 0x4ccbb8
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x406a9c
mov eax, 0x4ccbb8
mov dword [0x4ccbb0], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406a76
sub eax, edx
sar eax, 1
je 0x406a9c
cmp word [eax*2 + 0x4ccbb6], 0x5c
jne 0x406a9c
xor ecx, ecx
mov word [eax*2 + 0x4ccbb6], cx
mov eax, 0x4ccbb8
ret
Function at 0x4081c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a9a1e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.t_uiNoteEdit.0
mov dword [esp + 0x18], 2
mov eax, dword [esi + 0x30]
test eax, eax
je 0x40820a
call fcn.00411d20
mov dword [esi + 0x30], 0
cmp dword [esi + 0x3c], 0
je 0x408234
mov edi, dword [esi + 0x38]
mov dword [esi + 0x3c], 0
test edi, edi
je 0x408234
push edi
call fcn.0041a820
push edi
call fcn.00488f48
add esp, 4
mov dword [esi + 0x38], 0
cmp byte [esi + 0x9a], 0
lea eax, [esi + 0x74]
jne 0x408250
mov ecx, dword [eax + 0x20]
cmp ecx, eax
je 0x408250
push ecx
call fcn.0048a268
add esp, 4
cmp byte [esi + 0x6a], 0
lea eax, [esi + 0x44]
jne 0x408269
mov ecx, dword [eax + 0x20]
cmp ecx, eax
je 0x408269
push ecx
call fcn.0048a268
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00411ca0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x408a40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
sub edx, 0xce61
je 0x408a78
sub edx, 1
jne 0x408a75
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x408a75
mov edx, dword [esp + 8]
xor edx, 0x4e4e5959
cmp ecx, edx
jne 0x408a75
mov eax, dword [esp + 0x10]
mov dword [eax], 1
xor eax, eax
ret 0x10
mov edx, dword [esp + 0xc]
test edx, edx
je 0x408a75
push esi
mov esi, dword [esp + 0xc]
xor esi, 0x4e4e5959
cmp edx, esi
pop esi
jne 0x408a75
mov eax, dword [esp + 0x10]
mov dword [eax], 1
lea eax, [edx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [edx]
mov edx, dword [edx + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
jmp fcn.00408ac0
Function at 0x409900
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a9240
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x4cb4c8
mov dword [esp + 0x14], 0x4cb4c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp byte [0x4ccdc0], bl
je 0x409956
mov eax, 0x4ccdc8
mov edx, esi
call fcn.004201a0
jmp 0x409a48
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], reloc.WS2_32.dll_accept
mov byte [esp + 0x1c], bl
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.SoftwareSogouWallPaper
push reloc.WS2_32.dll_accept
mov byte [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete al
cmp al, bl
jne 0x4099c0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4099a2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
push 0x4cb4c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
push 0x800
push ebx
push 0x4ccdc8
call fcn.0048aa40
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x4099a2
lea ecx, [esp + 8]
push ecx
push 0x4ccdc8
lea edx, [esp + 0x14]
push edx
push ebx
push str.InstallLocation
push eax
mov dword [esp + 0x20], 0x800
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40998f
push str.SGWPBoot.exe
push 0x400
push 0x4ccdc8
call fcn.0048a4ff
add esp, 0xc
mov eax, 0x4ccdc8
mov edx, esi
mov byte [0x4ccdc0], 1
call fcn.004201a0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x409a48
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
push 0x4cb4c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret

Function at 0x409a70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a85b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp byte [0x4cddc8], 0
jne 0x409b3c
push str.0.0.0.0
push 0x400
push 0x4cd5c8
mov byte [0x4cddc8], 1
call fcn.004898a1
add esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], reloc.WS2_32.dll_accept
mov byte [esp + 0x14], 0
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareSogouWallPaper
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete al
test al, al
je 0x409b2d
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409b3c
lea ecx, [esp + 4]
push ecx
push 0x4cd5c8
lea edx, [esp + 0x10]
push edx
push 0
push str.Version
push eax
mov dword [esp + 0x1c], 0x800
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409b3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x4cd5c8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret
Function at 0x409b60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a85b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp byte [0x4ce5d0], 0
jne 0x409c15
mov byte [0x4ce5d0], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], reloc.WS2_32.dll_accept
mov byte [esp + 0x14], 0
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareSogouWallPaper
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete al
test al, al
je 0x409c06
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409c15
lea ecx, [esp + 4]
push ecx
push 0x4cddd0
lea edx, [esp + 0x10]
push edx
push 0
push str.Region
push eax
mov dword [esp + 0x1c], 0x800
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409c15
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x4cddd0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret

Function at 0x409c30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a85b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp byte [0x4cedd8], 0
jne 0x409ce5
mov byte [0x4cedd8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], reloc.WS2_32.dll_accept
mov byte [esp + 0x14], 0
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareSogouWallPaper
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete al
test al, al
je 0x409cd6
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409ce5
lea ecx, [esp + 4]
push ecx
push 0x4ce5d8
lea edx, [esp + 0x10]
push edx
push 0
push str.RegionReal
push eax
mov dword [esp + 0x1c], 0x800
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409ce5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x4ce5d8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret

Function at 0x40a830
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x40a858
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a858
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0040a7b0
pop edi
ret
xor eax, eax
push eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0040a7b0
pop edi
ret
Function at 0x40b080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a9e10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi], vtable.t_myWnd.0
mov dword [esi + 0x38], edi
lea eax, [esi + 0x3c]
push eax
mov dword [esp + 0x18], edi
call fcn.0040e730
lea eax, [esi + 0x5c]
push eax
mov byte [esp + 0x18], 1
call fcn.0040e730
lea eax, [esi + 0x90]
push eax
mov byte [esp + 0x18], 2
call fcn.00404360
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
lea ecx, [esi + 0xac]
push ecx
mov byte [esp + 0x18], 3
call fcn.0040eab0
xor eax, eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0x20000000
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x40b240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a9e87
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [ebx], vtable.t_myWnd.0
mov dword [esp + 0x28], 4
call fcn.0040d0c0
xor ebp, ebp
xor eax, eax
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x20], 0x20000000
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 0x30]
cmp ecx, ebp
je 0x40b2c4
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ecx, dword [ebx + 0x30]
cmp ecx, ebp
je 0x40b2c1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebx + 0x30], ebp
mov ecx, dword [ebx + 0x34]
cmp ecx, ebp
je 0x40b2e5
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ecx, dword [ebx + 0x34]
cmp ecx, ebp
je 0x40b2e2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebx + 0x34], ebp
lea esi, [ebx + 0xac]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x28], 5
call fcn.0040f640
mov esi, dword [esi]
push esi
call fcn.00488f48
add esp, 4
lea edi, [ebx + 0x7c]
call fcn.004125b0
lea esi, [ebx + 0x5c]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x28], 6
call fcn.0040e6f0
mov esi, dword [esi]
push esi
call fcn.00488f48
lea esi, [ebx + 0x3c]
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x28], 7
call fcn.0040e6f0
mov esi, dword [esi]
push esi
call fcn.00488f48
mov dword [esp + 0x2c], 0xffffffff
mov ebx, dword [ebx + 0x38]
add esp, 4
cmp ebx, ebp
je 0x40b359
push ebx
call fcn.00488e91
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x410e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a98e8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
xor ebx, ebx
push ebx
call fcn.00411b50
mov dword [esp + 0x14], ebx
lea eax, [esi + 0x38]
push eax
mov dword [esi], vtable.t_myButtonEx4S.0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 1
call fcn.0041ff40
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0xff202020
mov dword [esi + 0x70], 0xff101010
mov dword [esi + 0x74], 0xff000000
mov dword [esi + 0x78], 0xffc0c0c0
mov byte [esi + 0x7c], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x410ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a95fb
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esi + 0x30]
test edi, edi
je 0x411035
cmp dword [esi + 0x34], 0
je 0x411035
push edi
call fcn.0041a820
push edi
call fcn.00488f48
add esp, 4
mov dword [esi + 0x30], 0
push 0x1c
call fcn.00489136
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x411057
push eax
call fcn.0041a750
jmp 0x411059
xor eax, eax
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0xffffffff
push eax
mov dword [esi + 0x30], eax
call fcn.0041a900
mov eax, 1
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 4
Function at 0x415340
Capabilities:
Get graphical window text

Disassembly:
push ebp
push esi
push edi
mov esi, eax
call fcn.00404cc0
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x40]
test edi, edi
je 0x415407
push ebx
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4153ec
push 0
push 0
push 0xe
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jle 0x4153ec
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
inc ebx
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, ebx
or ecx, edx
jge 0x41539c
mov ecx, ebx
mov eax, esi
call fcn.00404d60
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x40]
mov ebp, dword [esi]
test edi, edi
je 0x4153bf
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4153bf
push ebp
push ebx
push 0xd
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4153d6
push ecx
push eax
call fcn.0048a7c8
add esp, 8
test eax, eax
jl 0x4153fd
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4153fd
mov ebp, dword [esp + 0x14]
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
lea edi, [ebp + 0x64]
mov eax, esi
call fcn.00407250
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0x80070057
call fcn.00402280
lea eax, [ebp + 0x64]
mov edi, esi
call fcn.00407250
pop edi
pop esi
pop ebp
ret 4
Function at 0x415a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x260
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
lea eax, [esp + 0x1d8]
push eax
mov edi, ecx
mov esi, edx
call fcn.00458c20
add esp, 4
push 0x1c0
lea ecx, [esp + 0x1c]
push 0x50
push ecx
mov dword [esp + 0x24], eax
call fcn.004584e0
mov edx, dword [edi + 8]
mov eax, dword [edi]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00458a10
add esp, 0xc
lea edx, [esp + 0x18]
push 1
push edx
call fcn.00458910
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, 1
je 0x415b03
cmp eax, 3
je 0x415b03
cmp eax, 4
je 0x415b03
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00488f53
add esp, 0x260
ret
mov ecx, dword [esp + 0x38]
imul ecx, dword [esp + 0x34]
imul ecx, eax
push ecx
call fcn.0048a836
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x415ae9
cmp dword [esp + 0x44], 4
mov byte [esp + 0xc], bl
jne 0x415b30
mov byte [esp + 0xc], 1
lea edx, [esp + 0x18]
push edx
call fcn.00458400
mov eax, dword [esp + 0x94]
add esp, 4
cmp eax, dword [esp + 0x78]
jae 0x415b81
lea ebx, [ebx]
imul eax, dword [esp + 0x34]
imul eax, dword [esp + 0x3c]
add eax, edi
mov dword [esp + 0x14], eax
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00458360
mov eax, dword [esp + 0x9c]
add esp, 0xc
cmp eax, dword [esp + 0x78]
jb 0x415b50
lea edx, [esp + 0x18]
push edx
call fcn.00458840
lea eax, [esp + 0x1c]
add esp, 4
push eax
call fcn.004585e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
add esp, 4
push ecx
mov ecx, dword [esp + 0x40]
add ecx, ecx
push edi
add ecx, ecx
push edx
mov edx, dword [esp + 0x44]
add ecx, ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
call fcn.0041b120
add esp, 0xc
test al, al
je 0x415bd6
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.0041aab0
movzx ebx, al
push edi
call fcn.0048a268
mov ecx, dword [esp + 0x268]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00488f53
add esp, 0x260
ret

Function at 0x419210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8768
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov cl, byte [esp + 0x48]
mov dl, byte [esi + 8]
mov dword [esp + 0x10], eax
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], cl
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x38]
lea edi, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00419370
cmp byte [esp + 0x15], 0
je 0x4192a1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4192a1
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x14
Function at 0x4192c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8768
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov edi, ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov eax, dword [eax + 8]
sub eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [edi]
sub ecx, edx
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
mov al, byte [edi + 8]
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], 0xff
mov byte [esp + 0x14], al
mov esi, dword [esp + 0x38]
lea edi, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00419370
cmp byte [esp + 0x15], 0
je 0x419357
mov eax, dword [esp + 0x10]
test eax, eax
je 0x419357
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8

Function at 0x41af10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
mov dword [ebp], 0
test edi, edi
jne 0x41af24
xor eax, eax
pop ebp
ret
mov eax, dword [esp + 8]
push esi
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41af44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41af49
pop esi
xor eax, eax
pop ebp
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp], eax
test ebx, ebx
je 0x41af73
test eax, eax
jbe 0x41af73
cmp eax, 0x40000000
jae 0x41af73
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
pop ebx
pop esi
mov dword [ebp], 0
xor eax, eax
pop ebp
ret
Function at 0x41e110
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x41e11b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.0041e130
Function at 0x41e410
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push edi
push 0x3c
call fcn.0048a836
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x41e44f
pop edi
mov dword [0x4cb538], 0x6d
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00488f53
add esp, 0xc
ret
push esi
push 0x3c
push ebx
push edi
call fcn.0048aa40
push 0x6148
call fcn.0048a836
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x41e493
push edi
mov dword [0x4cb538], 0x6d
call fcn.0048a268
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00488f53
add esp, 0xc
ret
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x38], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x38], ebx
mov dword [esi], 8
mov dword [esi + 0x3c], 0x41bfb0
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
je 0x41e4c9
push 6
lea ecx, [esp + 0x10]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x41e4de
mov edx, dword [ecx + 0x38]
push edx
push 6
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0048adde
add esp, 0x10
cmp eax, 6
je 0x41e4ef
mov dword [0x4cb538], 0x66
jmp 0x41e515
push 3
lea ecx, [esp + 0x10]
push ecx
push str.GIFVER
mov byte [esp + 0x1e], bl
call fcn.0048dc69
add esp, 0xc
test eax, eax
je 0x41e538
mov dword [0x4cb538], 0x67
push esi
call fcn.0048a268
push edi
call fcn.0048a268
add esp, 8
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00488f53
add esp, 0xc
ret
call fcn.0041e560
test eax, eax
je 0x41e515
mov ecx, dword [esp + 0x14]
pop esi
mov eax, edi
pop edi
mov dword [0x4cb538], ebx
pop ebx
xor ecx, esp
call fcn.00488f53
add esp, 0xc
ret