joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42db00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x514
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
push edi
jne 0x42db42
push 0x530474
lea eax, [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x1c], 0x533294
mov dword [esp + 0x20], 0x97d
call fcn.0041ce50
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx]
xor esi, esi
test al, al
je 0x42dc68
mov edi, edi
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov al, byte [esi + ebx]
cmp al, 0x5c
je 0x42db90
mov edi, edi
cmp al, 0x2f
je 0x42db90
test al, al
je 0x42db90
push eax
call dword [sym.imp.kernel32.dll_IsDBCSLeadByte]
test eax, eax
je 0x42db88
add esi, 2
jmp 0x42db89
inc esi
mov al, byte [esi + ebx]
cmp al, 0x5c
jne 0x42db70
push esi
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.0051cf90
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42dc51
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x42dc55
call dword [sym.imp.kernel32.dll_GetLastError]
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x128]
push 0x53368c
push edx
call dword [sym.imp.user32.dll_wsprintfA]
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x24]
push 1
mov esi, 0x533294
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x9b3
call fcn.0041ce50
mov edx, dword [0x554480]
add esp, 0x1c
push 0x10
push edx
lea eax, [esp + 0x128]
push eax
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0x530474
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x9b6
call fcn.0041ce50
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 0x10
je 0x42dc71
cmp byte [esi + ebx], 0
je 0x42dc68
mov al, byte [esi + ebx + 1]
inc esi
test al, al
jne 0x42db50
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x124]
push 0x5335e8
push eax
call dword [sym.imp.user32.dll_wsprintfA]
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x20]
push 1
mov esi, 0x533294
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x9c7
call fcn.0041ce50
mov eax, dword [0x554480]
add esp, 0x18
push 0x10
push eax
lea ecx, [esp + 0x128]
push ecx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0x530474
lea edx, [esp + 0x14]
push 0
push edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x9ca
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dd00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x50c
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesA]
push 0x5681b8
call esi
cmp eax, 0xffffffff
je 0x42decf
test al, 0x10
je 0x42decf
xor eax, eax
jmp 0x42dd30
mov cl, byte [eax + 0x567ea0]
mov byte [esp + eax + 0xc], cl
inc eax
test cl, cl
jne 0x42dd30
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dd46
sub eax, edx
mov byte [esp + eax + 0xb], cl
lea eax, [esp + 0xc]
push eax
call esi
cmp eax, 0xffffffff
je 0x42de06
test al, 0x10
je 0x42dd95
push 0x533858
lea ecx, [esp + 8]
push 1
push ecx
mov dword [esp + 0x10], 0x533294
mov dword [esp + 0x14], 0xa12
call fcn.0041ce50
add esp, 0xc
mov al, 1
pop esi
add esp, 0x50c
ret
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x114]
push 0x5337a8
push eax
call dword [sym.imp.user32.dll_wsprintfA]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x14]
push 1
mov esi, 0x533294
push edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xa22
call fcn.0041ce50
mov eax, dword [0x554480]
add esp, 0x18
push 0x10
push eax
lea ecx, [esp + 0x118]
push ecx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0x530474
push 0
lea edx, [esp + 0xc]
mov dword [esp + 0x10], 0xa25
push edx
jmp 0x42df3c
push 0x53378c
lea eax, [esp + 8]
push 1
mov esi, 0x533294
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0xa2a
call fcn.0041ce50
lea ecx, [esp + 0x18]
push ecx
call fcn.0042db00
add esp, 0x10
test al, al
jne 0x42dea5
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x114]
push 0x53375c
push eax
call dword [sym.imp.user32.dll_wsprintfA]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x14]
push 1
push edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xa38
call fcn.0041ce50
mov eax, dword [0x554480]
add esp, 0x18
push 0x10
push eax
lea ecx, [esp + 0x118]
push ecx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0x530474
push 0
lea edx, [esp + 0xc]
mov dword [esp + 0x10], 0xa3b
push edx
jmp 0x42df3c
push 0x533740
lea eax, [esp + 8]
push 1
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0xa3f
call fcn.0041ce50
add esp, 0xc
mov al, 1
pop esi
add esp, 0x50c
ret
push 0x5681b8
lea ecx, [esp + 0x114]
push 0x5336c0
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x14]
push 1
mov esi, 0x533294
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x9fd
call fcn.0041ce50
mov ecx, dword [0x554480]
add esp, 0x18
push 0x10
push ecx
lea edx, [esp + 0x118]
push edx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0x530474
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0xa00
push eax
mov dword [esp + 0x10], esi
call fcn.0041ce50
add esp, 0xc
xor al, al
pop esi
add esp, 0x50c
ret
Function at 0x42f0a0
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x38
mov eax, dword [0x5683fc]
push 0x65
push eax
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x14], 0xb
mov dword [esp + 0x18], 0x42e810
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
call dword [sym.imp.user32.dll_LoadIconA]
mov ecx, 0x5ae1e8
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], eax
call fcn.00446560
movzx eax, al
mov ecx, dword [eax*4 + 0x5683d0]
push 4
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdi32.dll_GetStockObject]
mov edx, dword [0x554480]
mov dword [esp + 0x28], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edx
call dword [sym.imp.user32.dll_RegisterClassExA]
test ax, ax
jne 0x42f155
push 0x530474
lea ecx, [esp + 4]
push 0
push ecx
mov dword [esp + 0xc], 0x533294
mov dword [esp + 0x10], 0x92a
call fcn.0041ce50
add esp, 0xc
xor eax, eax
add esp, 0x38
ret
mov eax, 1
add esp, 0x38
ret
Function at 0x4333d0
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52bb0b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x10
test eax, eax
push ebx
push ebp
push esi
mov esi, ecx
je 0x4334e7
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x4334e7
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x4334e7
call fcn.00433020
push 0x80
call fcn.0050c8b3
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x43343c
mov ecx, eax
call fcn.0041f280
jmp 0x43343e
xor eax, eax
test eax, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esi + 0x14], eax
jne 0x433466
mov dword [esp + 0xc], 0x534790
mov dword [esp + 0x10], 0x5e
lea eax, [esp + 0xc]
jmp 0x4334fb
push edi
push 0x5348c4
mov ecx, eax
call fcn.0041f360
lea edi, [esi + 0x18]
push 0x5348b8
mov ecx, edi
call fcn.0041f360
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x44]
or ecx, 1
push 1
push eax
mov dword [eax + 0x44], ecx
call dword [eax + 0x50]
mov ecx, dword [esi + 0x14]
add esp, 8
mov dword [ecx + 0x10], 0
mov ecx, dword [esi + 0x14]
push 0x4337f0
call fcn.0041f0f0
push 0x4337f0
mov ecx, edi
call fcn.0041f0f0
mov edx, dword [esp + 0x30]
pop edi
mov dword [esi + 0xb4], ebp
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb0], edx
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov dword [esp + 0x14], 0x534790
mov dword [esp + 0x18], 0x52
lea eax, [esp + 0x14]
push 0x530474
push 0
push eax
call fcn.0041ce50
mov ecx, dword [esp + 0x28]
add esp, 0xc
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x433e90
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x404
push 0
push 0x400
lea eax, [esp + 8]
push eax
push 0
push ecx
push 0
push 0x1200
call dword [sym.imp.kernel32.dll_FormatMessageA]
lea edx, [esp]
push edx
mov byte [esp + eax + 4], 0xa
mov byte [esp + eax + 5], 0
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
add esp, 0x404
ret

Function at 0x434090
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0x5c3a41
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x120]
mov edi, dword [sym.imp.kernel32.dll_GetVolumeInformationA]
mov ebp, dword [sym.imp.kernel32.dll_lstrcmp]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
test ecx, eax
je 0x434117
mov dl, bl
lea eax, [esp + 0x10]
add dl, 0x41
push eax
mov byte [esp + 0x14], dl
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x434117
push 0
push 0
push 0
push 0
push 0
push 0x100
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x38], 0
call edi
push esi
lea eax, [esp + 0x1c]
push eax
call ebp
test eax, eax
je 0x43412a
inc ebx
cmp ebx, 0x1a
jb 0x4340c1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov eax, 1
pop ebx
add esp, 0x108
ret
Function at 0x434ac0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x400
push ebp
push esi
mov esi, edx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x434ad2
sub esi, ecx
xor eax, eax
xor ecx, ecx
test esi, esi
jle 0x434af5
movsx di, byte [ecx + edx]
add edi, ecx
xor edi, eax
add edi, esi
inc ecx
cmp ecx, esi
mov eax, edi
jl 0x434ae3
mov ecx, dword [esp + 0x414]
mov ebp, eax
and ebp, 0xff
add ebp, 0x40
test ecx, ecx
je 0x434b81
xor ecx, ecx
test esi, esi
jle 0x434b1d
movsx di, byte [ecx + edx]
add eax, edi
inc ecx
cmp ecx, esi
jl 0x434b11
push ebx
mov bl, al
and bl, 0xf
mov ecx, 4
lea edi, [ebp - 1]
cmp edi, ecx
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], ah
mov byte [esp + 0x12], 0x46
mov byte [esp + 0x13], 0x88
jbe 0x434b60
xor edx, edx
mov eax, ecx
div esi
mov eax, dword [esp + 0x414]
mov dl, byte [edx + eax]
xor dl, bl
add dl, cl
add bl, dl
mov byte [esp + ecx + 0x10], bl
inc ecx
cmp ecx, edi
jb 0x434b41
mov edi, dword [esp + 0x418]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
mov byte [esp + ebp + 0xf], 0
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0x400
ret
Function at 0x437510
Capabilities:
Get file version info

Disassembly:
sub esp, 0x68
push edi
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x437547
push 0x530474
lea eax, [esp + 0x10]
push edi
push eax
mov dword [esp + 0x18], 0x534bac
mov dword [esp + 0x1c], 0x12a
call fcn.0041ce50
add esp, 0xc
or eax, 0xffffffff
pop edi
add esp, 0x68
ret
push ebx
push ebp
push esi
lea ecx, [esp + 0x7c]
push ecx
push edi
mov dword [esp + 0x84], 0
or ebp, 0xffffffff
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4376d0
lea edx, [esi + 1]
push edx
call fcn.0050c8ae
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4376d0
push ebx
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4376c7
mov ecx, 6
mov esi, 0x534b90
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
mov byte [esp + 0x79], al
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4376c7
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push 0x534b84
push eax
call fcn.0051de68
push 0x534b78
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x5c]
push 0x534b60
push edx
call fcn.0051de68
add esp, 0x20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call sub.version.dll_VerQueryValueA
mov edx, dword [esp + 0x18]
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push 4
push edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], eax
call fcn.00431f40
add esp, 0xc
test al, al
jne 0x437691
push 0x530474
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0x155
push eax
mov dword [esp + 0x2c], 0x534bac
call fcn.0041ce50
push ebx
call fcn.0051b80d
add esp, 0x10
pop esi
pop ebp
pop ebx
or eax, 0xffffffff
pop edi
add esp, 0x68
ret
xor eax, eax
mov ecx, 0xff
cmp dword [esp + eax*4 + 0x34], ecx
ja 0x4376da
inc eax
cmp eax, 4
jl 0x437698
movzx eax, byte [esp + 0x38]
movzx ecx, byte [esp + 0x3c]
xor edx, edx
mov dh, byte [esp + 0x34]
or edx, eax
movzx eax, byte [esp + 0x40]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov ebp, edx
push ebx
call fcn.0051b80d
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x68
ret
push 0x530474
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x160
push ecx
jmp 0x437670

Function at 0x4376f0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push 1
push 0
push 0
push eax
push 0x534be0
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x43773b
push eax
push 0x534bc4
lea ecx, [esp + 8]
push 0
push ecx
mov dword [esp + 0x10], 0x534bac
mov dword [esp + 0x14], 0x18a
call fcn.0041ce50
add esp, 0x10
xor al, al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x4411b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x11c
push 0x567ea0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4411d0
mov ecx, dword [esp + 0x120]
push ebx
sub eax, edx
mov edx, dword [0x5544dc]
push ecx
push edx
lea eax, [esp + eax + 0x24]
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.kernel32.dll_GetLocalTime]
push 0x5aad90
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
push eax
push ecx
push 0x5aaf54
push 0x5aaf24
push 0x5aaf14
lea edx, [esp + 0x30]
push 0x5aad88
push edx
call fcn.0043d390
mov bl, al
add esp, 0x1c
test bl, bl
jne 0x441278
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x530474
lea ecx, [esp + 8]
push 0
push ecx
mov dword [esp + 0x10], 0x53556c
mov dword [esp + 0x14], 0xc7
call fcn.0041ce50
add esp, 0xc
mov al, bl
pop ebx
add esp, 0x11c
ret

Function at 0x441460
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push eax
lea ecx, [esp + 4]
push ecx
call fcn.004413f0
add esp, 8
lea edx, [esp]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
add esp, 0x104
ret

Function at 0x441490
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
lea eax, [esp + 4]
push esi
push eax
call fcn.004413f0
add esp, 8
mov ecx, 0x5ae1e8
call fcn.00475380
dec esi
cmp esi, eax
pop esi
jne 0x4414c8
push 0xffffffffffffffff
mov ecx, 0x5ae1e8
call fcn.00446a40
lea ecx, [esp]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
add esp, 0x104
ret
Function at 0x4491c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, dword [sym.imp.user32.dll_GetParent]
push edi
mov edi, ecx
mov eax, dword [edi]
push eax
call esi
test eax, eax
push 1
jne 0x4491e6
mov ecx, dword [edi]
push ecx
call fcn.004371b0
add esp, 8
jmp 0x4491f5
mov eax, dword [edi]
push eax
push eax
call esi
push eax
call fcn.00437220
add esp, 0xc
push 0x2bc
push 0x535820
lea esi, [edi + 0x64]
push 0x10
mov ecx, esi
call fcn.0041f070
test eax, eax
je 0x44922b
mov esi, dword [esi]
mov edx, dword [edi]
push 1
push esi
push 0x30
push 0x478
push edx
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [edi]
push 0x8000
push 0xab
push 0x477
push 0x476
lea ebp, [edi + 4]
push eax
mov ecx, ebp
call fcn.0041b820
test al, al
jne 0x44925d
mov dword [esp + 0x10], 0x228
jmp 0x44935b
mov esi, dword [edi + 0x3c]
cmp dword [esi], 0xffffffff
je 0x4492e4
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], edx
mov eax, dword [esi]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4492b3
sub eax, edx
mov edx, dword [edi + 0x60]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x30], edx
call fcn.0041c320
test al, al
je 0x449353
mov ecx, dword [edi + 0x40]
mov eax, dword [esi + ecx]
add esi, ecx
cmp eax, 0xffffffff
jne 0x449265
test byte [edi + 0x34], 1
je 0x449313
mov edx, dword [edi]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
push 0
push 1
push edx
call esi
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [edi]
push 0x535e28
push 2
push eax
call esi
push eax
call dword [sym.imp.user32.dll_SetWindowTextA]
mov ecx, dword [edi + 0x60]
mov edx, dword [edi]
push ecx
push 0
push edx
call dword [edi + 0x44]
add esp, 0xc
test al, al
jne 0x449380
push 0x530474
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x18], 0x535e00
mov dword [esp + 0x1c], 0x255
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x28
ret
mov dword [esp + 0x10], 0x23e
push 0x530474
lea ecx, [esp + 0x10]
push 0
push ecx
mov dword [esp + 0x18], 0x535e00
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x28
ret
mov ecx, dword [edi + 0x38]
push ecx
mov ecx, ebp
call fcn.0041b550
test al, al
jne 0x4493bc
push 0x530474
lea edx, [esp + 0x10]
push 0
push edx
mov dword [esp + 0x18], 0x535e00
mov dword [esp + 0x1c], 0x25d
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x28
ret
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x28
ret
Function at 0x44a6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52bf91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov dword [esp + 8], esi
call fcn.00448710
push fcn.00417a00
push 0x4179d0
push 0x10
push 0x1c
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
mov dword [esp + 0x28], ebx
call fcn.0051c8c8
lea ecx, [esi + 0x230]
mov byte [esp + 0x14], 1
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x200], ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x208], ebx
call fcn.0043aaa0
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi], ebx
mov byte [esi + 0x2f8], bl
mov dword [esi + 0x20c], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44f486
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c04a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x14], edi
mov dword [esi], 0x538d08
call fcn.004123b0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 1
call fcn.00417230
lea ecx, [esi + 0xb0]
mov byte [esp + 0x14], 2
call fcn.0049ed60
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 3
call fcn.004a1160
lea ecx, [esi + 0xd0]
mov byte [esp + 0x14], 4
call fcn.0049f980
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45c9d0
Capabilities:
Get file size

Disassembly:
mov al, byte [0x5ae998]
sub esp, 0x10c
test al, al
je 0x45c9e8
mov al, 1
add esp, 0x10c
ret
push esi
call fcn.0046feb0
mov eax, dword [0x554bd4]
mov ecx, dword [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x535818
push edx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45ca68
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 8], 0x539f1c
mov dword [esp + 0xc], 0x72
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea edx, [esp + 0xc]
push 3
push edx
call fcn.00437750
add esp, 0x10
xor al, al
pop esi
add esp, 0x10c
ret
push ebx
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
push eax
push esi
mov ecx, 0x5ae9a0
call fcn.0045fb10
push esi
mov bl, al
call dword [sym.imp.kernel32.dll_CloseHandle]
test bl, bl
pop ebx
jne 0x45cabc
push 0x530c80
push 0
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x14], 0x539f1c
mov dword [esp + 0x18], 0x80
call fcn.00437750
add esp, 0x10
xor al, al
pop esi
add esp, 0x10c
ret
push 0x5ae308
mov ecx, 0x5ae9a0
call fcn.0045d040
test al, al
jne 0x45cafd
push 0x530474
lea ecx, [esp + 8]
push 0
push ecx
mov dword [esp + 0x10], 0x539f1c
mov dword [esp + 0x14], 0x89
call fcn.0041ce50
add esp, 0xc
xor al, al
pop esi
add esp, 0x10c
ret
mov byte [0x5ae998], 1
mov al, 1
pop esi
add esp, 0x10c
ret