Function at 0x4296a0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a4769
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0xb0]
xor ebx, ebx
push esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa0], ebx
call fcn.0040f9a0
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0xa0], 1
call fcn.0040f9a0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.0040f9a0
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
push esi
push edi
push ebp
push ecx
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004209d0
call fcn.0042a070
add esp, 0x10
test al, al
jne 0x429778
push esi
push edi
push ebp
push ecx
lea eax, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004209d0
call fcn.0042a490
add esp, 0x10
test al, al
jne 0x429778
push esi
push edi
push ebp
push ecx
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004209d0
call fcn.0042b1d0
add esp, 0x10
test al, al
je 0x4297ad
push 0x4331a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0
call fcn.0043fe20
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x9c], 0xffffffff
cmp eax, ebx
je 0x429ec2
jmp 0x429eb9
push 0x4b6dd4
lea ecx, [esp + 0xa8]
call fcn.00443250
mov eax, dword [esp + 0xa4]
push 0x4b1c88
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
cmp eax, ebx
mov dword [esp + 0x40], eax
jne 0x4298bc
push 0x38
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x9c], 2
je 0x429815
mov ecx, dword [esp + 0xa4]
push edi
push ebp
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, eax
call fcn.0042f770
mov esi, eax
jmp 0x429817
xor esi, esi
mov edx, dword [esp + 0x68]
mov byte [esp + 0x9c], 1
mov eax, dword [edx]
cmp eax, ebx
je 0x429843
mov ecx, dword [esp + 0x70]
cmp ecx, eax
je 0x429843
cmp ecx, ebx
jne 0x42984f
cmp dword [esp + 0x6c], eax
jne 0x42984f
mov al, byte [esp + 0x78]
test al, al
je 0x42984f
push esi
lea ecx, [esp + 0x6c]
call fcn.00402a70
jmp 0x429880
lea ecx, [esp + 0x68]
call fcn.00402b60
test al, al
je 0x429868
push esi
lea ecx, [esp + 0x6c]
call fcn.00402af0
jmp 0x42987a
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esi], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov dword [edx], esi
mov eax, dword [esp + 0x68]
mov dword [eax], esi
push 0x4331a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0
call fcn.0043fe20
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x9c], 0xffffffff
cmp eax, ebx
je 0x4298b5
push eax
call fcn.00442aa0
add esp, 4
xor al, al
jmp 0x429ec4
push eax
push 1
lea ecx, [esp + 0x4c]
push 4
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x4298ed
push 0x4b6dc8
push 1
push 0x4b6db8
push 0x4cb12c
call fcn.00441210
add esp, 0x10
mov edx, dword [esp + 0x44]
push edx
push 0x4b6da0
call fcn.00443600
mov eax, dword [esp + 0x4c]
add esp, 8
cmp eax, ebx
jle 0x429e7f
jmp 0x42990f
xor ebx, ebx
mov ebp, dword [esp + 0x40]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push ebp
push 1
lea eax, [esp + 0x50]
push 4
push eax
call esi
add esp, 0x10
cmp eax, 1
je 0x429946
push 0x4b6d94
push 1
push 0x4b6db8
push 0x4cb12c
call fcn.00441210
add esp, 0x10
push ebp
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call esi
add esp, 0x10
cmp eax, 1
je 0x429973
push 0x4b6d84
push 1
push 0x4b6db8
push 0x4cb12c
call fcn.00441210
add esp, 0x10
push 0x38
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebx
mov byte [esp + 0x9c], 3
je 0x4299ae
lea edi, [esi + 4]
mov dword [esi], ebx
mov ecx, edi
call fcn.00429ee0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [edi], ebx
mov dword [esi + 8], ebx
jmp 0x4299b0
xor esi, esi
mov edx, dword [esp + 0x68]
mov byte [esp + 0x9c], 1
mov eax, dword [edx]
cmp eax, ebx
je 0x4299dc
mov ecx, dword [esp + 0x70]
cmp ecx, eax
je 0x4299dc
cmp ecx, ebx
jne 0x4299e8
cmp dword [esp + 0x6c], eax
jne 0x4299e8
mov al, byte [esp + 0x78]
test al, al
je 0x4299e8
push esi
lea ecx, [esp + 0x6c]
call fcn.00402a70
jmp 0x429a19
lea ecx, [esp + 0x68]
call fcn.00402b60
test al, al
je 0x429a01
push esi
lea ecx, [esp + 0x6c]
call fcn.00402af0
jmp 0x429a13
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esi], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov dword [edx], esi
mov eax, dword [esp + 0x68]
mov dword [eax], esi
lea eax, [esi + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x429a30
mov eax, dword [eax]
jmp 0x429a32
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x429a3e
mov eax, dword [eax]
jmp 0x429a40
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov dword [esp + 0x4c], eax
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov eax, dword [eax]
cmp eax, ebx
je 0x429a6e
mov eax, dword [eax]
jmp 0x429a70
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x54], eax
je 0x429a7c
mov eax, dword [eax]
jmp 0x429a7e
xor eax, eax
mov edx, dword [esp + 0xac]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
add esi, 0x14
push eax
mov eax, dword [esp + 0xac]
push ecx
push esi
push edx
push eax
push ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], 0
mov byte [esp + 0x74], 0
mov byte [esp + 0x75], 0
mov dword [esp + 0x38], esi
call fcn.00429f10
mov eax, dword [esp + 0x34]
add esp, 0x18
sub eax, 2
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov edi, eax
mov ebx, esi
jmp 0x429adb
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x429b98
mov ecx, dword [esp + 0x4c]
cmp dword [ecx], ebp
je 0x429b0d
mov ecx, dword [esp + 0x54]
add eax, 8
mov dx, word [ecx + 4]
movsx edx, dx
cmp edx, eax
mov ax, word [ecx + 6]
jg 0x429b06
add eax, 8
jmp 0x429b09
add eax, 0xfffffff8
mov word [ecx + 6], ax
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x429b3a
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edx, 8
mov dword [eax], ebp
mov word [eax + 6], bp
mov word [eax + 4], bp
mov word [eax + 4], dx
mov word [eax + 6], cx
jmp 0x429b3c
xor eax, eax
mov ecx, dword [esp + 0x4c]
cmp dword [ecx], ebp
jne 0x429b56
mov dword [eax], eax
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
jmp 0x429b90
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
mov ecx, dword [esp + 0x54]
cmp ecx, ebp
je 0x429b70
mov dword [eax], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x58], edx
jmp 0x429b90
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov cl, byte [esp + 0x5c]
test cl, cl
je 0x429b84
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov cl, byte [esp + 0x5d]
test cl, cl
je 0x429b90
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xac]
mov edi, eax
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x48]
push ebx
push edx
push eax
push ecx
call fcn.00429f10
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add esp, 0x18
sub ecx, 2
cmp eax, esi
mov dword [esp + 0x1c], ecx
jle 0x429ad7
mov eax, dword [esp + 0x54]
push 8
mov cx, word [eax + 6]
add ecx, 0xfffffff8
mov word [eax + 6], cx
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x429c16
add edi, 0xfffffff8
mov dword [eax], ebp
add esi, 0xfffffff8
mov word [eax + 6], bp
mov word [eax + 4], bp
mov word [eax + 6], si
mov word [eax + 4], di
mov esi, eax
jmp 0x429c18
xor esi, esi
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
cmp ecx, ebp
je 0x429c3e
mov eax, dword [esp + 0x2c]
cmp eax, ecx
je 0x429c3e
mov bl, byte [esp + 0x34]
mov edi, dword [esp + 0x28]
cmp eax, ebp
jne 0x429c4a
cmp edi, ecx
jne 0x429c4a
test bl, bl
je 0x429c4a
push esi
lea ecx, [esp + 0x28]
call fcn.00402a70
jmp 0x429c78
mov edx, dword [ecx]
cmp eax, edx
je 0x429c5c
cmp eax, ebp
jne 0x429c68
cmp edi, ecx
jne 0x429c68
test bl, bl
jne 0x429c68
push esi
lea ecx, [esp + 0x28]
call fcn.00402af0
jmp 0x429c72
mov dword [esi], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov dword [edx], esi
mov eax, dword [esp + 0x24]
mov dword [eax], esi
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
call fcn.00429f10
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add esp, 0x18
sub eax, 2
cmp ecx, esi
mov dword [esp + 0x1c], eax
je 0x429d89
cmp eax, ebp
jle 0x429d8b
cmp ecx, esi
push 8
jle 0x429d22
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x429cfd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add ecx, 8
add edx, 0xfffffff8
mov dword [eax], ebp
mov word [eax + 6], bp
mov word [eax + 4], bp
mov word [eax + 4], dx
mov word [eax + 6], cx
mov esi, eax
jmp 0x429cff
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp ecx, ebp
je 0x429d7a
mov eax, dword [esp + 0x2c]
cmp eax, ecx
je 0x429d7a
jmp 0x429d66
mov edx, dword [ecx]
cmp eax, edx
je 0x429df9
jmp 0x429ded
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x429d52
mov edx, dword [esp + 0x14]
mov esi, eax
lea ecx, [edx - 8]
mov edx, dword [esp + 0x10]
add edx, 0xfffffff8
mov dword [eax], ebp
mov word [eax + 6], bp
mov word [eax + 4], bp
mov word [eax + 4], dx
mov word [eax + 6], cx
jmp 0x429d54
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp ecx, ebp
je 0x429d7a
mov eax, dword [esp + 0x2c]
cmp eax, ecx
je 0x429d7a
mov bl, byte [esp + 0x34]
mov edi, dword [esp + 0x28]
cmp eax, ebp
jne 0x429d13
cmp edi, ecx
jne 0x429d13
test bl, bl
je 0x429d13
push esi
lea ecx, [esp + 0x28]
call fcn.00402a70
jmp 0x429e15
cmp eax, ebp
jne 0x429e15
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x429dbf
mov edx, dword [esp + 0x14]
mov dword [eax], ebp
add esi, 0xfffffff8
mov word [eax + 6], bp
lea ecx, [edx + 8]
mov word [eax + 4], bp
mov word [eax + 4], si
mov word [eax + 6], cx
mov esi, eax
jmp 0x429dc1
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp ecx, ebp
je 0x429d7a
mov eax, dword [esp + 0x2c]
cmp eax, ecx
je 0x429d7a
mov bl, byte [esp + 0x34]
mov edi, dword [esp + 0x28]
cmp eax, ebp
jne 0x429de7
cmp edi, ecx
jne 0x429de7
test bl, bl
jne 0x429d7a
mov edx, dword [ecx]
cmp eax, edx
je 0x429df9
cmp eax, ebp
jne 0x429e05
cmp edi, ecx
jne 0x429e05
test bl, bl
jne 0x429e05
push esi
lea ecx, [esp + 0x28]
call fcn.00402af0
jmp 0x429e0f
mov dword [esi], edx
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov dword [eax], esi
mov ecx, dword [esp + 0x24]
mov dword [ecx], esi
cmp dword [esp + 0x1c], ebp
jg 0x429c78
cmp dword [esp + 0x48], ebp
jle 0x429e6c
mov esi, dword [sym.imp.MSVCRT.dll_fread]
mov edi, dword [esp + 0x40]
push edi
push 4
lea edx, [esp + 0x8c]
push 4
push edx
call esi
add esp, 0x10
cmp eax, 4
je 0x429e5f
push 0x4b6d78
push 1
push 0x4b6db8
push 0x4cb12c
call fcn.00441210
add esp, 0x10
mov eax, dword [esp + 0x48]
dec eax
cmp eax, ebp
mov dword [esp + 0x48], eax
jg 0x429e2f
mov eax, dword [esp + 0x44]
dec eax
cmp eax, ebp
mov dword [esp + 0x44], eax
jg 0x42990d
xor ebx, ebx
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0
push 0x4331a0
call fcn.0043fe20
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x9c], 0xffffffff
cmp eax, ebx
je 0x429ec2
push eax
call fcn.00442aa0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret