joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af8f4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4af90b
add esp, 0xfffffff0
call fcn.00405450
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044752c
mov eax, dword [0x4cdf00]
cmp byte [eax], 0
jne 0x4af938
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ce130]
cmp word [eax + 2], 0
jne 0x4af952
mov eax, dword [0x4ce130]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b19bc
mov eax, dword [0x4ce208]
cmp word [eax + 2], 0
jne 0x4af96c
mov eax, dword [0x4ce208]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b1bc0
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44e3a8]
call fcn.0045363c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b2138
mov dl, 1
mov eax, dword [0x42ecf4]
call fcn.00404f08
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42ecf4]
call fcn.00404f08
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x451ca0]
call fcn.0045a484
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4afb4c
mov eax, dword [0x4ce034]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045a918
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b2420
mov dl, 1
mov eax, dword [0x42ecf4]
call fcn.00404f08
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4ce034]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041bd04
test eax, eax
je 0x4afa7d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041bab8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041bce8
test eax, eax
je 0x4afa95
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407320
push ebx
push 0x4b13a8
call fcn.004a5704
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4cdf00]
cmp byte [eax], 0
jne 0x4afae6
mov eax, ebx
call fcn.004afcc0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b264c
mov eax, ebx
call fcn.004b327c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4afb43
call fcn.004054a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aff8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b002e
cmp dword [ebx + 0x94], 0
jne 0x4b0028
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4afed8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b0028
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4affee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b0028
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0043a094
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4afffd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b024c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4d424c]
cmp dword [eax + 0x170], 0
je 0x4b03b1
test bl, bl
jne 0x4b02ff
cmp dword [esi + 0x9c], 0
jne 0x4b02f4
mov eax, esi
call fcn.004b30cc
push eax
push 0x4b0158
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b02c5
mov eax, dword [0x4d424c]
cmp byte [eax + 0xd3], 0
je 0x4b02c5
mov eax, dword [esi + 0xd8]
call fcn.00408228
mov edi, eax
cmp edi, 0
jl 0x4b02c5
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b02ae
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b02f4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a094
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b02d4
inc dword [esi + 0x9c]
jmp 0x4b03b1
cmp dword [esi + 0x9c], 0
jle 0x4b03b1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b03b1
cmp dword [esi + 0x44], 0
je 0x4b035c
mov eax, dword [0x4d424c]
cmp byte [eax + 0xd3], 0
je 0x4b035c
mov eax, dword [esi + 0xd8]
call fcn.00408228
mov edi, eax
cmp edi, 0
jl 0x4b035c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b0345
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b038b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a094
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b036b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a35dc]
call fcn.004083e8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b0ff4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b105f
cmp byte [ebx + 0xd3], 0
jne 0x4b105f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406aa8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b104c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b106c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d00
jmp 0x4b106c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d00
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b2834
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b28a2
mov eax, esi
call fcn.00476424
test al, al
je 0x4b28a2
mov eax, dword [ebx + 0x84]
call fcn.00476078
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b28a2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b2896
push 0
mov eax, dword [ebx + 0x84]
call fcn.00476078
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046cff4
jmp 0x4b28a2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b266c
pop esi
pop ebx
ret
Function at 0x405759
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x405779
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size15164kdownloadRoothttps:__ringcentral.zoom.us_clientactionjoinbrowsermsieconfiddGlkPXZIVC16QmQ0UWoyeGZrUl9UYXAxS2c_3Dconfno1483623997zc0mcv0.92.11227.0929stafalseinstaller.exeInstaller.exe
call esi
push 0x444
call fcn.00407fd2
pop ecx
cmp eax, edi
je 0x4057a5
mov edx, dword [esp + 0xc]
push eax
call fcn.0040588d
jmp 0x4057a7
xor eax, eax
push str.RingCentral_Downloader_Mutex_1.0.0.0_by_Zoom
push edi
push 0x1f0001
mov dword [0x41ddd8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4057ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4057d3
call fcn.00406b5e
test eax, eax
jne 0x4057f3
push edi
push str.RingCentral_Boot_Downloader_by_Zoom
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405842
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405842
mov ecx, dword [esp + 0x14]
call fcn.00405d3c
mov eax, dword [0x41dddc]
cmp eax, edi
je 0x405812
push eax
call fcn.0040714a
pop ecx
mov dword [0x41dddc], edi
mov eax, dword [0x41dde8]
mov dword [0x41dde4], edi
cmp eax, edi
je 0x405826
call fcn.004024bf
mov eax, dword [0x41ddd8]
cmp eax, edi
je 0x405835
push eax
call fcn.00405849
push str.WinMain_end
mov dword [0x41ddd8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x572c80
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4027d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x412998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x908
push ebx
push ebp
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x92c]
lea ecx, [esp + 0x118]
push eax
xor ebx, ebx
push 0x800
push ecx
mov dword [esp + 0x92c], ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
xor eax, eax
mov cl, byte [esp + eax + 0x118]
test cl, cl
jne 0x40285d
mov cl, byte [esp + eax + 0x119]
test cl, cl
je 0x402865
inc eax
cmp eax, 0x800
jl 0x402847
mov esi, dword [esp + 0x928]
lea edi, [eax + 1]
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CStringArray::SetSize
test edi, edi
jle 0x4028b9
mov al, byte [esp + ebx + 0x118]
mov byte [esp + ebp + 0x14], al
inc ebp
test al, al
jne 0x4028b4
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
inc ebx
cmp ebx, edi
jl 0x402881
mov esi, dword [esi + 8]
lea ecx, [esp + 0x92c]
mov dword [esp + 0x920], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x918]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x914
ret 8
Function at 0x402900
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4129d9
push eax
mov eax, 0x1888
mov dword fs:[0], esp
call fcn.004123d0
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18a0], ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0x5db
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x128], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esp + 0x18b0]
lea ecx, [esp + 0x128]
stosb byte es:[edi], al
mov eax, dword [esp + 0x18b4]
mov byte [esp + 0x18a0], 1
push eax
push 0x1770
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
xor eax, eax
mov cl, byte [esp + eax + 0x128]
test cl, cl
jne 0x4029a6
mov cl, byte [esp + eax + 0x129]
test cl, cl
je 0x4029ae
inc eax
cmp eax, 0x1770
jl 0x402990
mov esi, dword [esp + 0x18a8]
lea edi, [eax + 1]
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CStringArray::SetSize
mov ebp, dword [esp + 0x18ac]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CStringArray::SetSize
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], ecx
jle 0x402ab0
mov al, byte [esp + ecx + 0x128]
mov byte [esp + ebx + 0x24], al
inc ebx
test al, al
jne 0x402aa3
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
push 0x418398
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x18a8], 2
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x18a0], 1
call sub.MFC42.DLL_CString::CString
push 0x418398
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
inc eax
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x18a8], 3
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x18a0], 1
call sub.MFC42.DLL_CString::CString
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x24]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
inc ecx
cmp ecx, edi
mov dword [esp + 0x14], ecx
jl 0x4029e5
mov esi, dword [esi + 8]
lea ecx, [esp + 0x10]
mov byte [esp + 0x18a0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18b4]
mov dword [esp + 0x18a0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1898]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1894
ret 0x10
Function at 0x402be0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x412a11
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
push 0x418440
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
xor edi, edi
add esp, 8
cmp ebp, edi
jne 0x402c5c
mov esi, dword [esp + 0xb0]
cmp esi, edi
je 0x402c55
lea ecx, [esp + 0x10]
push ecx
call fcn.00404010
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0xa4], edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x402dc4
mov eax, dword [esp + 0xb4]
cmp eax, edi
je 0x402c6f
mov edx, dword [eax]
mov dword [esp + 0x10], edx
jmp 0x402c73
mov dword [esp + 0x10], edi
xor eax, eax
mov esi, dword [esp + 0xac]
mov dword [esp + 0x21], eax
mov ecx, esi
mov dword [esp + 0x25], eax
mov byte [esp + 0x20], 0
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov word [esp + 0x31], ax
mov byte [esp + 0x33], al
call sub.MFC42.DLL_CString::Empty
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push edi
push ebp
call ebx
push ebp
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebp
mov edi, eax
call ebx
add esp, 0x1c
mov ebx, 1
test edi, edi
je 0x402d79
push edi
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
push ebp
push ebx
push edi
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov ecx, esi
push edi
call sub.MFC42.DLL_CString::ReleaseBuffer
push ecx
mov ecx, dword [esi]
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], ecx
lea ecx, [esp + 0x18]
push ecx
call fcn.00403930
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa0], ebx
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402d29
push 5
push str.UTF_8
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne 0x402d65
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call fcn.00402de0
lea edx, [esp + 0x20]
push edx
call fcn.004036b0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0xa4], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x3c]
push str._s_d_bytes
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0xc0]
add esp, 0x10
test ecx, ecx
je 0x402da7
lea edx, [esp + 0x34]
push edx
call sub.MFC42.DLL_CString::operator
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0xb8]
add esp, 4
test eax, eax
je 0x402dc2
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov al, bl
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret
Function at 0x402e10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x412a57
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
push 0x418444
push eax
mov bl, 1
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
xor edi, edi
add esp, 8
cmp ebp, edi
jne 0x402e8e
mov esi, dword [esp + 0xb0]
cmp esi, edi
je 0x402e87
lea ecx, [esp + 0x14]
push ecx
call fcn.00404010
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0xa4], edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x403032
mov eax, dword [esp + 0xb4]
cmp eax, edi
je 0x402ea1
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x402ea5
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xac]
xor eax, eax
mov dword [esp + 0x21], eax
mov byte [esp + 0x20], 0
mov ecx, dword [edi]
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov word [esp + 0x31], ax
mov byte [esp + 0x33], al
mov esi, dword [ecx - 8]
test esi, esi
je 0x402fa9
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
push ecx
mov ecx, dword [edi]
mov eax, esp
lea edx, [esp + 0x20]
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0xa8], 1
mov dword [eax], ecx
call fcn.00403930
add esp, 8
mov eax, dword [esp + 0x1c]
mov bl, 2
mov byte [esp + 0xa0], bl
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402f2f
push 5
push str.UTF_8
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne 0x402f69
mov edi, dword [edi]
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], edi
lea eax, [esp + 0x14]
push eax
call fcn.004037e0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
push ebp
push 1
mov esi, dword [eax - 8]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp eax, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 1
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
push esi
push ecx
lea edx, [esp + 0x3c]
push str._s_d_bytes
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, dword [esp + 0xc0]
add esp, 0x10
test esi, esi
je 0x402fd9
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator
test bl, bl
jne 0x403015
test esi, esi
je 0x403015
lea ecx, [esp + 0x10]
push ecx
call fcn.00404010
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0xa4], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0xb8]
add esp, 4
test eax, eax
je 0x403030
mov edx, dword [esp + 0x14]
mov dword [eax], edx
mov al, bl
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret
Function at 0x403b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x412bb9
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
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_4
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
mov byte [esp + 0x18], 3
call fcn.00402b30
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x405f40
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x412e7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 0xb
call fcn.0041228c
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 0xc
call fcn.0041228c
lea ecx, [esi + 0x70]
mov byte [esp + 0x10], 0xd
call fcn.0041228c
lea ecx, [esi + 0x84]
mov byte [esp + 0x10], 0xe
call fcn.0041228c
lea ecx, [esi + 0x98]
mov byte [esp + 0x10], 0xf
call fcn.0041228c
lea ecx, [esi + 0xac]
mov byte [esp + 0x10], 0x10
call fcn.0041228c
lea ecx, [esi + 0xc0]
mov byte [esp + 0x10], 0x11
call fcn.0041228c
lea ecx, [esi + 0xd4]
mov byte [esp + 0x10], 0x12
call fcn.0041228c
lea ecx, [esi + 0xe8]
mov byte [esp + 0x10], 0x13
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xec]
mov byte [esp + 0x10], 0x14
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xf0]
mov byte [esp + 0x10], 0x15
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xf4]
mov byte [esp + 0x10], 0x16
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xf8]
mov byte [esp + 0x10], 0x17
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xfc]
mov byte [esp + 0x10], 0x18
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x100]
mov byte [esp + 0x10], 0x19
call fcn.0041228c
lea ecx, [esi + 0x114]
mov byte [esp + 0x10], 0x1a
call sub.MFC42.DLL_CString::CString_4
mov ecx, esi
mov byte [esp + 0x10], 0x1b
mov dword [esi], 0x4152bc
call fcn.00406310
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret