Function at 0x10043a20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x244
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x24c]
push ebx
push ebp
push edi
mov dword [esp + 0x10], eax
xor eax, eax
push 0x1ff
push eax
lea ecx, [esp + 0x55]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x58], al
call fcn.100f6b80
mov ebp, dword [esp + 0x260]
mov edx, dword [esi + 0x228]
add ebp, ebp
add ebp, ebp
mov ebx, dword [edx + ebp]
add esp, 0xc
call fcn.1003c440
mov edi, dword [esi + 0x228]
add edi, ebp
xor ebx, ebx
cmp dword [edi], ebx
jne 0x10043ab0
push 0xe273c
call fcn.100f5b7c
add esp, 4
cmp eax, ebx
mov dword [edi], eax
je 0x10043f6e
push 0xe273c
push ebx
push eax
call fcn.100f6b80
add esp, 0xc
cmp dword [esp + 0x25c], ebx
jne 0x10043ca4
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
call fcn.10041a40
push 0x20
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x30], 0x72
mov byte [esp + 0x31], 0x62
mov byte [esp + 0x32], bl
call fcn.100f7889
mov edi, eax
add esp, 0x18
cmp edi, ebx
jne 0x10043b61
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x28]
mov al, 0xbf
push edx
push esi
mov byte [esp + 0x30], 0xb4
mov byte [esp + 0x31], 0xf2
mov byte [esp + 0x32], al
mov byte [esp + 0x33], 0xaa
mov byte [esp + 0x34], 0xd7
mov byte [esp + 0x35], 0xd6
mov byte [esp + 0x36], al
mov byte [esp + 0x37], 0xe2
mov byte [esp + 0x38], 0x3c
mov byte [esp + 0x39], 0x25
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3b], 0x3e
mov byte [esp + 0x3c], 0xca
mov byte [esp + 0x3d], 0xa7
mov byte [esp + 0x3e], 0xb0
mov byte [esp + 0x3f], 0xdc
mov byte [esp + 0x40], bl
call fcn.1003bf90
add esp, 0xc
jmp 0x10043f6e
push 2
push ebx
push edi
call fcn.100f7804
push edi
call fcn.100f770f
push ebx
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.100f7804
mov eax, dword [esp + 0x28]
add eax, 1
push eax
call fcn.100f5b7c
mov ebp, eax
add esp, 0x20
cmp ebp, ebx
mov dword [esp + 0x14], ebp
jne 0x10043bd6
lea ecx, [esp + 0x24]
push ecx
push esi
mov byte [esp + 0x2c], 0xc4
mov byte [esp + 0x2d], 0xda
mov byte [esp + 0x2e], 0xb4
mov byte [esp + 0x2f], 0xe6
mov byte [esp + 0x30], 0xb2
mov byte [esp + 0x31], 0xbb
mov byte [esp + 0x32], 0xd7
mov byte [esp + 0x33], 0xe3
mov byte [esp + 0x34], bl
call fcn.1003bf90
push edi
call fcn.100f7244
add esp, 0xc
mov edx, dword [esp + 0xc]
push edi
push edx
push 1
push ebp
call fcn.100f755c
push edi
call fcn.100f7244
mov eax, dword [esp + 0x20]
mov byte [eax + ebp], bl
mov eax, dword [esp + 0x20]
add esp, 0x14
cmp eax, 8
jl 0x10043c9b
cmp dword [ebp], 0x4d444d44
jne 0x10043c9b
lea ecx, [esi + 0x260c]
push ecx
push eax
push ebp
call fcn.10040100
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x10043c98
mov dl, 0xe2
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2d], dl
lea edx, [esp + 0x24]
mov al, 0xdc
mov cl, 0xc3
push edx
push esi
mov byte [esp + 0x2c], 0xbc
mov byte [esp + 0x2d], 0xd3
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0xd7
mov byte [esp + 0x31], 0xd6
mov byte [esp + 0x32], 0xbf
mov byte [esp + 0x34], 0xbd
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0xca
mov byte [esp + 0x39], 0xa7
mov byte [esp + 0x3a], 0xb0
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], 0x21
mov byte [esp + 0x3d], bl
call fcn.1003bf90
push ebp
call fcn.100f5c3f
add esp, 0xc
jmp 0x10043f6e
add ebp, 8
mov dword [esp + 0x10], ebp
jmp 0x10043d79
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x34], 0x25
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], 0x2c
mov byte [esp + 0x37], 0x25
mov byte [esp + 0x38], 0x64
mov byte [esp + 0x39], bl
call fcn.100f86bd
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push 4
push ecx
call dword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
je 0x10043d6d
mov edx, dword [esp + 0x1c]
mov al, 0xb5
mov byte [esp + 0x45], al
mov byte [esp + 0x47], al
push edx
lea eax, [esp + 0x3c]
mov cl, 0xd6
push eax
push esi
mov byte [esp + 0x44], cl
mov byte [esp + 0x45], 0xb8
mov byte [esp + 0x46], 0xd5
mov byte [esp + 0x47], 0xeb
mov byte [esp + 0x48], 0x3a
mov byte [esp + 0x49], 0x25
mov byte [esp + 0x4a], 0x64
mov byte [esp + 0x4b], 0xca
mov byte [esp + 0x4c], 0xc7
mov byte [esp + 0x4d], 0xce
mov byte [esp + 0x4e], 0xde
mov byte [esp + 0x4f], 0xd0
mov byte [esp + 0x50], 0xa7
mov byte [esp + 0x52], 0xc4
mov byte [esp + 0x54], 0xd8
mov byte [esp + 0x55], cl
mov byte [esp + 0x56], 0xb7
mov byte [esp + 0x57], bl
call fcn.1003bf90
add esp, 0xc
jmp 0x10043f6e
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x10]
mov edi, eax
call fcn.1003c4d0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x10043de7
lea edx, [esp + 0x24]
mov al, 0xbf
push edx
push esi
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0xd5
mov byte [esp + 0x2e], 0xb5
mov byte [esp + 0x2f], 0xc4
mov byte [esp + 0x30], 0xd7
mov byte [esp + 0x31], 0xd6
mov byte [esp + 0x32], al
mov byte [esp + 0x33], 0xe2
mov byte [esp + 0x34], 0
call fcn.1003bf90
add esp, 8
cmp dword [esp + 0x25c], 0
jne 0x10043f6e
mov eax, dword [esp + 0x14]
push eax
call fcn.100f5c3f
add esp, 4
jmp 0x10043f6e
cmp eax, 0x59d8
jl 0x10043e49
lea ecx, [esp + 0x24]
push ecx
push esi
mov byte [esp + 0x2c], 0xd7
mov byte [esp + 0x2d], 0xd6
mov byte [esp + 0x2e], 0xbf
mov byte [esp + 0x2f], 0xe2
mov byte [esp + 0x30], 0xcc
mov byte [esp + 0x31], 0xab
mov byte [esp + 0x32], 0xb4
mov byte [esp + 0x33], 0xf3
mov byte [esp + 0x34], 0
call fcn.1003bf90
add esp, 8
cmp dword [esp + 0x25c], 0
jne 0x10043f6e
mov edx, dword [esp + 0x14]
push edx
call fcn.100f5c3f
add esp, 4
jmp 0x10043f6e
lea ebp, [eax*4]
push ebp
call fcn.100f5b7c
push ebp
mov edi, eax
call fcn.100f5b7c
add esp, 8
test edi, edi
mov ebx, eax
je 0x10043f02
test ebx, ebx
je 0x10043f02
push ebp
push 0
push edi
call fcn.100f6b80
push ebp
push 0
push ebx
call fcn.100f6b80
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push edi
push eax
mov ecx, ebx
call fcn.1003c510
mov ebp, dword [esp + 0x274]
mov ecx, dword [esi + 0x228]
mov edx, dword [ecx + ebp*4]
mov eax, dword [esp + 0x30]
push ebp
push edi
push edx
push eax
mov eax, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.10041740
add esp, 0x34
cmp dword [esp + 0x25c], 0
jne 0x10043ed4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100f5c3f
add esp, 4
push edi
call fcn.100f5c3f
push ebx
call fcn.100f5c3f
push ebp
push esi
call fcn.1003ea70
add esp, 0x10
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100f611a
add esp, 0x244
ret
cmp dword [esp + 0x25c], 0
jne 0x10043f19
mov edx, dword [esp + 0x14]
push edx
call fcn.100f5c3f
add esp, 4
test edi, edi
je 0x10043f26
push edi
call fcn.100f5c3f
add esp, 4
test ebx, ebx
je 0x10043f33
push ebx
call fcn.100f5c3f
add esp, 4
lea eax, [esp + 0x24]
push eax
push esi
mov byte [esp + 0x2c], 0xc4
mov byte [esp + 0x2d], 0xda
mov byte [esp + 0x2e], 0xb4
mov byte [esp + 0x2f], 0xe6
mov byte [esp + 0x30], 0xb2
mov byte [esp + 0x31], 0xbb
mov byte [esp + 0x32], 0xd7
mov byte [esp + 0x33], 0xe3
mov byte [esp + 0x34], 0
call fcn.1003bf90
add esp, 8
mov ecx, dword [esp + 0x24c]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100f611a
add esp, 0x244
ret