joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e930
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, dword [0x4d9648]
push edi
mov edi, eax
call fcn.0041a400
test edi, edi
je 0x45ea86
cmp word [edi], 0
je 0x45ea86
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x45e9aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4d5b14]
test byte [ecx + 0x100], 1
mov dword [ecx + 0x30], eax
jne 0x45eabd
mov ecx, dword [0x4d9f14]
push 1
push esi
push 0xffffffffffffffff
push 0x4b35d4
push ecx
call fcn.00483320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
push esi
call fcn.0049a0ee
add esp, 4
mov ebp, eax
push ebp
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45ea5e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push 0x4b52bc
push ebp
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45ea5e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push 0x4bc910
mov esi, 0x80
lea edi, [esp + 0x34]
call fcn.0047ffb0
add esp, 0x14
push ebp
call fcn.0049a18d
mov eax, dword [0x4d9f14]
mov edx, dword [0x4d5b14]
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push 0x4af9a8
push eax
mov dword [edx + 0x30], 0
call fcn.00483320
mov edx, dword [0x4d9648]
push 1
push 0
push 0xffffffffffffffff
mov ecx, edi
push ecx
push edx
call fcn.00483320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4d5b14]
push ebp
mov dword [ecx + 0x30], eax
call fcn.0049a18d
add esp, 4
call fcn.0043bee0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
mov eax, dword [0x4d5b14]
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x45eabd
mov edx, dword [0x4d9f14]
push 1
push 0
push 0xffffffffffffffff
push 0x4b35d4
push edx
call fcn.00483320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
push 0x4b0cf8
push 0
push 0x4b35d4
call fcn.00439cd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x45f410
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45f431
xor al, al
add esp, 0x18
ret
lea ecx, [esp + 0xc]
push ecx
push 0x4bc934
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45f42b
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
add esp, 0x18
ret

Function at 0x45f490
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x45f4ef
lea ecx, [esp + 4]
push ecx
push esi
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 4]
test eax, eax
je 0x45f4ef
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45f4ef
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 8
ret
Function at 0x4707c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [eax + 4]
test eax, eax
je 0x4707d0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret

Function at 0x4707e0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [eax + 0x24], 0
mov eax, dword [eax + 4]
jne 0x4707fc
test eax, eax
je 0x47080f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
push 0
push 0x2af80006
push 0x414
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
ret

Function at 0x470850
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
cmp dword [edi + 4], 0
push ebx
push ebp
push esi
je 0x4709a5
xor ebp, ebp
cmp dword [edi + 0x10], ebp
jbe 0x470895
xor esi, esi
mov eax, dword [edi + 0x18]
cmp dword [eax + esi + 8], 0
je 0x47088c
cmp byte [eax + esi + 4], 6
je 0x47088c
lea edx, [esi + eax]
mov eax, dword [edx + 8]
push eax
push edi
mov ecx, 0x4b5820
call fcn.00470a70
inc ebp
add esi, 0x14
cmp ebp, dword [edi + 0x10]
jb 0x470869
xor esi, esi
xor ebx, ebx
xor ebp, ebp
cmp esi, dword [edi + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
je 0x4708ca
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000
je 0x470913
cmp dword [esp + 0x10], 1
jne 0x470902
cmp ebx, 1
jle 0x470902
cmp ebp, 0xffffffff
jne 0x4708dd
xor ebp, ebp
push 0xa
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.004999a5
mov eax, dword [esp + 0x24]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00483320
cmp esi, dword [edi + 0x10]
je 0x470992
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x14]
cmp byte [eax + edx + 4], 6
jne 0x47097b
mov esi, dword [eax + edx + 8]
inc ebx
test esi, esi
je 0x470932
inc dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax + edx]
push 0
push 0
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x470966
test ebp, ebp
je 0x470953
or ebp, 0xffffffff
jmp 0x470955
mov ebp, ebx
test esi, esi
je 0x47097b
push 1
push 0
push 0xffffffffffffffff
push 0x4b35d4
jmp 0x470975
test esi, esi
je 0x47097b
push 1
push 0
push 0xffffffffffffffff
push 0x4af9a8
push esi
call fcn.00483320
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x14
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [edi + 0x10]
jbe 0x4708ae
cmp byte [esp + 0x64], 0
je 0x4709a5
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret 4
Function at 0x475140
Capabilities:
Get keyboard layout

Disassembly:
push ecx
push esi
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x475151
cmp eax, 9
jne 0x475156
add esi, 2
jmp 0x475144
movzx ecx, word [esi]
test cx, cx
jne 0x475163
xor al, al
pop esi
pop ecx
ret
cmp word [esi + 2], 0
lea eax, [esi + 2]
jne 0x47517d
mov eax, dword [esp + 0xc]
mov word [eax + 2], cx
mov byte [eax], 0
mov al, 1
pop esi
pop ecx
ret
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
push 0x2b
xor bl, bl
push eax
mov byte [edi], 1
mov byte [esp + 0x1b], bl
call fcn.0049a90e
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x47524c
lea eax, [ebp - 2]
cmp eax, esi
jbe 0x4751c4
lea esp, [esp]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4751bd
cmp ecx, 9
jne 0x4751c4
sub eax, 2
cmp eax, esi
ja 0x4751b0
sub eax, esi
sar eax, 1
lea edi, [eax + 1]
push edi
push 0x4b14d0
push esi
call fcn.0049a3aa
add esp, 0xc
test eax, eax
jne 0x4751e3
or bl, 1
jmp 0x475211
push edi
push 0x4b14c8
push esi
call fcn.0049a3aa
add esp, 0xc
test eax, eax
jne 0x4751fb
or bl, 4
jmp 0x475211
push edi
push 0x4b14bc
push esi
call fcn.0049a3aa
add esp, 0xc
test eax, eax
jne 0x475289
or bl, 0x10
lea esi, [ebp + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x475221
cmp eax, 9
jne 0x475226
add esi, 2
jmp 0x475214
cmp word [esi], 0
je 0x475289
lea eax, [esi + 2]
push 0x2b
push eax
call fcn.0049a90e
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4751a2
mov edi, dword [esp + 0x18]
mov byte [esp + 0x13], bl
cmp word [esi + 2], 0
jne 0x475295
push 1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [esi]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
lea edi, [esp + 0x1b]
mov esi, eax
call fcn.004194c0
mov bl, byte [esp + 0x1b]
movzx edx, al
mov eax, dword [esp + 0x20]
add esp, 8
mov word [eax + 2], dx
mov edi, eax
jmp 0x4752b3
pop edi
pop ebp
mov byte [esp + 0xb], bl
pop ebx
xor al, al
pop esi
pop ecx
ret
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.004193d0
movzx ecx, al
add esp, 0xc
mov word [edi + 2], cx
test bl, 1
je 0x4752bb
or byte [edi], 8
test bl, 4
je 0x4752c3
or byte [edi], 0x10
test bl, 0x10
je 0x4752cb
or byte [edi], 4
cmp word [edi + 2], 0
pop edi
pop ebp
pop ebx
setne al
pop esi
pop ecx
ret
Function at 0x47ad30
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4ac9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [ebx + 8]
push ebp
push esi
mov esi, dword [ebx + 4]
push edi
xor ebp, ebp
mov edx, ebx
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [ebx + 4], edi
mov dword [esp + 0x2c], ebp
cmp ecx, ebp
jle 0x47ae64
mov edi, edi
cmp eax, dword [esp + 0x3c]
jl 0x47adcf
mov eax, dword [0x4d5b14]
mov ecx, 0x42
mov esi, 0x4d8348
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x2c], ebp
mov dword [0x4db220], ebp
mov dword [0x4db224], ebp
cmp dword [0x4d98b4], ebp
je 0x47adcb
mov eax, dword [0x4d6d34]
cmp eax, ebp
je 0x47adbf
mov eax, dword [eax]
cmp eax, ebp
jne 0x47adc4
mov eax, 0x4b0cf8
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
lea eax, [eax + eax*2]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x3c]
push eax
push 0x4af990
push ecx
xor eax, eax
call fcn.00477c20
add esp, 0x10
test eax, eax
je 0x47ae1f
cmp dword [esp + 0xc], ebp
jne 0x47ae40
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jl 0x47ad80
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edx + 4], ecx
jmp 0x47ae67
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, 3
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 0xc
mov dword [edx + 4], esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x24
ret 0xc
Function at 0x47cd30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
je 0x47cdf7
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [0x4d5b14]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x20019
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x47ce04
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0047cd30
mov edx, dword [esp + 0x18]
add esp, 4
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x47ce04
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x47ce04
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
jne 0x47cd7a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret

Function at 0x47ce20
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, eax
push esi
test ebx, ebx
je 0x47cf12
test edi, edi
je 0x47ce3b
cmp word [edi], 0
jne 0x47ce43
test ebp, ebp
je 0x47cf12
mov ecx, dword [0x4d5b14]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x2001f
push edx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x47cee4
mov eax, dword [esp + 0x14]
test ebp, ebp
jne 0x47cefb
push eax
call fcn.0047cd30
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x47cee4
mov eax, 1
test byte [0x4dbfe0], al
jne 0x47cec2
or dword [0x4dbfe0], eax
push 0x4ce620
push 0x4bc7b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4dbfdc], eax
jmp 0x47cec7
mov eax, dword [0x4dbfdc]
mov edx, dword [0x4d5b14]
mov ecx, dword [edx + 0xd0]
test ecx, ecx
je 0x47cef1
test eax, eax
je 0x47cef1
push 0
push ecx
push edi
push ebx
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x47cf17
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x47cf19
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x47cee2
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47cee4
mov esi, 0x57
mov eax, esi
mov edx, dword [0x4d5b14]
mov ebx, dword [esp + 0x10]
mov dword [edx + 0x30], eax
test esi, esi
setne al
movzx ecx, al
push ecx
call fcn.00439dd0
pop esi
pop ebp
pop ebx
ret 8
Function at 0x483160
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push esi
push 0x4db278
mov esi, ecx
call fcn.00405430
test eax, eax
jne 0x48318d
push 0x4b0cf8
push 0x4afdc0
mov ecx, 0x4da728
call fcn.0043a420
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x1c]
add eax, esi
mov ebp, esi
add esi, 4
mov dword [esp + 0x10], eax
cmp esi, eax
jbe 0x4831f4
xor esi, esi
cmp dword [0x4db290], esi
je 0x4831e0
cmp dword [0x4db280], esi
je 0x4831ce
mov edx, dword [0x4db278]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4db280], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4db290], esi
mov dword [0x4db278], esi
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4831a9
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x4831a9
mov ebx, dword [ecx]
mov ebp, esi
add esi, ebx
cmp esi, eax
ja 0x4831a9
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, ebx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x48326b
test ebx, ebx
je 0x483251
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4832c1
push ebx
push ebp
push eax
call fcn.004a3c00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebp, esi
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [ebp + 4]
cmp esi, dword [esp + 0x10]
jbe 0x4831f0
jmp 0x4831a9
cmp dword [0x4db290], 0
je 0x4832a5
cmp dword [0x4db280], 0
je 0x483293
mov eax, dword [0x4db278]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4db280], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4db290], eax
mov dword [0x4db278], eax
push 0x4b0cf8
push 0x4b3980
mov ecx, 0x4da728
call fcn.0043a420
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4db290], esi
je 0x4832ff
cmp dword [0x4db280], esi
je 0x4832ed
mov ecx, dword [0x4db278]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4db280], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4db290], esi
mov dword [0x4db278], esi
push 0x4b0cf8
push 0x4afd8c
mov ecx, 0x4da728
call fcn.0043a420
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x4836f0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
movzx eax, byte [esi + 0x17]
push edi
cmp eax, 3
ja case.default.0x483703
jmp dword [eax*4 + 0x4838c4]
mov eax, esi
call fcn.004011c0
cmp dword [0x4d9878], 0
jne 0x4837d3
cmp dword [esi + 0xc], 0
jne 0x4837d3
mov edi, dword [esp + 0x14]
cmp dword [0x4dbcac], esi
jne 0x483738
test edi, edi
jne 0x483795
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x483791
mov dword [0x4dbcac], 0
test edi, edi
je 0x483789
mov eax, dword [0x4d9854]
test eax, eax
je 0x48377a
mov edx, dword [esi + 0x18]
push 0
push edx
push 0x4cea08
push eax
mov ecx, 0x4da728
call fcn.0043a970
mov ecx, dword [esi + 0x18]
call fcn.00481490
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x4837c4
cmp byte [esi + 0x17], 0
jne 0x4837a0
mov eax, dword [esi + 0xc]
jmp 0x4837a2
mov eax, esi
test byte [eax + 0x15], 4
je 0x4837b3
push esi
mov ecx, 0x4da728
call fcn.0043aab0
xor eax, eax
mov word [edi], ax
mov dword [0x4dbcac], eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4dbcac], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov ebx, eax
shr ebx, 1
test edi, edi
je 0x483855
test eax, eax
jne 0x48380f
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x483801
push esi
mov ecx, 0x4da728
call fcn.0043aab0
xor ecx, ecx
mov word [edi], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x483855
cmp eax, 0x186a0
jae 0x483844
movzx eax, word [ecx]
test ax, ax
je 0x483836
add ecx, 2
mov word [edi], ax
movzx eax, word [ecx]
add edi, 2
test ax, ax
jne 0x483825
xor edx, edx
mov word [edi], dx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
push eax
push ecx
push edi
call fcn.004a3c00
add esp, 0xc
xor eax, eax
mov word [edi + ebx*2], ax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.004836f0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404e80
cmp eax, 0xffffffff
jne 0x483884
xor eax, eax
test esi, esi
je 0x4838bc
xor edx, edx
mov word [esi + eax*2], dx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4838a2
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push edx
push eax
call ecx
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x418000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
xor ecx, ecx
test esi, esi
jbe 0x418034
push ebx
lea esp, [esp]
xor edx, edx
mov dl, byte [ecx + edi]
xor edx, eax
sar eax, 8
and edx, 0xff
mov ebx, dword [edx*4 + 0x64f2c8]
and eax, 0xffffff
xor eax, ebx
inc ecx
cmp ecx, esi
jb 0x418010
pop ebx
ret

Function at 0x4180c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [eax]
push ebx
push 0
push 0x80
push 3
push 0
push 2
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4180e9
xor al, al
pop ebx
pop ecx
ret
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.005d02a6
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], esi
je 0x41812e
push edi
call fcn.005e173e
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
call fcn.00418000
push edi
mov esi, eax
call fcn.005e173e
mov ecx, dword [esp + 0x18]
add esp, 4
xor eax, eax
pop edi
cmp ecx, esi
pop esi
sete al
pop ebx
pop ecx
ret
Function at 0x421750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f9386
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x34]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov dword [esi + 4], edx
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x34]
push ebx
push ebx
lea ecx, [esi + 0x10]
push eax
mov dword [esp + 0x14], esi
mov dword [esi + 0xc], edx
call fcn.004712c0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x54], ecx
push 0x14
lea ecx, [esi + 0x5c]
mov dword [esp + 0x30], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x58], edx
call fcn.0046e8f0
lea eax, [esp + 0x3c]
push eax
push str.hint_time
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 1
mov dword [esi + 0x84], ebx
mov byte [esi + 0x88], bl
call fcn.00402f20
lea ecx, [esp + 0x3c]
push ecx
push str.bird
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.00402f20
cmp dword [0x655dd4], ebx
mov byte [esp + 0x2c], 3
jne 0x42182a
cmp byte [0x655dd1], bl
je 0x421813
call fcn.0041f0e0
call fcn.004215a0
push 0x4216e0
mov dword [0x655dd4], eax
call fcn.005e0ca0
add esp, 4
mov ecx, dword [0x655dd4]
push ebp
push edi
lea edx, [esp + 0x14]
push edx
call fcn.00421600
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00420f20
mov eax, dword [eax]
push eax
call fcn.005e1433
fstp dword [esi + 0x84]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add esp, 4
sub eax, ecx
cmp ecx, ebx
mov edi, ecx
je 0x4218a0
cmp eax, 0x80
jbe 0x421878
push ecx
call fcn.005e05ca
jmp 0x42189d
lea ebp, [eax - 1]
shr ebp, 3
push 0x655bd8
lea ebp, [ebp*4 + 0x655be0]
call fcn.00401450
mov edx, dword [ebp]
mov dword [edi], edx
mov dword [ebp], edi
mov dword [0x655bd8], ebx
add esp, 4
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub eax, ebp
cmp ebp, ebx
je 0x4218e4
cmp eax, 0x80
jbe 0x4218bd
push ebp
call fcn.005e05ca
jmp 0x4218e1
lea edi, [eax - 1]
shr edi, 3
push 0x655bd8
lea edi, [edi*4 + 0x655be0]
call fcn.00401450
mov eax, dword [edi]
mov dword [ebp], eax
mov dword [edi], ebp
mov dword [0x655bd8], ebx
add esp, 4
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x44]
or eax, 0x10
mov dword [esi + 0x28], eax
fld dword [ecx]
fcomp dword [0x60c748]
pop edi
pop ebp
fnstsw ax
test ah, 5
jp 0x421906
or dword [esi + 0x28], 2
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
Function at 0x42b250
Capabilities:
Get common file path

