Function at 0x11f0a300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fc5486
push eax
mov dword fs:[0], esp
sub esp, 0x514
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
push esi
mov dword [0x12135738], ebx
call ebp
mov esi, dword [esp + 0x530]
mov dword [0x12135740], eax
cmp esi, 0xffffffff
je 0x11f0abdc
cmp dword [esp + 0x534], 0xffffffff
je 0x11f0abdc
cmp dword [0x12135744], ebx
jne 0x11f0a372
mov dword [0x12135738], 2
mov dword [0x1213573c], 0xb16
jmp 0x11f0abf0
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x138]
mov dword [esp + 0x134], ebx
mov byte [esp + 0xa4], al
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0xa5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xa4]
mov dword [esp + 0x28], ebx
push eax
push esi
call fcn.11f0f740
add esp, 8
test eax, eax
je 0x11f0aa42
lea ecx, [esp + 0xa4]
test ecx, ecx
je 0x11f0aa67
push 0x10
lea edx, [esp + 0xa8]
push 0x12107284
push edx
call fcn.11e68e80
add esp, 0xc
test eax, eax
jne 0x11f0aa67
test byte [esp + 0xd6], 1
je 0x11f0aa67
mov edx, dword [esp + 0xc4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ebx
push ecx
push ebx
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], ebx
call fcn.11f05440
mov eax, dword [esp + 0x30]
add esp, 0x14
cmp eax, ebx
jne 0x11f0aa8c
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0xe8]
mov dword [esp + 0xe4], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x70]
mov dword [esp + 0x6c], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.11e923e0
lea eax, [esp + 0xe4]
lea ecx, [esp + 0xa4]
push eax
push ecx
push esi
mov dword [esp + 0x538], ebx
call fcn.11f0f9b0
add esp, 0xc
test eax, eax
je 0x11f0aab1
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x19d]
mov byte [esp + 0x19c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x19c]
push edx
push esi
stosb byte es:[edi], al
call fcn.11f0bd70
add esp, 8
test eax, eax
je 0x11f0aaca
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xe4]
push eax
lea edx, [esp + 0xa8]
push ecx
push edx
push esi
call fcn.11f0fc30
add esp, 0x10
test eax, eax
je 0x11f0aae3
cmp word [esp + 0x76], bx
jne 0x11f0aafc
lea ecx, [esp + 0x18]
call fcn.11e923e0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0xec]
push edx
lea ecx, [esp + 0xb0]
push eax
push ecx
push esi
mov byte [esp + 0x544], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
call fcn.11f0fe80
add esp, 0x18
test eax, eax
je 0x11f0ab15
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov di, word [edx + 0xc]
cmp di, bx
jbe 0x11f0a571
mov edx, dword [esp + 0x24]
mov eax, ecx
and eax, 0xffff
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
lea eax, [edx + eax*8]
je 0x11f0a56b
mov eax, dword [eax]
cmp eax, 1
jb 0x11f0ab43
cmp eax, 4
ja 0x11f0ab43
inc ecx
cmp cx, di
jb 0x11f0a543
lea ecx, [esp + 0x18]
mov byte [esp + 0x52c], 0
call fcn.11e92540
lea ecx, [esp + 0x134]
push 0x28
push ecx
push esi
call fcn.11f2ed60
add esp, 0xc
test eax, eax
je 0x11f0ab59
mov edx, dword [esp + 0x118]
push edx
call fcn.11ee93d0
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x68], esi
je 0x11f0ab6f
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x15d]
mov byte [esp + 0x15c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x50]
lea ecx, [esp + 0x15c]
push eax
push 0x40
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0xf0]
push edx
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x78], ebx
call fcn.11f1a9b0
add esp, 0x14
test eax, eax
je 0x11f0ab85
mov edi, dword [esp + 0x538]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x11f0abbb
mov edi, dword [esp + 0x98]
cmp eax, 1
jne 0x11f0a646
mov edi, dword [esp + 0x9c]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0xc]
mov esi, dword [0x12107280]
mov ecx, eax
mov eax, esi
xor edx, edx
div edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], esi
mov ebx, eax
mov eax, dword [esp + 0x94]
imul ebx, ecx
cmp eax, 1
mov dword [esp + 0x38], ebx
je 0x11f0a683
mov eax, esi
xor edx, edx
div edi
test edx, edx
je 0x11f0a68f
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ecx
mov ebx, ecx
mov esi, edi
push esi
call fcn.11e679bc
push ebx
mov dword [esp + 0x2c], eax
call fcn.11e679bc
mov ecx, dword [esp + 0x53c]
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x108]
push 0
push 0
push eax
push ecx
call ebp
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, esi
xor ebp, ebp
div edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x60], eax
mov edi, dword [esp + 0x24]
mov ecx, esi
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x94]
lea ecx, [edi + ebp]
cmp ecx, eax
jb 0x11f0a738
mov edi, eax
mov eax, dword [esp + 0x9c]
sub edi, ebp
mov dword [esp + 0x1c], 1
lea esi, [edi - 1]
imul esi, dword [esp + 0x98]
add esi, eax
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x534]
xor ebp, ebp
lea edx, [esp + 0x58]
push ebp
push ebp
push edx
push esi
push ebx
push eax
mov dword [esp + 0x70], ebp
call fcn.11f2f1e0
add esp, 0x18
test eax, eax
je 0x11f0a96a
cmp esi, dword [esp + 0x58]
jne 0x11f0a980
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x18]
xor edi, edi
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x94]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jne 0x11f0a7a5
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x90]
xor eax, eax
cmp eax, ecx
mov dword [esp + 0x14], edi
ja 0x11f0a829
jb 0x11f0a7c7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jae 0x11f0a829
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x70], edi
call fcn.11f1f760
add esp, 0x14
test eax, eax
je 0x11f0a93e
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x64]
push ebp
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x64]
push eax
lea eax, [esp + 0x174]
push eax
call dword [edx + 0x14]
cmp eax, edi
je 0x11f0a954
jmp 0x11f0a87c
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x48]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jbe 0x11f0a842
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x74]
and eax, 0xffff
sub eax, edi
je 0x11f0a86a
dec eax
je 0x11f0a85a
dec eax
jne 0x11f0a880
lea esi, [ebx + 8]
jmp 0x11f0a86c
mov eax, ecx
lea esi, [ebx + 4]
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x11f0a877
mov esi, ebx
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 + 0x14]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
cmp edx, eax
jne 0x11f0a8c7
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
xor edi, edi
cmp eax, edi
ja 0x11f0a8a8
cmp ecx, 0x1000
jbe 0x11f0a8b6
and ecx, 0xfff
xor eax, eax
mov edx, ecx
or edx, eax
je 0x11f0a8bc
mov dword [esp + 0x14], ecx
jmp 0x11f0a8c9
mov ecx, 0x1000
mov dword [esp + 0x14], ecx
jmp 0x11f0a8c9
xor edi, edi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
add esi, ecx
dec eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], eax
je 0x11f0a8eb
mov edx, dword [esp + 0x34]
add ebx, edx
add ebp, ecx
jmp 0x11f0a77b
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x538]
lea eax, [esp + 0x30]
push edi
push eax
push esi
add ebx, esi
push ecx
push edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], edi
call fcn.11f2f2e0
add esp, 0x14
test eax, eax
je 0x11f0a996
cmp dword [esp + 0x30], esi
jb 0x11f0a9ac
cmp dword [esp + 0x1c], edi
jne 0x11f0a9d3
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
jmp 0x11f0a6da
mov dword [0x12135738], 0x1c
mov dword [0x1213573c], 0xbe6
jmp 0x11f0a9c0
mov dword [0x12135738], 0x12
mov dword [0x1213573c], 0xbef
jmp 0x11f0a9c0
mov dword [0x12135738], 0xd
mov dword [0x1213573c], 0xbc2
jmp 0x11f0a9c0
mov dword [0x12135738], 0xd
mov dword [0x1213573c], 0xbca
jmp 0x11f0a9c0
mov dword [0x12135738], 0xe
mov dword [0x1213573c], 0xc19
jmp 0x11f0a9c0
mov dword [0x12135738], 0xe
mov dword [0x1213573c], 0xc21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x24]
push eax
call fcn.11e679b1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.11e679b1
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x11f0aa02
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x11f0aa02
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x52c], 0xffffffff
call fcn.11e92540
mov eax, dword [esp + 0x28]
test eax, eax
je 0x11f0aa38
mov edi, dword [esp + 0x538]
lea edx, [esp + 0x134]
push 0x28
push edx
push edi
call fcn.11f2eda0
add esp, 0xc
mov eax, dword [esp + 0x28]
pop edi
jmp 0x11f0abf9
mov dword [0x12135738], 0xf
mov dword [0x1213573c], 0xb26
call ebp
mov dword [0x12135740], eax
mov eax, dword [esp + 0x28]
pop edi
jmp 0x11f0abf9
mov dword [0x12135738], 0x22
mov dword [0x1213573c], 0xb2d
call ebp
mov dword [0x12135740], eax
mov eax, dword [esp + 0x28]
pop edi
jmp 0x11f0abf9
mov dword [0x12135738], 0x31
mov dword [0x1213573c], 0xb34
call ebp
mov dword [0x12135740], eax
mov eax, dword [esp + 0x28]
pop edi
jmp 0x11f0abf9
mov dword [0x12135738], 0x14
mov dword [0x1213573c], 0xb40
jmp 0x11f0ab99
mov dword [0x12135738], 0x1f
mov dword [0x1213573c], 0xb48
jmp 0x11f0ab99
mov dword [0x12135738], 0x14
mov dword [0x1213573c], 0xb4e
jmp 0x11f0ab99
mov dword [0x12135738], 1
mov dword [0x1213573c], 0xb55
jmp 0x11f0ab99
mov dword [0x12135738], 0x14
mov dword [0x1213573c], 0xb5f
call ebp
lea ecx, [esp + 0x18]
mov dword [0x12135740], eax
mov byte [esp + 0x52c], 0
call fcn.11e92540
jmp 0x11f0aba0
mov dword [0x12135738], 0x32
mov dword [0x1213573c], 0xb65
jmp 0x11f0ab29
mov dword [0x12135738], 5
mov dword [0x1213573c], 0xb74
jmp 0x11f0ab99
mov dword [0x12135738], 0xc
mov dword [0x1213573c], 0xb7f
jmp 0x11f0ab99
mov dword [0x12135738], 0xb
mov dword [0x1213573c], 0xb88
call ebp
mov dword [0x12135740], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x52c], 0xffffffff
call fcn.11e92540
mov eax, dword [esp + 0x28]
pop edi
jmp 0x11f0abf9
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
mov dword [esp + 0x52c], 0xffffffff
call fcn.11e92540
jmp 0x11f0aa25
mov dword [0x12135738], 1
mov dword [0x1213573c], 0xb10
call ebp
mov dword [0x12135740], eax
xor eax, eax
mov ecx, dword [esp + 0x520]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x520
ret