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

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00433040
mov eax, dword [esi + 4]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x1874]
mov ecx, ebx
call fcn.0041d1f0
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4f5254
push 0x824
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x5117f0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebp, [esi + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x18]
push 0x4f4788
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebx + 0x5d0d0]
push ebp
mov ecx, 0x82
xor eax, eax
mov edi, edx
push 0x4f5254
push 0x104
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x433470
mov dword [ebx + 0x2698], esi
call fcn.0041d120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x433780
Capabilities:
Delete file

Disassembly:
sub esp, 0x61c
push ebx
push ebp
mov ebp, dword [esp + 0x62c]
push esi
test ebp, ebp
push edi
mov dword [esp + 0x10], 0
je 0x43394a
mov ebx, dword [esp + 0x638]
test ebx, ebx
je 0x43394a
mov eax, dword [esp + 0x63c]
test eax, eax
je 0x43394a
push 0
push ebx
call fcn.00434a60
add esp, 8
test eax, eax
jne 0x4337d9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
mov dx, word [0x5117f0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], dx
mov word [esp + 0x21c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
push 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5ed02c]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push eax
push ecx
call fcn.00434a70
add esp, 0x10
lea edx, [esp + 0x21c]
lea eax, [esp + 0x424]
push str.Extensions
push edx
push 0x4f59b8
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x438]
push ecx
call fcn.00435320
add esp, 0x18
test eax, eax
je 0x43394a
push ebp
call fcn.00424ba0
mov ecx, eax
call fcn.00425bc0
mov esi, eax
test esi, esi
je 0x433910
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
push 0x103
push edx
mov ecx, esi
stosw word es:[edi], ax
call fcn.0042c520
cmp word [esp + 0x14], 0
je 0x4338dc
mov eax, dword [esp + 0x63c]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jl 0x4338dc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x4338e8
call esi
mov eax, dword [esp + 0x640]
test eax, eax
je 0x43394a
mov ecx, dword [esp + 0x63c]
push ecx
push ebx
push ebp
call fcn.00433490
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
push ebp
push ebx
call fcn.00424ba0
mov ecx, eax
call fcn.0042dab0
mov esi, eax
test esi, esi
je 0x433960
mov edx, dword [esp + 0x630]
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0042bba0
mov eax, dword [esp + 0x10]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 2
pop ebx
add esp, 0x61c
ret
mov eax, dword [esp + 0x63c]
push eax
push ebx
push ebp
call fcn.00433490
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
Function at 0x433de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp word [edi + 4], bx
lea eax, [edi + 4]
mov dword [ebp - 0x18], edi
jne 0x433e24
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5021a4
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x1c], esi
jne 0x433e52
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call fcn.00434240
cmp eax, ebx
jne 0x433e7b
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x7f]
mov byte [ebp - 0x80], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0x64
lea eax, [ebp - 0x80]
push 1
push eax
call edi
add esp, 0x10
cmp eax, 0x64
jae 0x433ec4
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
lea ecx, [ebp - 0x14]
push 4
push ecx
mov dword [ebp - 0x14], ebx
call edi
add esp, 0x10
cmp eax, 1
jae 0x433ef7
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x14]
push esi
push eax
push 1
push ebx
call edi
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp eax, ecx
jae 0x433f2c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x18]
push ecx
push ebx
mov ecx, edi
call fcn.00434310
test eax, eax
push ebx
jne 0x433f5f
call fcn.004d7f79
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004d7f79
add esp, 4
mov ecx, edi
push esi
call fcn.00434380
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434240
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov dword [esp + 0x15], eax
push edi
mov dword [esp + 0x1d], eax
push ebp
push 1
lea ecx, [esp + 0x20]
mov word [esp + 0x29], ax
push 0xc
push ecx
mov byte [esp + 0x28], 0
mov byte [esp + 0x33], al
call ebx
add esp, 0x10
mov ecx, 0xc
mov edi, str.TW.3_TAIHANG
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x434291
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4342ab
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
xor edx, edx
push ebp
mov dword [esp + 0x15], edx
push 1
lea eax, [esp + 0x18]
mov word [esp + 0x1d], dx
push 7
push eax
mov byte [esp + 0x20], 0
mov byte [esp + 0x27], dl
call ebx
add esp, 0x10
mov ecx, 7
mov edi, str.3.0.0.1
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4342e7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x434301
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 4

Function at 0x434380
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov edx, dword [ecx + 0x210]
push edi
xor edi, edi
mov dword [esp + 8], ecx
cmp edx, edi
jne 0x43439a
mov dword [esp + 4], edi
jmp 0x4343a9
mov eax, dword [ecx + 0x214]
sub eax, edx
sar eax, 2
mov dword [esp + 4], eax
cmp dword [esp + 4], edi
jle 0x4343f3
push ebx
push ebp
push esi
jmp 0x4343b8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x210]
mov ebx, dword [eax + edi*4]
mov esi, dword [ebx + 0x18]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x20]
mov ebp, eax
push ecx
push 1
push esi
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x14
mov ecx, ebx
push esi
push ebp
call fcn.00433d20
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x4343b4
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4

Function at 0x434980
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
push edi
je 0x4349ce
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4349ce
mov ebx, dword [esp + 0x14]
test ebx, ebx
jbe 0x4349ce
push esi
xor esi, esi
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4349c8
mov ecx, ebx
mov esi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
pop edi
xor eax, eax
pop ebx
ret
Function at 0x4349e0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebp
test eax, eax
push edi
je 0x434a35
mov edi, dword [esp + 0x10]
test edi, edi
je 0x434a35
mov ebp, dword [esp + 0x14]
test ebp, ebp
jbe 0x434a35
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [esp + 0x24]
lea esi, [eax + ecx]
test esi, esi
je 0x434a2e
mov ecx, ebp
push eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
pop edi
pop ebp
ret
pop edi
xor eax, eax
pop ebp
ret
Function at 0x434ec0
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4db58b
push eax
mov eax, 0x271c
mov dword fs:[0], esp
call fcn.004d7fa0
mov eax, dword [0x4f4e90]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x273c]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x2734], ebx
rep stosd dword es:[edi], eax
je 0x434f18
push esi
call ebp
mov ebx, eax
push ebx
lea ecx, [esp + 0x14]
call fcn.004090f0
test eax, eax
je 0x434f4e
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push 1
mov dword [esp + 0x1c], 0x5c
call fcn.00417ee0
mov esi, dword [esp + 0x2740]
test esi, esi
jne 0x434f75
xor eax, eax
jmp 0x434f78
push esi
call ebp
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00417ee0
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x434fdd
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4f40f0]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434fd6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434fd6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004d7f79
add esp, 4
xor eax, eax
jmp 0x435071
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x435036
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x435028
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x435002
jmp 0x435036
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4f40f0]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43506c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43506c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004d7f79
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x272c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2728
ret
Function at 0x435210
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.004d7fa0
push esi
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x4018]
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4352d9
cmp eax, 0x3fff
ja 0x4352d9
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4352d9
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x4f580c
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4352d9
mov eax, dword [esp + 8]
xor edx, edx
mov esi, dword [esp + 0x4020]
mov edi, dword [esp + 0x401c]
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
push str._d._d._d._d
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x400c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x400c
ret

Function at 0x4352f0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x435316
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x435318
mov eax, esi
pop esi
ret

