joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bae0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [0x71b8d8]
mov ecx, 0x8000
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [0x71b910]
mov ecx, 0x1000
xor ebx, ebx
rep stosd dword es:[edi], eax
push ebx
call fcn.0042a7e0
mov eax, dword [0x71b910]
push 7
push eax
push 0x402000
push 0x400000
call fcn.00444b60
mov ecx, dword [0x71b918]
mov edi, dword [0x71b8c0]
mov dword [0x67381c], ebx
add esp, 0x14
lea esi, [ecx + 0x80]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov dword [0x673818], ebx
mov byte [0x673830], bl
mov word [0x673838], bx
mov word [0x673822], 4
mov byte [0x673831], bl
mov byte [0x673832], bl
call fcn.00444c80
call fcn.0041f160
cmp dword [0x680b34], ebx
jne 0x42bcd6
mov edx, dword [0x68c568]
cmp dword [edx + 0xa8], 0x39
je 0x42bca1
cmp dword [0x71b894], ebx
je 0x42bb9e
call fcn.00453000
push 0x536d9c
push 0x537a4c
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42bc5f
mov eax, dword [0x71b8c8]
push esi
push 1
push 0x20000
push eax
call dword [sym.imp.msvcrt.dll_fread]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
mov eax, dword [0x680b84]
add esp, 0x14
cmp eax, ebx
je 0x42bc3a
mov esi, dword [0x71b8c8]
xor ecx, ecx
xor eax, eax
cmp eax, 0x80
je 0x42bc01
cmp eax, 0x81
je 0x42bc01
xor edx, edx
mov dl, byte [esi + eax]
add ecx, edx
inc eax
cmp eax, 0x20000
jb 0x42bbec
xor eax, eax
and ecx, 0xff
mov al, byte [esi + 0x80]
cmp ecx, eax
jne 0x42bc27
xor edx, edx
mov dl, byte [esi + 0x81]
cmp ecx, edx
je 0x42bc3a
push ecx
push ecx
push 0x537a40
push 1
push 0x78
call fcn.0043faf0
add esp, 0x14
call fcn.00452fa0
mov dword [0x71b894], 1
mov dword [0x680aa0], ebx
call fcn.0043fac0
call fcn.004205e0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [0x680a14]
mov ecx, dword [0x71b8c8]
neg eax
sbb eax, eax
mov dword [0x71b894], ebx
and al, 0x56
add eax, 0xff
mov word [ecx + 0x185b4], ax
mov edx, dword [0x680a14]
mov eax, dword [0x71b8c8]
neg edx
sbb edx, edx
and dl, 0x56
add edx, 0xff
mov word [eax + 0x185b8], dx
cmp dword [0x71b894], ebx
jne 0x42bce4
mov ecx, dword [0x680a14]
mov eax, dword [0x680a10]
mov edx, dword [0x71b8c8]
shl ecx, 0xf
add ecx, eax
mov word [edx + 0x400], cx
call fcn.0043fac0
call fcn.004205e0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [0x71b8c8]
mov word [eax + 0x400], 0x8002
call fcn.0043fac0
call fcn.004205e0
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x42c490
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x68c568]
push esi
mov esi, dword [esp + 8]
push edi
mov ecx, dword [eax + 0xa8]
mov edi, dword [sym.imp.msvcrt.dll_fread]
cmp ecx, 0x39
jne 0x42c4ee
push esi
push 1
push 1
push 0x67383a
call edi
push esi
push 1
push 1
push 0x537a5d
call edi
push esi
push 1
push 1
push 0x537a5e
call edi
push esi
push 1
push 2
push 0x67383c
call edi
add esp, 0x40
push esi
push 1
push 2
push 0x67383e
call edi
add esp, 0x10
push esi
push 1
push 2
push 0x673826
call edi
push esi
push 1
push 4
push 0x673828
call edi
push esi
push 1
push 4
push 0x67382c
call edi
push esi
push 1
push 1
push 0x673830
call edi
add esp, 0x40
push esi
push 1
push 2
push 0x673838
call edi
push esi
push 1
push 2
push 0x673822
call edi
push esi
push 1
push 1
push 0x673832
call edi
push esi
push 1
push 1
push 0x673820
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x673834
call edi
push esi
push 1
push 4
push 0x67381c
call edi
mov ecx, dword [0x67381c]
push ecx
call fcn.0042a730
mov edx, dword [0x673820]
and edx, 0xff
push edx
call fcn.0042a7e0
push 1
call fcn.0042a790
add esp, 0x2c
mov dword [0x71b894], 0
pop edi
pop esi
ret

Function at 0x42c5b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x68c568]
push esi
mov esi, dword [esp + 8]
push edi
mov ecx, dword [eax + 0xa8]
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
cmp ecx, 0x39
jne 0x42c60e
push esi
push 1
push 1
push 0x67383a
call edi
push esi
push 1
push 1
push 0x537a5d
call edi
push esi
push 1
push 1
push 0x537a5e
call edi
push esi
push 1
push 2
push 0x67383c
call edi
add esp, 0x40
push esi
push 1
push 2
push 0x67383e
call edi
add esp, 0x10
push esi
push 1
push 2
push 0x673826
call edi
push esi
push 1
push 4
push 0x673828
call edi
push esi
push 1
push 4
push 0x67382c
call edi
push esi
push 1
push 1
push 0x673830
call edi
add esp, 0x40
push esi
push 1
push 2
push 0x673838
call edi
push esi
push 1
push 2
push 0x673822
call edi
push esi
push 1
push 1
push 0x673832
call edi
push esi
push 1
push 1
push 0x673820
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x673834
call edi
push esi
push 1
push 4
push 0x67381c
call edi
add esp, 0x20
pop edi
pop esi
ret
Function at 0x4370c0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x6815ac]
sub esp, 0x24
test eax, eax
push esi
push edi
je 0x437199
mov esi, dword [0x6815b4]
mov eax, dword [0x6815b8]
cmp esi, eax
mov dword [0x6815ac], 0
mov byte [0x68158c], 0
mov dword [esp + 8], esi
je 0x43716e
push ebx
push ebp
lea ebx, [esi + 0x88]
mov ebp, dword [ebx]
mov eax, dword [ebx + 4]
cmp ebp, eax
je 0x437144
lea esi, [ebp + 0x88]
mov ecx, dword [esi - 4]
mov eax, dword [esi]
push ecx
push eax
push eax
call fcn.00437fd0
add esp, 0xc
mov edi, eax
mov eax, dword [esi]
lea ecx, [esi - 8]
push eax
push edi
call fcn.004377f0
mov dword [esi], edi
mov eax, dword [ebx + 4]
add ebp, 0x90
add esi, 0x90
cmp ebp, eax
jne 0x43710d
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
lea ecx, [ebx - 4]
call fcn.00437a30
mov eax, dword [0x6815b8]
add esi, 0x94
add ebx, 0x94
cmp esi, eax
mov dword [esp + 0x10], esi
jne 0x4370fe
pop ebp
pop ebx
mov ecx, dword [0x6815b4]
push ecx
push eax
push eax
call fcn.00438000
mov edx, dword [0x6815b8]
add esp, 0xc
mov esi, eax
mov ecx, 0x6815b0
push edx
push esi
call fcn.00437af0
mov dword [0x6815b8], esi
mov eax, dword [0x68c568]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
mov ecx, dword [eax + 4]
push ecx
push 0x680420
push 0x502288
push 0x68158c
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push 0
push 0x53842c
push edx
call esi
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xc]
push 0x68158c
push 0xff
push 0x681388
push 0x65d8dc
push 0x538424
push eax
call edi
mov al, byte [0x681388]
test al, al
je 0x437233
push 0
mov esi, 1
call fcn.004372d0
add esp, 4
test al, al
je 0x4372b2
mov eax, esi
inc esi
push eax
call fcn.004372d0
add esp, 4
test al, al
jne 0x437213
pop edi
mov dword [0x6815ac], 1
pop esi
add esp, 0x24
ret
mov ecx, dword [0x68c568]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4372bc
push eax
push 0x680420
push 0x502288
push 0x68158c
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push 0
push 0x53842c
push edx
call esi
add esp, 0xc
lea eax, [esp + 0xc]
push 0x68158c
push 0xff
push 0x681388
push 0x65d8dc
push 0x538424
push eax
call edi
mov al, byte [0x681388]
test al, al
je 0x4372bc
push 0
mov esi, 1
call fcn.004372d0
add esp, 4
test al, al
je 0x4372b2
mov eax, esi
inc esi
push eax
call fcn.004372d0
add esp, 4
test al, al
jne 0x4372a2
mov dword [0x6815ac], 1
pop edi
pop esi
add esp, 0x24
ret
Function at 0x439ed0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test eax, eax
je 0x439ef4
push eax
mov eax, dword [esi]
push eax
push edi
push 0x5384dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439f0f
mov ecx, dword [esi]
push ecx
push edi
push 0x5384d4
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0x10
pop edi
pop esi
ret 0x10
Function at 0x43ca10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x43caf5
mov cx, word [0x68b8e8]
cmp cx, word [0x68ba98]
jne 0x43ca7d
mov dx, word [0x68b8ea]
cmp dx, word [0x68ba9a]
jne 0x43ca7d
mov cx, word [0x68b8ec]
cmp cx, word [0x68ba9c]
jne 0x43ca7d
mov dx, word [0x68b8ee]
cmp dx, word [0x68ba9e]
jne 0x43ca7d
push eax
push 1
lea eax, [esp + 0x10]
push 2
push eax
mov dword [esp + 0x18], 0xffff
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
jmp 0x43caf5
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push eax
push 1
push 2
push 0x68b8e8
call edi
mov ecx, dword [esi + 8]
push ecx
push 1
push 2
push 0x68b8ea
call edi
mov edx, dword [esi + 8]
push edx
push 1
push 2
push 0x68b8ec
call edi
mov eax, dword [esi + 8]
push eax
push 1
push 2
push 0x68b8ee
call edi
mov cx, word [0x68b8e8]
mov dx, word [0x68b8ea]
mov ax, word [0x68b8ec]
mov word [0x68ba98], cx
mov cx, word [0x68b8ee]
add esp, 0x40
mov word [0x68ba9a], dx
mov word [0x68ba9c], ax
mov word [0x68ba9e], cx
mov eax, dword [esi + 4]
test eax, eax
je 0x43cbd7
mov edi, dword [sym.imp.msvcrt.dll_fread]
push eax
push 1
lea edx, [esp + 0x10]
push 2
push edx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
test byte [eax + 0xc], 0x10
je 0x43cb62
test eax, eax
je 0x43cb33
push eax
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [0x68c568]
mov eax, dword [0x680ad8]
mov dword [0x680ad4], 0
push eax
mov edx, dword [ecx + 4]
push edx
push 0x538b24
push 0x1a
push 0x78
call fcn.0043faf0
add esp, 0x14
pop edi
pop esi
pop ecx
ret
mov ax, word [esp + 8]
cmp ax, 0xffff
je 0x43cba3
mov word [0x68ba98], ax
mov eax, dword [esi + 4]
push eax
push 1
push 2
push 0x68ba9a
call edi
mov ecx, dword [esi + 4]
push ecx
push 1
push 2
push 0x68ba9c
call edi
mov edx, dword [esi + 4]
push edx
push 1
push 2
push 0x68ba9e
call edi
add esp, 0x30
mov ax, word [0x68ba98]
mov cx, word [0x68ba9a]
mov dx, word [0x68ba9c]
mov word [0x68b8e8], ax
mov ax, word [0x68ba9e]
mov word [0x68b8ea], cx
mov word [0x68b8ec], dx
mov word [0x68b8ee], ax
pop edi
pop esi
pop ecx
ret
Function at 0x43de80
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
push 1
push 0x80
push 0x5fe0a8
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
ret

Function at 0x43dea0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x80
lea ecx, [esp]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
xor eax, eax
mov edx, dword [esp + eax + 0x20]
mov ecx, dword [esp + eax]
mov dword [eax + 0x5fe0c8], edx
mov dword [eax + 0x5fe0a8], ecx
add eax, 4
cmp eax, 0x20
jl 0x43dec2
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov dword [0x5fe0f8], edx
mov edx, dword [esp + 0x48]
mov dword [0x5fe108], eax
mov eax, dword [esp + 0x58]
mov dword [0x5fe0fc], ecx
mov ecx, dword [esp + 0x44]
mov dword [0x5fe0f0], edx
mov edx, dword [esp + 0x4c]
mov dword [0x5fe100], eax
mov eax, dword [esp + 0x40]
mov dword [0x5fe0ec], ecx
mov ecx, dword [esp + 0x70]
mov dword [0x5fe0f4], edx
mov edx, dword [esp + 0x68]
mov dword [0x5fe0e8], eax
mov eax, dword [esp + 0x6c]
mov dword [0x5fe118], ecx
mov ecx, dword [esp + 0x74]
mov dword [0x5fe110], edx
mov dword [0x5fe114], eax
mov dword [0x5fe11c], ecx
add esp, 0x80
ret

Function at 0x43df60
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xdc
lea ecx, [esp]
push esi
push eax
push 1
push 0xdc
push ecx
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
xor esi, esi
xor eax, eax
mov edx, dword [esp + eax + 0xac]
mov ecx, dword [esp + eax + 0x8c]
mov dword [eax + 0x5fe0c8], edx
mov dword [eax + 0x5fe0a8], ecx
add eax, 4
cmp eax, 0x20
jl 0x43df85
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov eax, edx
mov dword [0x5fe0f8], ecx
shr eax, 8
test al, 0x20
mov dword [0x5fe0ec], eax
mov dword [0x5fe0f0], edx
je 0x43dfe5
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov dword [0x5fe118], edx
jmp 0x43dff9
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov dword [0x5fe118], edx
mov dword [0x5fe0e8], eax
mov dword [0x5fe0fc], esi
mov dword [0x5fe108], esi
mov dword [0x5fe100], esi
mov dword [0x5fe110], esi
mov dword [0x5fe114], esi
mov dword [0x5fe11c], esi
call fcn.00444d50
pop esi
add esp, 0xdc
ret
Function at 0x43e760
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0
call fcn.004bc1d3
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
mov dword [esp + 0xc], eax
push esi
push 1
lea eax, [esp + 0x14]
push 2
push eax
call edi
push 1
call fcn.004bc1d3
push esi
push 1
lea ecx, [esp + 0x28]
push 2
push ecx
mov dword [esp + 0x30], eax
call edi
push 2
call fcn.004bc1d3
push esi
push 1
lea edx, [esp + 0x3c]
push 2
push edx
mov dword [esp + 0x44], eax
call edi
push 3
call fcn.004bc1d3
add esp, 0x40
mov dword [esp + 8], eax
lea eax, [esp + 8]
push esi
push 1
push 2
push eax
call edi
push 4
call fcn.004bc1d3
push esi
push 1
lea ecx, [esp + 0x24]
push 2
push ecx
mov dword [esp + 0x2c], eax
call edi
push 5
call fcn.004bc1d3
push esi
push 1
lea edx, [esp + 0x38]
push 2
push edx
mov dword [esp + 0x40], eax
call edi
push 6
call fcn.004bc1d3
mov dword [esp + 0x44], eax
push esi
push 1
lea eax, [esp + 0x4c]
push 2
push eax
call edi
add esp, 0x4c
push 7
call fcn.004bc1d3
push esi
push 1
lea ecx, [esp + 0x14]
push 2
push ecx
mov dword [esp + 0x1c], eax
call edi
push 8
call fcn.004bc1d3
mov dword [esp + 0x20], eax
push esi
push 1
lea edx, [esp + 0x28]
push 2
push edx
call edi
push 9
call fcn.004bc1d3
mov dword [esp + 0x34], eax
push esi
push 1
lea eax, [esp + 0x3c]
push 2
push eax
call edi
push 0xa
call fcn.004bc1d3
add esp, 0x40
lea ecx, [esp + 8]
mov dword [esp + 8], eax
push esi
push 1
push 2
push ecx
call edi
push 0xb
call fcn.004bc1d3
push esi
push 1
lea edx, [esp + 0x24]
push 2
push edx
mov dword [esp + 0x2c], eax
call edi
push 0xc
call fcn.004bc1d3
mov dword [esp + 0x30], eax
push esi
push 1
lea eax, [esp + 0x38]
push 2
push eax
call edi
push 0xd
call fcn.004bc1d3
push esi
push 1
lea ecx, [esp + 0x4c]
push 2
push ecx
mov dword [esp + 0x54], eax
call edi
add esp, 0x4c
push 0xe
call fcn.004bc1d3
push esi
push 1
lea edx, [esp + 0x14]
push 2
push edx
mov dword [esp + 0x1c], eax
call edi
push 0xf
call fcn.004bc1d3
mov dword [esp + 0x20], eax
push esi
push 1
lea eax, [esp + 0x28]
push 2
push eax
call edi
push 0x10
call fcn.004bc1d3
push esi
push 1
lea ecx, [esp + 0x3c]
push 2
push ecx
mov dword [esp + 0x44], eax
call edi
push 0x11
call fcn.004bc1d3
add esp, 0x40
lea edx, [esp + 8]
mov dword [esp + 8], eax
push esi
push 1
push 2
push edx
call edi
push 0x12
call fcn.004bc1d3
mov dword [esp + 0x1c], eax
push esi
push 1
lea eax, [esp + 0x24]
push 2
push eax
call edi
add esp, 0x24
pop edi
pop esi
pop ecx
ret
Function at 0x43e940
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
lea eax, [esp + 0x14]
push 2
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
push 0
call fcn.004bc275
push esi
push 1
lea edx, [esp + 0x2c]
push 2
push edx
call edi
mov eax, dword [esp + 0x34]
push eax
push 1
call fcn.004bc275
push esi
push 1
lea ecx, [esp + 0x44]
push 2
push ecx
call edi
mov edx, dword [esp + 0x4c]
add esp, 0x40
push edx
push 2
call fcn.004bc275
push esi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
push 3
call fcn.004bc275
push esi
push 1
lea edx, [esp + 0x34]
push 2
push edx
call edi
mov eax, dword [esp + 0x3c]
push eax
push 4
call fcn.004bc275
push esi
push 1
lea ecx, [esp + 0x4c]
push 2
push ecx
call edi
mov edx, dword [esp + 0x54]
add esp, 0x48
push edx
push 5
call fcn.004bc275
push esi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
push 6
call fcn.004bc275
push esi
push 1
lea edx, [esp + 0x34]
push 2
push edx
call edi
mov eax, dword [esp + 0x3c]
push eax
push 7
call fcn.004bc275
push esi
push 1
lea ecx, [esp + 0x4c]
push 2
push ecx
call edi
mov edx, dword [esp + 0x54]
add esp, 0x48
push edx
push 8
call fcn.004bc275
push esi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
push 9
call fcn.004bc275
push esi
push 1
lea edx, [esp + 0x34]
push 2
push edx
call edi
mov eax, dword [esp + 0x3c]
push eax
push 0xa
call fcn.004bc275
push esi
push 1
lea ecx, [esp + 0x4c]
push 2
push ecx
call edi
mov edx, dword [esp + 0x54]
add esp, 0x48
push edx
push 0xb
call fcn.004bc275
push esi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
push 0xc
call fcn.004bc275
push esi
push 1
lea edx, [esp + 0x34]
push 2
push edx
call edi
mov eax, dword [esp + 0x3c]
push eax
push 0xd
call fcn.004bc275
push esi
push 1
lea ecx, [esp + 0x4c]
push 2
push ecx
call edi
mov edx, dword [esp + 0x54]
add esp, 0x48
push edx
push 0xe
call fcn.004bc275
push esi
push 1
push 2
lea eax, [esp + 0x20]
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
push 0xf
call fcn.004bc275
push esi
push 1
lea edx, [esp + 0x34]
push 2
push edx
call edi
mov eax, dword [esp + 0x3c]
push eax
push 0x10
call fcn.004bc275
push esi
push 1
lea ecx, [esp + 0x4c]
push 2
push ecx
call edi
mov edx, dword [esp + 0x54]
add esp, 0x48
push edx
push 0x11
call fcn.004bc275
push esi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
push 0x12
call fcn.004bc275
add esp, 0x20
pop edi
pop esi
ret
Function at 0x43eb30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x64
lea ecx, [esp]
push eax
push 1
push 0x64
push ecx
call dword [sym.imp.msvcrt.dll_fread]
push 0x695378
call fcn.0049a9c4
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [0x695390], eax
mov eax, dword [esp + 0x38]
mov dword [0x69538c], edx
mov edx, dword [esp + 0x34]
mov dword [0x69539c], eax
mov eax, dword [esp + 0x44]
mov dword [0x695394], ecx
mov ecx, dword [esp + 0x3c]
mov dword [0x695398], edx
mov edx, dword [esp + 0x40]
mov dword [0x6953a8], eax
mov eax, dword [esp + 0x50]
mov dword [0x6953a0], ecx
mov ecx, dword [esp + 0x48]
mov dword [0x6953a4], edx
mov edx, dword [esp + 0x4c]
mov dword [0x6953b4], eax
mov eax, dword [esp + 0x5c]
mov dword [0x6953ac], ecx
mov ecx, dword [esp + 0x54]
mov dword [0x6953b0], edx
mov edx, dword [esp + 0x58]
mov dword [0x6953c0], eax
mov eax, dword [esp + 0x68]
mov dword [0x6953b8], ecx
mov ecx, dword [esp + 0x60]
mov dword [0x6953bc], edx
mov edx, dword [esp + 0x64]
mov dword [0x6953cc], eax
mov eax, dword [esp + 0x74]
mov dword [0x6953c4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [0x6953c8], edx
mov edx, dword [esp + 0x70]
mov byte [0x6953d8], al
mov al, byte [esp + 0x76]
push 0x695378
mov dword [0x6953d0], ecx
mov dword [0x6953d4], edx
mov byte [0x6953d9], ah
mov byte [0x6953da], al
call fcn.0049a9ec
add esp, 0x7c
ret

Function at 0x43ec30
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x68c568]
push esi
push edi
mov eax, dword [eax + 0x1c]
sub eax, 0
je 0x43eccc
dec eax
je 0x43ec8d
dec eax
jne 0x43ed36
push 0x695378
call fcn.0049a9c4
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 0x64
push 0x695378
call edi
push esi
push 1
push 4
push 0x6953dc
call edi
push esi
push 1
push 4
push 0x6953e0
call edi
add esp, 0x34
pop edi
pop esi
pop ecx
ret
push 0x695378
call fcn.0049a9c4
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 0x64
push 0x695378
call edi
push esi
push 1
push 4
push 0x6953dc
call edi
push esi
push 1
lea ecx, [esp + 0x37]
push 1
push ecx
call edi
add esp, 0x34
pop edi
pop esi
pop ecx
ret
mov esi, dword [esp + 0x10]
push esi
call fcn.0043e760
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 2
push 0x69535c
call edi
push esi
push 1
push 2
push 0x69535e
call edi
push esi
push 1
push 2
push 0x695360
call edi
push esi
push 1
push 2
push 0x695362
call edi
add esp, 0x44
push esi
push 1
push 1
push 0x6953e8
call edi
push esi
push 1
push 1
push 0x6953e9
call edi
push esi
push 1
push 1
push 0x6953ea
call edi
add esp, 0x30
pop edi
pop esi
pop ecx
ret
Function at 0x43ed40
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x68c568]
push esi
push edi
mov eax, dword [eax + 0x1c]
sub eax, 0
je 0x43eded
dec eax
je 0x43eda5
dec eax
jne 0x43ee8a
mov esi, dword [esp + 0xc]
push esi
call fcn.0043eb30
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 4
push 0x6953dc
call edi
mov ecx, dword [0x6953dc]
mov edx, dword [0x71b8bc]
and ecx, 0xf
push esi
shl ecx, 0xe
push 1
add ecx, edx
push 4
push 0x6953e0
mov dword [0x71b908], ecx
call edi
add esp, 0x24
pop edi
pop esi
ret
mov esi, dword [esp + 0xc]
push esi
call fcn.0043eb30
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 4
push 0x6953dc
call edi
mov edx, dword [0x6953dc]
mov ecx, dword [0x71b8bc]
and edx, 0xf
push esi
shl edx, 0xe
push 1
lea eax, [esp + 0x28]
add edx, ecx
push 1
push eax
mov dword [0x71b908], edx
call edi
add esp, 0x24
pop edi
pop esi
ret
mov esi, dword [esp + 0xc]
push esi
call fcn.0043e940
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 2
push 0x69535c
call edi
push esi
push 1
push 2
push 0x69535e
call edi
push esi
push 1
push 2
push 0x695360
call edi
push esi
push 1
push 2
push 0x695362
call edi
mov cx, word [0x69535c]
add esp, 0x44
push ecx
call fcn.0043e030
mov dx, word [0x69535e]
push edx
call fcn.0043e0f0
mov ax, word [0x695360]
push eax
call fcn.0043e1b0
mov cx, word [0x695362]
push ecx
call fcn.0043e270
push esi
push 1
push 1
push 0x6953e8
call edi
push esi
push 1
push 1
push 0x6953e9
call edi
push esi
push 1
push 1
push 0x6953ea
call edi
add esp, 0x40
pop edi
pop esi
ret

Function at 0x43fd70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f87a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea ecx, [esp + 4]
mov dword [0x6953ec], 0
call sub.MFC42.DLL_CFileFind::CFileFind
push 0
push 0x5f77b4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x43fddf
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov esi, eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFileFind::GetFileName
lea ecx, [esp + 4]
call fcn.004f7332
test esi, esi
jne 0x43fdb8
pop esi
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.004f74a6
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret