joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x440aaa
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x440a9f
cmp dword [edi + 0x7c], ebx
je 0x440abd
push edi
call fcn.0043ea50
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.0043e870
add esp, 0x10
test eax, eax
je 0x440ae4
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.0046f9f8
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x440b25
push 0x4000
call fcn.0046f9f8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x440b31
push esi
call fcn.0046f91b
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x440b7d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0043dc80
add esp, 4
test eax, eax
jne 0x440b7d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x440ba7
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x440bb0
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
movzx ecx, byte [esi + 0x6c]
neg ecx
sbb ecx, ecx
push ebp
mov ebp, dword [esp + 0x20]
and ecx, 0xc
lea ebx, [esi + 0x70]
mov dword [esi + 0x7c], ecx
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebp, ebp
je 0x440bf7
mov edi, edi
movzx eax, byte [ebp]
test al, al
je 0x440bf7
push eax
push ebx
call fcn.0043d9d0
add esp, 8
add ebp, 1
jne 0x440be0
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x440e80
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x440f55
cmp dword [ebx + 4], 0xffffffff
jne 0x440f55
push edi
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440eb0
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x440ee9
cmp ax, 0x2f
je 0x440ee9
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x440ed6
mov eax, dword [0x48ef18]
mov dword [edi], eax
mov edi, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
cmp edi, 1
jne 0x440f14
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x440f14
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.0043dd30
add esp, 0x10
test eax, eax
jne 0x440f36
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.004408c0
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc
Function at 0x442de0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x442deb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x442ec9
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x497340]
inc ecx
sub edx, 8
sub esi, 1
jne 0x442e05
pop edi
test edx, edx
je 0x442eeb
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x497340]
inc ecx
sub edx, 1
jne 0x442ed0
not eax
pop esi
ret

Function at 0x442ef0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movsx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x497340]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x497340]
mov dword [edx + 8], ecx
ret
Function at 0x4430f0
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x48
push esi
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x443112
mov eax, 0x200
pop esi
add esp, 0x48
ret
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov edx, eax
xor ebp, ebp
and edx, 1
push edi
je 0x443127
mov ebp, 1
test al, 2
je 0x44312e
or ebp, 2
test al, 4
je 0x443135
or ebp, 4
mov ecx, eax
and ecx, 0x10
je 0x44313f
or ebp, 0x10
test al, 0x20
je 0x443146
or ebp, 0x20
test ecx, ecx
je 0x443152
or ebp, 0x40000000
jmp 0x443158
or ebp, 0x80000000
or ebp, 0x1000000
test edx, edx
jne 0x443168
or ebp, 0x800000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0x28
jbe 0x443216
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 2
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
push 0
push 0
push 0x24
push esi
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
mov edx, 0x54ad
cmp word [esp + 0x10], dx
jne 0x443216
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x34]
cmp dword [esp + 0x14], ecx
jbe 0x443216
push 0
push 0
push eax
push esi
call edi
push 0
lea edx, [esp + 0x1c]
push edx
push 4
lea eax, [esp + 0x2c]
push eax
push esi
call ebx
mov eax, dword [esp + 0x20]
cmp eax, 0x5a4d
je 0x443210
cmp eax, 0x454e
je 0x443210
cmp eax, 0x454c
je 0x443210
cmp eax, 0x4550
jne 0x443216
or ebp, 0x400000
mov eax, dword [esp + 0x60]
test eax, eax
je 0x443220
mov dword [eax], ebp
mov eax, dword [esp + 0x64]
test eax, eax
je 0x44322e
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test esi, esi
je 0x443277
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.00443050
push edi
push ebx
mov dword [esi], eax
mov dword [esi + 4], edx
call fcn.00443050
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x38]
push ecx
push edx
mov dword [esi + 8], eax
call fcn.00443050
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x4432a4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
push ebx
call fcn.00443080
movzx edx, word [esp + 0x20]
movzx eax, word [esp + 0x24]
shl edx, 0x10
add esp, 0x10
or edx, eax
mov dword [esi], edx
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x48
ret
Function at 0x443480
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
cmp byte [esi + 0x2d], 0
mov eax, edi
je 0x443501
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4434b1
cmp dword [esi + 0x40], ebx
jae 0x4434b1
push eax
call fcn.00446b49
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x4434c9
lea eax, [ebx + ebx]
push eax
call fcn.00446b54
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov ecx, dword [esi + 0x3c]
push ebx
push edi
push ecx
call fcn.0046fb60
add esp, 0xc
xor edi, edi
test ebx, ebx
jbe 0x4434fe
push ebp
lea ebp, [esi + 0x30]
mov edx, dword [esi + 0x3c]
movzx eax, byte [edi + edx]
push eax
push ebp
call fcn.00442f40
mov ecx, dword [esi + 0x3c]
mov byte [edi + ecx], al
inc edi
add esp, 8
cmp edi, ebx
jb 0x4434e1
pop ebp
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x44353a
mov ecx, dword [esi + 0x24]
lea edi, [ecx + ebx]
cmp edi, dword [esi + 0x28]
jb 0x443522
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
ret 8
push ebx
push eax
add ecx, edx
push ecx
call fcn.0046fb60
add esp, 0xc
add dword [esi + 0x24], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44355b
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x443710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
sub esp, 0x18
push esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x84], edx
mov byte [esi + 0x80], al
mov dword [esi + 0x78], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], eax
cmp edx, eax
je 0x4437da
cmp ecx, eax
je 0x4437da
lea eax, [esp + 0xc]
push eax
mov dword [esi + 0x4c], SysReAllocStringLen
mov dword [esi + 0x70], ecx
mov byte [esi + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 8]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00443080
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00443050
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
movzx eax, word [esp + 0x38]
mov ecx, edx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x64], ecx
movzx ecx, word [esp + 0x3c]
shl eax, 0x10
or eax, ecx
add esp, 0x18
mov dword [esi + 0x68], eax
mov dword [esi + 0x54], edx
xor eax, eax
pop esi
add esp, 0x18
ret 8
mov eax, 0x10000
pop esi
add esp, 0x18
ret 8
Function at 0x4438a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x84]
push edi
test ecx, ecx
je 0x4438ff
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x443949
mov edx, dword [esp + 0x14]
sub edi, eax
cmp edi, edx
jbe 0x4438cf
mov edi, edx
mov ebx, dword [esp + 0x10]
push edi
add eax, ecx
push eax
push ebx
call fcn.0046fb60
mov eax, dword [esi + 0x78]
add dword [esi + 0x8c], edi
add dword [esi + 0x74], edi
push edi
push ebx
push eax
call fcn.00442de0
add esp, 0x18
mov dword [esi + 0x78], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x443942
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443949
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x78]
add dword [esi + 0x74], edi
push edi
push ebx
push eax
call fcn.00442de0
add esp, 0xc
mov dword [esi + 0x78], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov dword [esi + 0x14], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x444aa0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
xor edi, edi
mov dword [esi + 0x6af80], 2
lea ebp, [ebx + 1]
cmp dword [esi + 0x6af90], ebx
je 0x444cc2
cmp dword [esi + 0x6af90], 3
jb 0x444b19
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x444b59
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x444b59
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x444b41
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.00442180
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x444b59
mov edi, eax
cmp edi, 3
jb 0x444c3e
mov ecx, dword [esi + 0x6af84]
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.00441b60
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov edx, eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x444bf7
cmp eax, 3
jb 0x444bf7
sub edi, ebp
lea esp, [esp]
add dword [esi + 0x6af84], ebp
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor eax, ebx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
sub edi, ebp
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x444ba0
jmp 0x444c60
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea ecx, [eax + esi]
movzx eax, byte [ecx + 0x1af70]
mov dword [esi + 0x6af7c], eax
movzx ecx, byte [ecx + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, 0x7fff
push ebp
push esi
xor edi, edi
mov dword [esi + 0x6af7c], ecx
call fcn.004416c0
add esp, 0xc
jmp 0x444c66
mov edx, dword [esi + 0x6af84]
movzx eax, byte [edx + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00441b60
add esp, 0xc
dec dword [esi + 0x6af90]
mov edx, eax
add dword [esi + 0x6af84], ebp
test edx, edx
je 0x444ca0
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x444c7d
lea ecx, [eax + esi + 0x1af70]
jmp 0x444c7f
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.004448e0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x444cb5
push esi
call fcn.00442360
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x444ac5
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x444cd5
lea ecx, [eax + esi + 0x1af70]
jmp 0x444cd7
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push ebp
sub edx, eax
push edx
push ecx
push esi
call fcn.004448e0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x445ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ae88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0044f991
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x160]
push ecx
mov ecx, edi
mov dword [esp + 0x40], 0
call edx
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_LPtoDP]
push 1
lea eax, [esp + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x24]
push 1
lea edx, [esp + 0x18]
push edx
push eax
call edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0044f9e5
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x44cffb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44d042
call fcn.0044f03c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44d042
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44d05e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044cb73
mov esi, eax
test edi, edi
je 0x44d05c
test ebx, ebx
je 0x44d05c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x450ae8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48b62e
call fcn.00470068
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x450b0d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x450b53
lea ecx, [ebp - 0x10]
call fcn.00402e90
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044d970
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004013b0
mov eax, esi
call fcn.00470140
ret 8
Function at 0x453888
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4538ac
cmp dword [edi + 0x54], 0
jne 0x4538ac
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044f03c
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 [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00453849
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x456bdc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4afe78]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x456c74
push 0x499cf4
push 4
push eax
call fcn.00471aaf
push eax
call fcn.004011f0
add esp, 0x10
push ebx
push edi
call fcn.00470313
mov edi, dword [eax]
call fcn.00470313
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004702b0
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00470313
cmp dword [eax], ebx
je 0x456c8b
call fcn.00470313
push dword [eax]
call fcn.004472e7
pop ecx
jmp 0x456c92
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x456c1f
jmp 0x456d19
call fcn.00470313
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x456d15
cmp dword [ebp - 0x234], esi
jae 0x456d15
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0046e0a0
add esp, 0xc
push 0x498c64
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x456d04
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x456d04
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x456d04
push ebx
push ebx
push esi
jmp 0x456d0d
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x456d17
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046dc02
leave
ret
Function at 0x458b66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x458b7e
mov edi, dword [esi + 0xc]
jmp 0x458bbe
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x458b97
call fcn.0044f2b5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x458bac
call fcn.0044f2b5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x458bbe
call fcn.0044f2b5
call fcn.0044f03c
cmp dword [eax + 0x3c], 0
je 0x458bd3
push edi
mov ecx, ebx
call fcn.00457a40
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00458a8c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x458bf1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x458bfd
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4594e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x45952d
call fcn.0044f03c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45952d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x459570
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x459559
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 0x459559
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x45956d
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 0x46dc02
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4afe78]
jne 0x46dc0c
repz ret
jmp fcn.0047647c