Function at 0x435d50
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [0x5e4170], eax
je 0x435e36
push 0x5e4158
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 4]
mov dword [esp + 4], esi
push eax
push esi
push esi
push 0x436690
push esi
push esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
je 0x435d9c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [0x5e4128]
mov al, 1
test al, cl
jne 0x435dd5
mov dl, cl
push 0x435e50
or dl, al
mov dword [0x5e4118], 0x4e0338
mov byte [0x5e4128], dl
mov dword [0x5e4120], esi
mov dword [0x5e4124], esi
call fcn.004d8002
add esp, 4
mov ecx, 0x5e4118
mov dword [0x5e4120], 0x4f702c
call fcn.00437390
mov cl, byte [0x5e4128]
mov al, 2
test al, cl
jne 0x435e22
mov dl, cl
push 0x435e40
or dl, al
mov dword [0x5e4108], 0x4e0338
mov byte [0x5e4128], dl
mov dword [0x5e4110], esi
mov dword [0x5e4114], esi
call fcn.004d8002
add esp, 4
mov ecx, 0x5e4108
mov dword [0x5e4110], 0x5022f4
call fcn.00437390
pop esi
pop ecx
ret
Function at 0x436740
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0418
push 0x4d8014
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x5031ac]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x4367fb
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4e5ea8
push eax
call dword [ecx]
test eax, eax
jne 0x4367fb
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x4367fb
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push esi
push 0x5117f0
mov edx, dword [ebp + 8]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x4367bf
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push esi
mov edx, dword [ebp + 0x10]
push edx
push 0xc8
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x4367e7
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4367fb
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x439f8e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4db6eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov cl, byte [esp + 0x30]
xor ebx, ebx
push 0x1c
mov dword [esp + 0x18], esi
mov byte [esi + 0x14], al
mov byte [esi + 0x15], cl
mov byte [esi + 0x1c], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x18], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x5e41cc], ebx
jne 0x439fe2
mov dword [0x5e41cc], edi
mov dword [edi], ebx
mov edx, dword [0x5e41cc]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x5e41c8]
inc ecx
mov dword [0x5e41c8], ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x43a006
push ebp
call fcn.004d7f79
add esp, 4
mov edi, dword [0x5e41cc]
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax + 4], edi
mov dword [eax + 0x18], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x18]
add esp, 4
mov dword [eax + 8], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
push edi
mov dword [esi], 0x4e0538
call fcn.00488270
mov ecx, eax
call fcn.00488620
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x43ae20
Capabilities:
Get keyboard layout

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp esi, 7
je 0x43ae3f
cmp esi, 0x51
jne 0x43ae51
mov eax, dword [esp + 0x18]
mov dword [0x610764], eax
jmp 0x43ae51
mov ecx, dword [0x511840]
push 0
push 0
push ecx
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x511840], esi
jne 0x43ae7c
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [0x610764]
cmp ecx, eax
je 0x43ae7c
push 0
push ecx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
pop edi
pop esi
ret
Function at 0x43b1b0
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
push 0
push str.user.dat
mov ecx, 0x511800
stosw word es:[edi], ax
call fcn.0040af10
mov esi, eax
push str.user.dat
lea eax, [esp + 0xc]
push 0x103
push eax
call fcn.00434b50
push 0
push esi
call fcn.00434a60
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x14
test eax, eax
jne 0x43b212
lea ecx, [esp + 8]
push esi
push ecx
call edi
push str.history.dat
lea edx, [esp + 0xc]
push 0x103
push edx
call fcn.00434b50
add esp, 0xc
mov ecx, 0x511800
push 0
push str.history.dat
call fcn.0040af10
mov esi, eax
push 0
push esi
call fcn.00434a60
add esp, 8
test eax, eax
jne 0x43b253
lea eax, [esp + 8]
push esi
push eax
call edi
pop edi
pop esi
add esp, 0x208
ret

Function at 0x441270
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0
push str.twcache.ini
mov ecx, 0x511800
lea esi, [edi + 0x30]
call fcn.0040af10
push eax
push 0x4f5254
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0
push esi
call fcn.00434a60
add esp, 0x18
test eax, eax
jne 0x4412c3
lea ebx, [edi + 0x2c]
push 2
push esi
push ebx
call fcn.0047ffe0
push 0
push ebx
call fcn.004801e0
add esp, 0x14
jmp 0x4412ca
mov dword [edi + 8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push esi
call ebx
push 1
add edi, 0x2c
push esi
push edi
call fcn.0047ffe0
add esp, 0xc
push 2
push esi
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x441a80
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea eax, [esi + 0x2c]
push eax
call fcn.004801e0
add esp, 8
lea edi, [esi + 0x30]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
pop edi
test eax, eax
pop esi
je 0x441ac5
push 1
push str.HasLastPage
push str.Main
call fcn.0040ccb0
add esp, 0xc
ret

Function at 0x443900
Capabilities:
Parse url

Disassembly:
mov eax, 0x1494
call fcn.004d7fa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14a4]
test esi, esi
push edi
je 0x443a69
cmp word [esi], 0
je 0x443a69
mov eax, dword [esp + 0x14ac]
test eax, eax
je 0x443a69
mov dx, word [0x5117f0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x256]
mov word [esp + 0x254], dx
mov word [esp + 0x4c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4e]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x254]
push edx
mov dword [esp + 0x18], eax
mov eax, 0x104
lea ecx, [esp + 0x50]
push 0
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
call ebx
mov ebp, dword [sym.imp.WININET.dll_InternetCrackUrlW]
add esp, 4
push eax
push esi
call ebp
test eax, eax
jne 0x443a18
mov ecx, 0x411
lea edi, [esp + 0x45e]
mov word [esp + 0x45c], ax
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.http:___s_
lea eax, [esp + 0x464]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x45c]
push ecx
push 0
push edx
call ebx
add esp, 4
push eax
lea eax, [esp + 0x468]
push eax
call ebp
test eax, eax
je 0x443a69
mov edx, dword [esp + 0x14b0]
mov esi, dword [esp + 0x14ac]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx]
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x254]
push ecx
push eax
push str._s:___s_favicon.ico
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1494
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1494
ret

Function at 0x443f00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push esi
push edi
push SysReAllocString
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x443f51
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
cmp ecx, edx
je 0x443f67
lea edx, [esp + 0x20]
push 4
push edx
push 4
push esi
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
add esp, 0xc
ret