Disassembly:
sub esp, 0x408
mov eax, dword [0x65480c]
push ebx
mov dword [esp + 0x408], eax
push edi
lea eax, [esp + 0xc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [esp + 0xc]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42b280
mov ecx, dword [0x60d530]
mov edx, dword [0x60d534]
mov eax, dword [0x60d538]
mov dword [edi], ecx
mov ecx, dword [0x60d53c]
mov dword [edi + 4], edx
mov edx, dword [0x60d540]
mov dword [edi + 8], eax
mov eax, dword [0x60d544]
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0xc]
mov dword [edi + 0x10], edx
push 0x60d52c
push ecx
mov dword [edi + 0x14], eax
call fcn.005e1b97
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42b37c
push ebp
push ebx
push str.__xml_version_1.0____n_data__n
call fcn.005e1aca
mov eax, dword [0x655e1c]
mov ebp, dword [eax]
add esp, 8
cmp ebp, eax
mov dword [esp + 0xc], eax
je 0x42b367
push esi
jmp 0x42b300
push str._t_element_offset
push ebx
call fcn.005e1a6c
add esp, 8
xor eax, eax
lea esi, [ebp + 0xe0]
jmp 0x42b320
fld dword [esi + 4]
lea edi, [eax + 1]
call fcn.005e0b1c
fld dword [esi]
push eax
call fcn.005e0b1c
push eax
push edi
push str.offset_i__3i__3i_
push ebx
call fcn.005e1a6c
mov eax, edi
add esp, 0x14
add esi, 8
cmp eax, 6
jl 0x42b320
push 0x60c7f4
push ebx
call fcn.005e1a6c
mov ebp, dword [ebp]
mov eax, dword [esp + 0x18]
add esp, 8
cmp ebp, eax
jne 0x42b300
pop esi
push ebx
push str.__data_
call fcn.005e1aca
push ebx
call fcn.005e1a1b
add esp, 0xc
pop ebp
mov ecx, dword [esp + 0x40c]
pop edi
pop ebx
call fcn.005e149c
add esp, 0x408
ret