Function at 0x12fe4190
Capabilities:
Get file size
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13071f67
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
push edi
mov dword [0x131c9cd0], ebx
call esi
mov dword [0x131c9cd8], eax
mov eax, dword [esp + 0x20c]
cmp eax, ebx
je 0x12fe4ee4
cmp dword [esp + 0x210], ebx
je 0x12fe4ee4
cmp dword [0x131c9cdc], ebx
jne 0x12fe4200
mov dword [0x131c9cd0], 2
mov dword [0x131c9cd4], 0xc53
jmp 0x12fe4ef8
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xed]
mov byte [esp + 0xec], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xec]
push 1
push eax
mov dword [esp + 0x6c], ebx
call fcn.12fd4860
add esp, 8
test eax, eax
jne 0x12fe424d
mov dword [0x131c9cd0], 7
mov dword [0x131c9cd4], 0xc5f
jmp 0x12fe4ef8
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x130]
mov dword [esp + 0x12c], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x98]
mov dword [esp + 0x94], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
call fcn.12f923b0
lea ecx, [esp + 0x44]
mov dword [esp + 0x204], ebx
call fcn.12f923b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 1
call fcn.12f923b0
mov eax, dword [esp + 0x214]
mov byte [esp + 0x204], 2
cmp eax, ebx
mov dword [esp + 0x5c], ebx
je 0x12fe42d9
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.12fdb400
add esp, 8
cmp eax, ebx
je 0x12fe42d9
lea ecx, [esp + 0x24]
call fcn.12f92cb0
mov dword [esp + 0x5c], eax
cmp word [esp + 0x9e], bx
push ebp
mov dword [esp + 0x18], ebx
jne 0x12fe4d27
lea edx, [esp + 0x48]
push ebx
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x138]
push eax
lea edx, [esp + 0xfc]
push ecx
push edx
call fcn.12fd49b0
add esp, 0x14
test eax, eax
je 0x12fe4d47
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x64]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
mov edx, dword [esp + 0x153]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x15c]
lea ecx, [esp + 0x190]
push 0x40
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x178]
push edx
push eax
push ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x88], ebx
call fcn.12fd7e60
add esp, 0x24
cmp eax, ebx
mov dword [esp + 0x58], eax
je 0x12fe4d67
push eax
call fcn.12ff0660
add esp, 4
cmp eax, ebx
mov dword [esp + 0x84], eax
je 0x12fe4d87
mov edx, dword [esp + 0x58]
push edx
call fcn.12fdd4c0
mov ecx, dword [esp + 0x214]
add esp, 4
mov word [esp + 0xa0], ax
lea eax, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x214]
mov esi, eax
mov eax, dword [esp + 0x40]
xor ecx, ecx
xor edi, edi
mov ebp, eax
push eax
or edi, esi
or ebp, ecx
push esi
push edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ebp
call fcn.12fee810
add esp, 0xc
test eax, eax
je 0x12fe4da7
cmp ebp, ebx
ja 0x12fe4422
cmp edi, 0x200
jbe 0x12fe442c
mov dword [esp + 0x54], 0x200
jmp 0x12fe443c
cmp edi, 0x1000
mov dword [esp + 0x54], edi
ja 0x12fe4dcb
mov ecx, dword [esp + 0x84]
push 0x1000
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0x24], eax
call fcn.12fdd400
push 0x1000
mov dword [esp + 0x28], eax
call fcn.12f5bf8b
mov edx, dword [esp + 0x28]
mov ebp, eax
push edx
mov dword [esp + 0x54], ebp
call fcn.12f5bf8b
add esp, 0x10
cmp ebp, ebx
mov dword [esp + 0x18], eax
je 0x12fe4e63
cmp eax, ebx
je 0x12fe4e63
mov ecx, 0x400
xor eax, eax
mov edi, ebp
mov dword [esp + 0x3c], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [esp + 0x70], ebx
je 0x12fe44cf
mov eax, dword [esp + 0x114]
or al, 0x10
mov dword [esp + 0x114], eax
cmp dword [esp + 0x5c], ebx
je 0x12fe44e5
mov eax, dword [esp + 0x114]
or al, 0x20
mov dword [esp + 0x114], eax
mov edi, dword [esp + 0x210]
cmp edi, 0xffffffff
jne 0x12fe4510
mov dword [0x131c9cd0], 1
mov dword [0x131c9cd4], 0x26a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
mov ecx, dword [esp + 0x40]
xor eax, eax
xor edx, edx
or eax, esi
or ecx, edx
mov edx, eax
and edx, 0xfff
mov dword [esp + 0x138], ebx
mov esi, edx
mov dword [esp + 0x13c], ebx
or esi, ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
je 0x12fe4579
cmp ecx, ebx
ja 0x12fe4551
cmp eax, 0x1000
jbe 0x12fe4555
mov esi, ebx
jmp 0x12fe4559
mov edx, eax
mov esi, ecx
mov ebp, eax
sub ebp, edx
mov edx, ecx
sbb edx, esi
add ebp, 0x1000
adc edx, ebx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], edx
jmp 0x12fe4587
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xbc], ecx
lea ecx, [esp + 0x168]
mov dword [esp + 0x164], eax
push ecx
lea eax, [esp + 0x184]
push edx
push eax
call fcn.12fedb10
mov ecx, dword [esp + 0x70]
add esp, 0xc
mov dword [esp + 0x17c], ecx
lea ecx, [esp + 0x28]
call fcn.12f925b0
xor edx, edx
mov dword [esp + 0xc0], ebx
cmp edx, eax
mov dword [esp + 0xc8], ebx
sbb ecx, ecx
mov dword [esp + 0xcc], 0x1000
and ecx, eax
mov eax, dword [esp + 0x1c]
add ecx, 0x10ff
mov dword [esp + 0xc4], eax
shr ecx, 0xc
shl ecx, 0xc
mov dword [esp + 0x154], ecx
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.12fde7b0
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
mov word [esp + 0x9e], ax
push ebx
push ebx
push ebx
push edi
call esi
mov edi, dword [esp + 0x214]
push ebx
push ebx
push ebx
push edi
call esi
mov edx, dword [esp + 0x114]
push 1
or edx, 1
mov dword [esp + 0x118], edx
lea edx, [esp + 0xf4]
push edx
push edi
call fcn.12fdc5f0
add esp, 0xc
test eax, eax
je 0x12fe4def
mov ecx, 7
xor eax, eax
lea edi, [esp + 0xd1]
mov byte [esp + 0xd0], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x210]
push 1
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push ebx
push ecx
call esi
mov edx, dword [esp + 0x210]
push ebx
push ebx
push ebx
push edx
mov ebp, eax
call esi
mov eax, dword [esp + 0x210]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x12fe46f3
mov eax, dword [esp + 0x210]
lea ecx, [esp + 0x20]
push ebx
push ecx
lea edx, [esp + 0xd8]
push 0x20
push edx
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x12fe46f3
cmp dword [esp + 0x20], 0x20
jne 0x12fe46f3
mov edi, 1
mov edx, dword [esp + 0x210]
lea ecx, [esp + 0x14]
push ebx
push ecx
push ebp
push edx
call esi
cmp edi, ebx
je 0x12fe4e05
lea eax, [esp + 0xd0]
push eax
call fcn.12fdfb40
add esp, 4
test eax, eax
je 0x12fe4e1b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd0], ebx
call edi
lea ecx, [esp + 0xd0]
mov dword [0x131c9cd8], eax
test ecx, ecx
jne 0x12fe4778
mov dword [0x131c9cd0], 1
mov dword [0x131c9cd4], 0x278
call edi
mov dword [0x131c9cd8], eax
mov dword [0x131c9cd0], 0x1f
mov dword [0x131c9cd4], 0xd1c
call edi
jmp 0x12fe4e7d
cmp dword [0x131c9cdc], ebx
jne 0x12fe4796
mov dword [0x131c9cd0], 2
mov dword [0x131c9cd4], 0x27e
jmp 0x12fe4756
cmp dword [0x131ca204], ebx
jne 0x12fe47f0
mov cl, byte [esp + 0xd6]
mov eax, dword [esp + 0xe0]
mov edx, dword [0x131c9ce8]
and ecx, 1
cmp eax, 0x2710
ja 0x12fe47ce
cmp edx, 0x2710
ja 0x12fe47f0
cmp edx, eax
je 0x12fe47f0
cmp eax, ebx
jne 0x12fe47de
jmp 0x12fe47f0
cmp eax, edx
jne 0x12fe47de
cmp dword [0x131c9cf0], ebx
ja 0x12fe47f0
cmp ecx, ebx
je 0x12fe47f0
push ecx
push eax
call fcn.12fdfda0
add esp, 8
cmp eax, ebx
je 0x12fe475d
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c1]
mov byte [esp + 0x1c0], bl
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x154]
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x218]
push ebx
push edx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x98], 0x40
mov dword [esp + 0x90], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x9c], ebx
call esi
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x12fe491a
lea ecx, [esp + 0x88]
lea edx, [esp + 0x1c0]
push ecx
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x44]
push 0x200
push ecx
mov ecx, dword [esp + 0x230]
push edx
push eax
push ecx
push ebx
mov dword [esp + 0xb0], ebx
call fcn.12fe6700
add esp, 0x30
xor edx, edx
cmp eax, ebx
sete dl
mov esi, edx
cmp esi, ebx
mov dword [esp + 0x78], esi
jne 0x12fe4c1b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
cmp ecx, eax
ja 0x12fe4af5
jae 0x12fe48fe
mov dword [esp + 0x24], 1
cmp ecx, ebx
jbe 0x12fe49cd
mov esi, dword [esp + 0x34]
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x12fe49c4
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x210]
lea ecx, [esp + 0x10]
push ebx
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x12fe4b0e
mov ecx, dword [esp + 0x10]
cmp ecx, esi
jae 0x12fe4950
mov dword [esp + 0x24], 1
cmp ecx, ebx
jbe 0x12fe49cd
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.12ff0660
add esp, 4
cmp eax, ebx
je 0x12fe4b27
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], ebx
push ecx
mov ecx, dword [esp + 0x34]
push 0x200
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x9c]
push ecx
lea ecx, [esp + 0x1d8]
push ecx
mov ecx, eax
call dword [edx + 0x14]
cmp eax, ebx
je 0x12fe4b40
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
cmp eax, ecx
jne 0x12fe4b59
mov esi, dword [esp + 0x30]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebp, ecx
add eax, ecx
cmp eax, 0x1000
mov dword [esp + 0x14], eax
jae 0x12fe49ea
cmp dword [esp + 0x24], ebx
je 0x12fe4866
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x48]
push ecx
push 0x1000
push edx
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 0x19c]
push eax
mov eax, dword [esp + 0xc0]
push ecx
push edx
push eax
mov dword [esp + 0xa8], ebx
call fcn.12fd4c60
add esp, 0x2c
cmp eax, ebx
jne 0x12fe4b72
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
call fcn.12fdd460
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x214]
push ebx
push ecx
push esi
push edx
push eax
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x12fe4be1
cmp dword [esp + 0x3c], esi
jb 0x12fe4bf7
cmp dword [esp + 0xc0], ebx
jne 0x12fe4aa3
mov dword [esp + 0xc4], esi
mov edi, dword [esp + 0xc0]
mov ebp, dword [esp + 0x44]
inc edi
mov ecx, 0x400
mov dword [esp + 0xc0], edi
xor eax, eax
mov edi, ebp
mov dword [esp + 0xc8], esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, ecx
mov dword [esp + 0x14], ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [esp + 0x24], ebx
je 0x12fe4866
mov esi, dword [esp + 0x78]
jmp 0x12fe4c1b
mov dword [0x131c9cd0], 0x20
mov dword [0x131c9cd4], 0xd4a
jmp 0x12fe4c0b
mov dword [0x131c9cd0], 0xd
mov dword [0x131c9cd4], 0xd5f
jmp 0x12fe4c0b
mov dword [0x131c9cd0], 0xc
mov dword [0x131c9cd4], 0xd6e
jmp 0x12fe4c0b
mov dword [0x131c9cd0], 0x12
mov dword [0x131c9cd4], 0xd77
jmp 0x12fe4c0b
mov dword [0x131c9cd0], 0x12
mov dword [0x131c9cd4], 0xd7e
jmp 0x12fe4c0b
jge 0x12fe4bcb
push 0x131911a8
lea ecx, [esp + 0x18]
call fcn.12f46a80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
push 0xd97
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push 0x13182948
push eax
mov byte [esp + 0x220], 3
call fcn.12f4a1a0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.12ff1500
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x208], 2
call fcn.12f47220
mov dword [0x131c9cd0], 0x11
mov dword [0x131c9cd4], 0xd9b
jmp 0x12fe4c0b
mov dword [0x131c9cd0], 0xe
mov dword [0x131c9cd4], 0xda6
jmp 0x12fe4c0b
mov dword [0x131c9cd0], 0xe
mov dword [0x131c9cd4], 0xdae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
mov esi, 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x12fe4c30
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x12fe4c45
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x12fe4c5a
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x12fe4c6f
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esp + 0x24], ebx
je 0x12fe4e82
cmp esi, ebx
jne 0x12fe4e82
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0xf0]
push eax
push ecx
call fcn.12fdba90
add esp, 8
lea ecx, [esp + 0x4c]
call fcn.12f923b0
mov esi, dword [esp + 0x214]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0xa4]
push edx
lea ecx, [esp + 0x140]
push eax
lea edx, [esp + 0x104]
push ecx
push edx
push esi
mov byte [esp + 0x228], 4
call fcn.12fdbd10
add esp, 0x20
test eax, eax
je 0x12fe4e31
cmp dword [esp + 0x21c], ebx
je 0x12fe4d09
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 1
mov byte [esp + 0x208], 2
call fcn.12f92510
jmp 0x12fe4e82
mov dword [0x131c9cd0], 1
mov dword [0x131c9cd4], 0xc7a
call esi
mov dword [0x131c9cd8], eax
jmp 0x12fe4e93
mov dword [0x131c9cd0], 8
mov dword [0x131c9cd4], 0xc81
call esi
mov dword [0x131c9cd8], eax
jmp 0x12fe4e93
mov dword [0x131c9cd0], 0xb
mov dword [0x131c9cd4], 0xc97
call esi
mov dword [0x131c9cd8], eax
jmp 0x12fe4e93
mov dword [0x131c9cd0], 0xc
mov dword [0x131c9cd4], 0xc9f
call esi
mov dword [0x131c9cd8], eax
jmp 0x12fe4e93
mov dword [0x131c9cd0], 0x25
mov dword [0x131c9cd4], 0xcb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
jmp 0x12fe4e93
mov dword [0x131c9cd0], 0x20
mov dword [0x131c9cd4], 0xcc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
jmp 0x12fe4e93
mov dword [0x131c9cd0], 0x10
mov dword [0x131c9cd4], 0xcfc
jmp 0x12fe4e77
mov dword [0x131c9cd0], 0xf
mov dword [0x131c9cd4], 0xd0c
jmp 0x12fe4e77
mov dword [0x131c9cd0], 0x14
mov dword [0x131c9cd4], 0xd15
jmp 0x12fe4e77
mov dword [0x131c9cd0], 0x10
mov dword [0x131c9cd4], 0xddc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x4c]
mov dword [0x131c9cd8], eax
mov byte [esp + 0x208], 2
call fcn.12f92510
jmp 0x12fe4e82
mov dword [0x131c9cd0], 0x21
mov dword [0x131c9cd4], 0xcce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x12fe4e93
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, ebx
je 0x12fe4ea9
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 1
call fcn.12f92510
lea ecx, [esp + 0x44]
mov byte [esp + 0x204], bl
call fcn.12f92510
lea ecx, [esp + 0x4c]
mov dword [esp + 0x204], 0xffffffff
call fcn.12f92510
mov eax, dword [esp + 0x64]
jmp 0x12fe4f04
mov dword [0x131c9cd0], 1
mov dword [0x131c9cd4], 0xc4d
call esi
mov dword [0x131c9cd8], eax
mov eax, 1
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1fc
ret