joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d9e0
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4d2990], 0
je 0x42d9ef
mov eax, 1
ret
push str.TTPSET.DLL
call fcn.0042e180
add esp, 4
test eax, eax
mov dword [0x4d2990], eax
jne 0x42da06
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push 1
push eax
xor edi, edi
call esi
test eax, eax
mov dword [0x4e25d0], eax
jne 0x42da21
lea edi, [eax + 1]
mov eax, dword [0x4d2990]
push 2
push eax
call esi
test eax, eax
mov dword [0x4e25dc], eax
jne 0x42da37
lea edi, [eax + 1]
mov ecx, dword [0x4d2990]
push 3
push ecx
call esi
test eax, eax
mov dword [0x4e25d8], eax
jne 0x42da4e
lea edi, [eax + 1]
mov edx, dword [0x4d2990]
push 4
push edx
call esi
test eax, eax
mov dword [0x4e25cc], eax
jne 0x42da65
lea edi, [eax + 1]
mov eax, dword [0x4d2990]
push 5
push eax
call esi
test eax, eax
mov dword [0x4e25c0], eax
jne 0x42da7b
lea edi, [eax + 1]
mov ecx, dword [0x4d2990]
push 6
push ecx
call esi
test eax, eax
mov dword [0x4e25d4], eax
jne 0x42da92
lea edi, [eax + 1]
mov edx, dword [0x4d2990]
push 7
push edx
call esi
test eax, eax
mov dword [0x4e25c8], eax
jne 0x42daa9
lea edi, [eax + 1]
mov eax, dword [0x4d2990]
push 8
push eax
call esi
test eax, eax
mov dword [0x4e25c4], eax
je 0x42dac0
test edi, edi
je 0x42dadc
mov ecx, dword [0x4d2990]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [0x4d2990], 0
xor eax, eax
pop esi
ret
push 0x4c1bd8
call fcn.0042d7b0
pop edi
mov eax, 1
pop esi
ret

Function at 0x42e2f0
Capabilities:
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x42e394
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x42e365
cmp word [ecx + 0xa], 4
jne 0x42e365
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x42e365
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push ebp
call fcn.0042e280
test eax, eax
mov dword [esi], eax
je 0x42e388
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x42e340
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call fcn.0046fb1a
add esp, 0x10
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0x18
pop edi
pop ebp
pop ebx
mov eax, 8
pop esi
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x42e3a4.11001
jmp dword [eax*4 + 0x42e3c8]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18
Function at 0x42ee40
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x108
mov eax, dword [0x4cbbe8]
xor eax, esp
mov dword [esp + 0x104], eax
cmp dword [0x4d29ac], 0
jne 0x42f077
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
push str.wsock32.dll
lea ecx, [esp + 8]
push 0x104
push ecx
call fcn.004723db
add esp, 0x10
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4d29ac], eax
je 0x42f060
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push 3
push eax
xor edi, edi
call esi
test eax, eax
mov dword [0x4d788c], eax
jne 0x42eebc
lea edi, [eax + 1]
mov eax, dword [0x4d29ac]
push 4
push eax
call esi
test eax, eax
mov dword [0x4d786c], eax
jne 0x42eed2
lea edi, [eax + 1]
mov ecx, dword [0x4d29ac]
push 8
push ecx
call esi
test eax, eax
mov dword [0x4d7878], eax
jne 0x42eee9
lea edi, [eax + 1]
mov edx, dword [0x4d29ac]
push 9
push edx
call esi
test eax, eax
mov dword [0x4d7864], eax
jne 0x42ef00
lea edi, [eax + 1]
mov eax, dword [0x4d29ac]
push 0xa
push eax
call esi
test eax, eax
mov dword [0x4d787c], eax
jne 0x42ef16
lea edi, [eax + 1]
mov ecx, dword [0x4d29ac]
push 0xc
push ecx
call esi
test eax, eax
mov dword [0x4d785c], eax
jne 0x42ef2d
lea edi, [eax + 1]
mov edx, dword [0x4d29ac]
push 0x10
push edx
call esi
test eax, eax
mov dword [0x4d7880], eax
jne 0x42ef44
lea edi, [eax + 1]
mov eax, dword [0x4d29ac]
push 0x12
push eax
call esi
test eax, eax
mov dword [0x4d7860], eax
jne 0x42ef5a
lea edi, [eax + 1]
mov ecx, dword [0x4d29ac]
push 0x13
push ecx
call esi
test eax, eax
mov dword [0x4d7890], eax
jne 0x42ef71
lea edi, [eax + 1]
mov edx, dword [0x4d29ac]
push 0x15
push edx
call esi
test eax, eax
mov dword [0x4d7888], eax
jne 0x42ef88
lea edi, [eax + 1]
mov eax, dword [0x4d29ac]
push 0x17
push eax
call esi
test eax, eax
mov dword [0x4d78a0], eax
jne 0x42ef9e
lea edi, [eax + 1]
mov ecx, dword [0x4d29ac]
push 0x65
push ecx
call esi
test eax, eax
mov dword [0x4d7898], eax
jne 0x42efb5
lea edi, [eax + 1]
mov edx, dword [0x4d29ac]
push 0x67
push edx
call esi
cmp dword [0x4d7898], 0
mov dword [0x4d7858], eax
jne 0x42efd3
mov edi, 1
mov eax, dword [0x4d29ac]
push 0x6c
push eax
call esi
test eax, eax
mov dword [0x4d7870], eax
jne 0x42efe9
lea edi, [eax + 1]
mov ecx, dword [0x4d29ac]
push 0x6f
push ecx
call esi
test eax, eax
mov dword [0x4d789c], eax
jne 0x42f000
lea edi, [eax + 1]
mov edx, dword [0x4d29ac]
push 0x73
push edx
call esi
test eax, eax
mov dword [0x4d7894], eax
jne 0x42f017
lea edi, [eax + 1]
mov eax, dword [0x4d29ac]
push 0x74
push eax
call esi
test eax, eax
mov dword [0x4d7884], eax
jne 0x42f02f
mov edi, 1
test edi, edi
pop edi
mov dword [0x4d7868], 0x42edb0
mov dword [0x4d7874], 0x43eac0
pop esi
je 0x42f077
mov ecx, dword [0x4d29ac]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4d29ac], 0
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046fa34
add esp, 0x108
ret
call fcn.0042edd0
mov ecx, dword [esp + 0x104]
xor eax, eax
cmp dword [0x4d29ac], eax
setne al
xor ecx, esp
call fcn.0046fa34
add esp, 0x108
ret
Function at 0x42f330
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x8d0]
sub esp, 0x950
mov eax, dword [0x4cbbe8]
xor eax, ebp
mov dword [ebp + 0x8cc], eax
mov eax, dword [ebp + 0x8d8]
mov ecx, dword [ebp + 0x8dc]
push ebx
push esi
push edi
push 0x400
lea edx, [ebp + 0xcc]
push edx
push eax
mov dword [ebp - 0x7c], ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp + 0x4cc]
push ecx
push 0x104
lea edx, [ebp + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x42f498
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 0x4cc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
xor edi, edi
cmp esi, 0xffffffff
je 0x42f498
cmp dword [ebp - 0x80], edi
je 0x42f498
lea esp, [esp]
test byte [ebp - 0x74], 0x10
jne 0x42f3c9
add edi, 1
lea edx, [ebp - 0x74]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42f3c0
test edi, edi
je 0x42f498
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call ebx
call fcn.004774bf
cdq
idiv edi
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 0x4cc]
push ecx
mov edi, edx
add edi, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42f498
mov dword [ebp - 0x78], 0
test byte [ebp - 0x74], 0x10
jne 0x42f423
add dword [ebp - 0x78], 1
cmp dword [ebp - 0x78], edi
jge 0x42f437
lea edx, [ebp - 0x74]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42f419
push esi
call ebx
mov edi, dword [ebp + 0x8e0]
mov eax, dword [ebp - 0x7c]
push edi
push 0
push eax
call fcn.0046faa0
mov esi, dword [ebp - 0x80]
lea ecx, [ebp + 0x4cc]
sub esi, ecx
lea ebx, [esi + 1]
add esp, 0xc
mov eax, ebx
call fcn.00471180
mov eax, esp
push esi
lea edx, [ebp + 0x4cc]
push edx
push ebx
push eax
mov dword [ebp - 0x78], eax
call fcn.0046fb1a
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x7c]
push 0xffffffffffffffff
push eax
push edi
push esi
call fcn.0046fb1a
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
push edi
push esi
call fcn.004723db
add esp, 0x30
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8cc]
xor ecx, ebp
call fcn.0046fa34
add ebp, 0x8d0
mov esp, ebp
pop ebp
ret
Function at 0x42f5b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42f5df
xor eax, eax
pop edi
add esp, 0x14
ret
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
movzx eax, word [esi + 0xe]
mov ebx, dword [esi]
add eax, 0xffffffff
cmp eax, 7
ja case.0x42f5f4.2
jmp dword [eax*4 + 0x42f690]
mov ecx, dword [esi + 0x20]
neg ecx
sbb ecx, ecx
and ecx, 8
add ebx, ecx
jmp case.0x42f5f4.2
add ebx, 0x10
jmp case.0x42f5f4.2
add ebx, 0x40
jmp case.0x42f5f4.2
add ebx, 0x400
mov edx, dword [esi + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea eax, [ebx + 0xe]
push 0
add edx, eax
mov dword [esp + 0x22], eax
lea eax, [esp + 0x14]
push eax
push 0xe
lea ecx, [esp + 0x20]
push ecx
push edi
mov word [esp + 0x28], 0x4d42
mov dword [esp + 0x2a], edx
call ebp
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push edi
call ebp
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x14]
push eax
push ecx
push edx
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x14
ret

Function at 0x42f830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4cbbe8]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x114]
push 0xffffffffffffffff
push 0x4a5588
push 0x104
push esi
mov dword [esi + 0x104], 2
call fcn.0046fb1a
add esp, 0x10
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.Control_PanelDesktop
push reloc.ttpcmn.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f971
mov edx, dword [esp + 8]
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push eax
push str.Wallpaper
push edx
mov dword [esp + 0x24], 0x104
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push str.WallpaperStyle
push edx
mov dword [esp + 0x24], 0x100
call edi
lea eax, [esp + 0x14]
push eax
call fcn.0046fa69
add esp, 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
mov ebx, eax
mov eax, dword [esp + 0x20]
push str.TileWallpaper
push eax
mov dword [esp + 0x24], 0x100
call edi
lea ecx, [esp + 0x14]
push ecx
call fcn.0046fa69
add esp, 4
test eax, eax
je 0x42f923
mov dword [esi + 0x104], 1
jmp case.0x42f92f.1
cmp ebx, 0xa
ja case.0x42f92f.1
movzx edx, byte [ebx + 0x42f99c]
jmp dword [edx*4 + 0x42f988]
mov dword [esi + 0x104], 2
jmp case.0x42f92f.1
mov dword [esi + 0x104], 0
jmp case.0x42f92f.1
mov dword [esi + 0x104], 6
jmp case.0x42f92f.1
mov dword [esi + 0x104], 5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.0046fa34
add esp, 0x10c
ret
Function at 0x42f9b0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push 0
push 0
push 3
push 0
push 0
push closesocket
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42f9f0
xor eax, eax
pop ebx
add esp, 0x14
ret
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push edx
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0x4b228c
push 0
push esi
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop esi
je 0x42f9e9
mov edx, dword [esp + 8]
mov ecx, dword [edx]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp word [esp + 4], 1
jne 0x42fa93
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [esp + 0x10]
pop ebx
add esp, 0x14
ret
Function at 0x430330
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
push edi
mov edi, dword [esp + 0x38]
push eax
push edi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x430442
mov edx, dword [esi + 4]
push ebx
push ebp
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov ebp, dword [esi + 8]
mov ebx, dword [esp + 0x20]
sub ebx, dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x14]
mov dword [esp + 0x44], edx
sub eax, edx
mov edx, dword [ebp + 8]
sub edx, 0
je 0x4303de
sub edx, 1
je 0x43044f
sub edx, 1
jne 0x430429
sub eax, dword [ebp + 0x1c]
push 0
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x48]
push eax
mov eax, ecx
sub eax, dword [ebp + 0x18]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x48]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
mov edx, dword [edx]
push 0xcc0020
push eax
push ecx
push edx
push ebx
push edi
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 0x10
mov ecx, dword [ebp]
push 0
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x18]
mov eax, ebx
cdq
idiv ecx
sub ebx, edx
sub ebx, ecx
cmp ebx, dword [esp + 0x1c]
jge 0x430429
mov ecx, dword [esp + 0x20]
lea esp, [esp]
mov eax, dword [esi + 8]
mov ebp, dword [eax + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, edi
cdq
idiv ebp
sub edi, edx
sub edi, ebp
cmp edi, ecx
jge 0x4304c8
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push edi
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 8]
add edi, dword [edx + 0x1c]
mov ecx, dword [esp + 0x20]
cmp edi, ecx
jl 0x430497
mov eax, dword [esi + 8]
add ebx, dword [eax + 0x18]
cmp ebx, dword [esp + 0x1c]
jl 0x430480
jmp 0x430429
Function at 0x430820
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x4cbbe8]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x218]
push esi
mov esi, dword [esp + 0x218]
mov ecx, eax
push edi
mov edi, dword [esp + 0x224]
shr ecx, 0x10
movzx edx, cl
push edx
movzx ecx, ah
push ecx
movzx edx, al
push edx
push str._d__d__d
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0x100
push eax
call fcn.0046f96e
add esp, 0x1c
push edi
push 0xff
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push 0x4a8d78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x120]
push str._d____d____d
push eax
call fcn.00475d6f
movzx ecx, byte [esp + 0x1c]
xor eax, eax
mov ah, byte [esp + 0x20]
add esp, 0x14
pop edi
pop esi
mov al, byte [esp + 8]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0046fa34
add esp, 0x210
ret

Function at 0x430900
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x84
mov eax, dword [0x4cbbe8]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa8]
cdq
idiv edi
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0x98]
mov ebp, dword [esp + 0xa0]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov eax, dword [ebx + edx*4]
push eax
push 0x40
push ecx
call fcn.0046fb1a
add esp, 0x10
push ebp
push 0x40
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push 0x4a8d78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor esi, esi
test edi, edi
jle 0x43098e
mov ecx, dword [ebx + esi*4]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00472e7e
add esp, 8
test eax, eax
je 0x4309a9
add esi, 1
cmp esi, edi
jl 0x430972
xor eax, eax
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046fa34
add esp, 0x84
ret
mov eax, esi
jmp 0x430990
Function at 0x431050
Capabilities:
Delete file

Disassembly:
cmp dword [0x4d76cc], 0
je 0x4310b5
push esi
push 0x4d723c
call fcn.0042f260
push 0x4d76c4
call fcn.0042f260
push 0x4d7840
call fcn.0042f260
push 0x4d7240
call fcn.0042f260
push 0x4d7000
call fcn.0042f260
push 0x4d7480
call fcn.0042f260
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
push 0x4d7364
call esi
push 0x4d7124
call esi
push 0x4d75a4
call esi
pop esi
ret
Function at 0x4332a0
Capabilities:
Delete file

Disassembly:
cmp dword [0x4d3608], 0
je 0x4332ae
call fcn.00431ad0
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
xor eax, eax
mov esi, 0x4d6fc0
push edi
mov edi, edi
lea edi, [eax + 1]
cmp edi, 7
jg 0x4332e6
lea eax, [esi + 4]
jmp 0x4332d0
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x4332dc
mov dword [eax], 0
add eax, 4
cmp eax, 0x4d6fdc
jle 0x4332d0
mov eax, dword [esi]
test eax, eax
je 0x4332ef
push eax
call ebx
add esi, 4
cmp esi, 0x4d6fdc
mov eax, edi
jle 0x4332c0
mov eax, dword [0x4d2e20]
test eax, eax
pop edi
je 0x433313
push eax
call ebx
mov dword [0x4d2e20], 0
pop esi
pop ebx
jmp fcn.00431050

Function at 0x44085f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x440875
mov edi, dword [esi + 0xc]
jmp 0x4408b5
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44088e
call fcn.0044e822
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4408a3
call fcn.0044e822
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4408b5
call fcn.0044e822
call fcn.0044e0ef
cmp dword [eax + 0x3c], 0
je 0x4408ca
push edi
mov ecx, ebx
call fcn.0043f438
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00440779
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4408e8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4408f4
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4478ce
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x447907
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00447876
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00446148
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x449870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4498b3
call fcn.0044e0ef
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4498b3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4498ce
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00449427
test ebx, ebx
mov esi, eax
je 0x4498cc
test edi, edi
je 0x4498cc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44a39e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x44a3be
cmp dword [edi + 0x54], 0
jne 0x44a3be
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044e0ef
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044a365
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x44b5a5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a0306
call fcn.00477bbc
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44b5ca
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x44b616
call fcn.0044bb5e
push eax
lea ecx, [ebp - 0x10]
call fcn.004064d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004413d2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401320
mov eax, esi
call fcn.00477c94
ret 8