joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423180
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
cmp dword [0x46a4b8], 0
jne 0x423192
xor eax, eax
add esp, 0x10
ret
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
push 0x1354
push 0
push ebp
call fcn.004421e0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push 0x454d60
push ebp
call esi
mov edi, dword [esp + 0x24]
lea eax, [ebp + 0x44]
push edi
push eax
mov dword [ebp + 0x40], 0x78
call esi
push 0
push 0x80
push 3
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4231ef
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 0x148], eax
lea eax, [ebp + 0x14c]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
lea ebx, [ebp + 0x1214]
mov eax, dword [0x46a4b8]
xor edi, edi
mov dword [ebp + 0x154], eax
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 0x13c]
lea esi, [ecx + 0x128]
mov dword [ebp + 0x15c], eax
mov eax, dword [ecx + 0x140]
mov dword [ebp + 0x158], eax
mov eax, dword [ecx + 0x138]
mov dword [ebp + 0x170], eax
lea eax, [ebp + 0x1264]
mov dword [esp + 0x14], eax
lea eax, [ebp + 0x174]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
test eax, eax
je 0x42333e
mov eax, dword [eax + 0x994]
mov dword [ebx - 0x10b4], eax
test byte [ebp + 0x154], 1
je 0x4232a0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov dword [ebx], eax
test byte [ebp + 0x154], 2
je 0x4232bd
mov ecx, dword [esi]
lea eax, [ebx + 0x20]
push 0
push eax
lea eax, [ebx + 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa0]
test byte [ebp + 0x154], 4
je 0x4232e5
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x180]
mov edi, dword [esp + 0x10]
mov ecx, 0x10a
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test byte [ebp + 0x154], 0x10
je 0x423319
mov ecx, dword [esp + 0x24]
call fcn.00403da0
mov ecx, dword [esp + 0x24]
neg eax
sbb eax, eax
neg eax
mov dword [ebx + 0x30], eax
call fcn.00403af0
push dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x40], eax
call fcn.00403ac0
add dword [esp + 0x10], 0x428
inc edi
add dword [esp + 0x14], 0x3c
add esi, 4
add ebx, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
cmp edi, 4
jl 0x423275
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10
ret
Function at 0x423460
Capabilities:
Get file size

Disassembly:
sub esp, 0x20
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x46326c], 0
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
je 0x4234d1
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x320
lea eax, [esp + 0x10]
jge 0x42349f
push 0x12c
push 0x1f4
jmp 0x4234a9
push 0x1f4
push 0x2bc
push 0xa
push 0xa
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [esp + 0x10]
push eax
push str.SoftwareMiyoungsoftDangeun1.2Position
push ebx
call fcn.0043f120
add esp, 0xc
mov dword [0x46326c], 0
cmp dword [esp + 0x2c], 0
je 0x4235f3
cmp dword [0x464f0c], 0
je 0x4235b9
mov eax, dword [0x470268]
test eax, eax
je 0x4235b9
push ebp
xor ebp, ebp
push esi
push edi
cmp dword [eax], ebp
je 0x4235a3
xor edi, edi
push 0
push dword [edi + eax]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push 0x80
push 3
push 0
push 0
push 0
add eax, 0x148
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42358e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [0x470268]
cmp dword [edi + eax + 4], esi
lea ecx, [edi + eax]
jne 0x423573
lea eax, [esp + 0x14]
push eax
lea eax, [ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x423587
mov eax, dword [0x470268]
cmp dword [0x464f10], 0
je 0x4235c9
push dword [edi + eax]
call fcn.00429750
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x470268]
inc ebp
mov edi, ebp
shl edi, 4
cmp dword [edi + eax], 0
jne 0x423505
push eax
call fcn.00444198
add esp, 4
mov dword [0x470268], 0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x20
ret
push 0
push 1
push 2
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x20
ret
call fcn.00429b00
mov ecx, dword [esp + 0x20]
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x20
ret
Function at 0x426ed0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push ebp
push esi
mov esi, dword [esp + 0x30]
cmp esi, 1
jle 0x426f1f
push ecx
push 0x433a10
push dword [esp + 0x34]
push 0xe6
push dword [0x464d08]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ebp, eax
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x464d0c]
call ebx
mov ecx, dword [esp + 0x34]
jmp 0x426f23
mov ebp, dword [esp + 0x30]
push edi
xor edi, edi
test esi, esi
jle 0x426fa3
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push ecx
call fcn.004328e0
add esp, 4
cmp esi, 1
jle 0x426f94
push edi
push esi
push 0x401
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
je 0x426f89
nop
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x426f60
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426f9d
mov ecx, dword [esp + 0x38]
inc edi
cmp edi, esi
jl 0x426f30
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
pop edi
cmp esi, 1
jle 0x426fc5
push 1
push dword [0x464d0c]
call ebx
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426fc5
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x427120
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x114
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
push 0
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebp, eax
push esi
push ebp
call fcn.00429e50
add esp, 8
mov ecx, ebp
call fcn.00403e00
push 4
push str.http
push esi
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x42719a
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004307a0
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x42723d
xor eax, eax
jmp 0x4272b0
push 3
push 0x45428c
push esi
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x4271bb
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0042fef0
jmp 0x427185
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x427193
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x1e00000
jbe 0x427219
push 4
push 0x4535a8
push 0x454764
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x427219
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4272b0
push edi
call fcn.0044419d
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [esp + 0x14]
mov ecx, ebp
call fcn.00405ac0
push dword [esp + 0x10]
call fcn.00444198
add esp, 4
mov ecx, ebp
push 0
call fcn.004056f0
push esi
lea eax, [ebp + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0043ec80
add esp, 8
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x46a4bc], 0
je 0x42729c
push esi
push ebp
call fcn.004228f0
add esp, 8
push 0
push 0xffff
call fcn.0043e220
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x114
ret
Function at 0x429070
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x320
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x31c], eax
push 0x104
lea eax, [esp + 0x21c]
push eax
push 0x45279c
push 0x454258
push 0x453fb0
push 0x80000001
call fcn.0043fbc0
add esp, 0x18
lea eax, [esp + 0x10]
push 0x104
push eax
push dword [0x464d08]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42918b
push ebx
push esi
push edi
lea eax, [esp + 0x1c]
push eax
push 0x454258
push 0x453fb0
push 0x80000001
call fcn.0043fcb0
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push 0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor esi, esi
nop
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x134]
push eax
push esi
push dword [esp + 0x28]
call ebx
mov edi, eax
test edi, edi
jne 0x429179
push 8
lea eax, [esp + 0x124]
push str.Dangeun.
push eax
call fcn.00444120
add esp, 0xc
test eax, eax
jne 0x429179
push eax
lea eax, [esp + 0x12b]
push eax
call fcn.00422d70
add esp, 8
inc esi
test edi, edi
je 0x429120
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x320
ret
Function at 0x4291a0
Capabilities:
Extract resource via kernel32 functions
Get common file path
Move file
Write file on windows

Disassembly:
sub esp, 0x5a0
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x59c], eax
push 0x104
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x454954
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x5a4], 0
lea eax, [esp + 0x98]
push 0
push eax
je 0x429370
call fcn.00444a96
add esp, 8
test eax, eax
je 0x42928d
push ebx
push esi
push edi
push 0x454960
push 0x99
push dword [0x464d08]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push dword [0x464d08]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x464d08]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push 0x80
push 2
push 0
push 0
mov edi, eax
lea eax, [esp + 0xb8]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
cmp dword [esp + 0x14], 2
jne 0x429332
push 0x400
lea eax, [esp + 0x1a0]
push eax
push 0x45279c
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push CreateStatusWindowA
call fcn.0043fbc0
lea eax, [esp + 0x1b4]
push str.DgCmd.dll
push eax
call fcn.00441af0
add esp, 0x20
test eax, eax
je 0x4292ec
movq xmm0, qword [str.zzzzz.zzz]
movq qword [eax], xmm0
mov cl, byte [0x4549c8]
mov byte [eax + 8], cl
lea eax, [esp + 0x19c]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push CreateStatusWindowA
call fcn.0043fcb0
add esp, 0x10
lea eax, [esp + 0x98]
push 1
push eax
call fcn.0043f980
add esp, 8
mov ecx, dword [esp + 0x59c]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x5a0
ret
push str.Wininit.ini
push 0
push 0x4549d8
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [esp + 0x98]
push 1
push eax
call fcn.0043f980
add esp, 8
mov ecx, dword [esp + 0x59c]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x5a0
ret
call fcn.0043f980
add esp, 8
cmp dword [esp + 0x5a8], 0
je 0x4293c6
cmp dword [esp + 0x14], 2
lea eax, [esp + 0x98]
jne 0x4293b0
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x59c]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x5a0
ret
push str.Wininit.ini
push eax
push 0x4549d8
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x59c]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x5a0
ret
Function at 0x4293e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x28]
push eax
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00422190
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x18
cmp dword [0x464ee0], 0
push 0
je 0x42944b
push 0
push 0x421
push dword [0x464e44]
call edi
push 5
push dword [0x464e44]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
cmp dword [0x464ee4], 0
push 0
je 0x429481
push 0
push 5
push dword [0x464e48]
call edi
push 5
push dword [0x464e48]
call esi
call fcn.0043e100
jmp 0x429489
push dword [0x464e48]
call esi
cmp dword [0x464ef0], 0
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
je 0x4294b5
push 1
push ebp
push dword [esp + 0x38]
push dword [esp + 0x1c]
push 0
push dword [0x464e50]
call ebx
push 5
jmp 0x4294b7
push 0
push dword [0x464e50]
call esi
cmp dword [0x464e88], 0
mov edi, dword [esp + 0x18]
je 0x4294ec
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x1c]
push 1
push edi
push dword [esp + 0x38]
sub eax, edi
push eax
push 0
push dword [0x464d34]
call ebx
push 5
jmp 0x4294ee
push 0
push dword [0x464d34]
call esi
cmp dword [0x464ee8], 0
mov ecx, dword [esp + 0x20]
je 0x429545
neg edi
push 1
sbb eax, eax
mov edi, dword [esp + 0x38]
and eax, 3
sub edi, eax
mov eax, ecx
neg eax
sbb eax, eax
and eax, 3
sub edi, eax
mov eax, dword [esp + 0x14]
sub edi, eax
add eax, ebp
sub edi, dword [esp + 0x20]
sub edi, ebp
sub edi, dword [esp + 0x1c]
sub edi, ecx
push edi
push dword [esp + 0x1c]
push eax
push 0
push dword [0x464e4c]
call ebx
push 5
jmp 0x429548
xor edi, edi
push edi
push dword [0x464e4c]
call esi
cmp dword [0x46a4fc], 0
je 0x42957d
mov eax, dword [esp + 0x10]
push 1
push dword [esp + 0x24]
add eax, 3
push dword [esp + 0x1c]
add eax, edi
add eax, ebp
push eax
push 0
push dword [0x464e8c]
call ebx
push 5
jmp 0x42957f
push 0
push dword [0x464e8c]
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
neg edx
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
sbb edx, edx
and edx, 3
neg eax
push 1
sbb eax, eax
and eax, 3
sub ecx, eax
mov eax, dword [esp + 0x34]
sub ecx, esi
sub eax, edx
sub ecx, dword [esp + 0x20]
sub ecx, ebp
sub ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push eax
lea eax, [esi + ebp]
push eax
lea eax, [edx + ecx]
push eax
push dword [0x464d10]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [0x464d10]
call ebx
mov esi, eax
test esi, esi
je 0x429617
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x429617
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
nop word [eax + eax]
push 0x501
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x429600
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x2c
ret
Function at 0x429750
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x1c
push ebx
push edi
push 0
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
lea edi, [ebx + 0x148]
push edi
push dword [esp + 0x2c]
call fcn.00427120
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x42978a
push 1
mov ecx, ebx
call fcn.00405750
push edi
mov dword [esp + 0xc], 2
mov dword [esp + 0x20], 0
call fcn.0043e080
add esp, 4
lea ecx, [esp + 8]
push ecx
push eax
push 0x1306
push dword [0x464e54]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebx
add esp, 0x1c
ret

Function at 0x4299c0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1464
call fcn.004403b0
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x1460], eax
push esi
mov esi, dword [esp + 0x146c]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x1474]
push eax
push edi
push esi
call fcn.00423180
add esp, 0xc
test eax, eax
je 0x429ae0
lea eax, [esp + 0x1364]
push eax
push edi
call fcn.00422340
add esp, 8
test eax, eax
je 0x429ae0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x137c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x429ae0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0xc]
push 0
push eax
push 0x1354
lea eax, [esp + 0x20]
push eax
push edi
call ebx
test byte [esp + 0x168], 8
je 0x429ad8
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esi + 0x124]
push eax
push edi
call ebx
mov esi, dword [esi + 0x11c]
push 0
lea eax, [esp + 0x10]
push eax
push 0x14
push esi
push edi
call ebx
cmp byte [esi], 0
jne 0x429a9d
mov dword [esp + 0x10], 0
jmp 0x429aac
push dword [esi + 0xc]
call fcn.004441a8
add esp, 4
mov dword [esp + 0x10], eax
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push edi
call ebx
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push dword [esi + 0xc]
push edi
call ebx
cmp byte [esi], 0
je 0x429ad8
add esi, 0x14
jmp 0x429a81
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [esp + 0x1468]
pop edi
pop esi
xor ecx, esp
call fcn.0043fe9e
add esp, 0x1464
ret
Function at 0x429b00
Capabilities:
Get file size

Disassembly:
push ecx
push ebp
xor ebp, ebp
cmp dword [0x464f0c], ebp
je 0x429c46
mov eax, dword [0x464d18]
test eax, eax
je 0x429c46
mov ecx, dword [0x470268]
test ecx, ecx
je 0x429b35
push ecx
call fcn.00444198
mov eax, dword [0x464d18]
add esp, 4
inc eax
shl eax, 4
push edi
push eax
call fcn.0044419d
add esp, 4
mov dword [0x470268], eax
push 5
push dword [0x464d10]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x429c37
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x10], ebx
nop dword [eax + eax]
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 8
push 0x454168
lea esi, [eax + 0x148]
push esi
call fcn.00444120
add esp, 0xc
test eax, eax
je 0x429c22
push 4
push str.http
push esi
call fcn.004446e0
add esp, 0xc
test eax, eax
je 0x429c22
push 3
push 0x45428c
push esi
call fcn.004446e0
add esp, 0xc
test eax, eax
je 0x429c22
mov eax, dword [0x470268]
push 0
push 0x80
push 3
push 0
push 0
push 0
push esi
mov dword [ebx + eax], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x429c1e
mov esi, dword [esp + 0x10]
add esi, dword [0x470268]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 4], eax
lea eax, [esi + 8]
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
inc ebp
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x429c22
mov ebx, dword [esp + 0x10]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x429b70
pop esi
pop ebx
mov eax, dword [0x470268]
add ebp, ebp
pop edi
mov dword [eax + ebp*8], 0
pop ebp
pop ecx
ret
Function at 0x429c50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x228
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov esi, dword [esp + 0x238]
push edi
mov edi, dword [esp + 0x238]
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 4
push str.http
push esi
mov ebx, eax
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x429cc0
push eax
push 0x45353c
push 0x4547f0
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x228
ret
push ebp
push esi
call fcn.00422ef0
add esp, 4
mov ecx, ebx
call fcn.00403cf0
mov edi, eax
push edi
mov dword [esp + 0x14], edi
call fcn.0044419d
add esp, 4
mov ebp, eax
mov ecx, ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ebp
call fcn.00403bd0
push 3
push 0x45428c
push esi
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x429d1c
push ebp
push esi
call fcn.00430450
mov edi, eax
add esp, 8
test edi, edi
je 0x429e25
jmp 0x429dc5
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x429da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x429d76
cmp eax, 0x13
je 0x429d61
cmp eax, 0x20
je 0x429d59
push eax
push 0x454900
jmp 0x429d7c
push esi
push 0x4548b8
jmp 0x429d7c
lea eax, [esp + 0x34]
push 0x4548e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x429d8a
push esi
push 0x454868
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x45353c
lea eax, [esp + 0x3c]
push eax
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor edi, edi
jmp 0x429e25
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
lea eax, [ebx + 0x148]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
mov ecx, ebx
call fcn.004056f0
cmp dword [0x46a3ac], 0
je 0x429def
push esi
push ebx
call fcn.004299c0
add esp, 8
lea eax, [ebx + 0x148]
mov dword [esp + 0x18], 2
push eax
mov dword [esp + 0x30], 0
call fcn.0043e080
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x1306
push dword [0x464e54]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call fcn.00444198
mov ecx, dword [esp + 0x238]
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x228
ret