Function at 0x45f1d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004391ff
mov esi, dword [ebp + 8]
xor edi, edi
mov di, word [esi]
mov eax, edi
call fcn.00431c5f
xor ebx, ebx
test al, al
jne 0x45f3a5
push 4
push esi
push str._UNI
call fcn.00432c0f
add esp, 0xc
test al, al
jne 0x45f242
push 5
push esi
push str._UNIB
call fcn.00432c0f
add esp, 0xc
test al, al
jne 0x45f305
push 8
push esi
push str._UNICODE
call fcn.00432c0f
add esp, 0xc
test al, al
je 0x45f2f1
mov dword [ebp - 0xc], 0x4b0
lea eax, [ebp + 8]
push eax
call fcn.00404807
push 4
lea eax, [ebp + 8]
push eax
push str.fix
call fcn.00438eee
neg al
sbb al, al
push 4
and eax, 2
mov byte [ebp - 0x2c], al
lea eax, [ebp + 8]
push eax
push str._nl
call fcn.00438eee
mov byte [ebp - 4], al
push 2
lea eax, [ebp + 8]
push eax
push 0x4a05ec
call fcn.00438eee
add esp, 0x28
mov esi, 0x497994
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 2], al
call fcn.004419bc
push 0x4a05e4
lea ecx, [ebp - 0x34]
call fcn.004419bc
push 1
push 0x2c
pop edi
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14], ebx
call fcn.00443720
push ebx
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.00439b04
push dword [ebp - 0x38]
call fcn.0040f738
add esp, 0x10
cmp word [eax], bx
mov dword [ebp - 0x1c], eax
jne 0x45f3e5
mov ebx, 0x80070057
jmp 0x45f767
push 9
push esi
push str._UNICODEB
call fcn.00432c0f
add esp, 0xc
test al, al
je 0x45f311
mov dword [ebp - 0xc], 0x4b1
jmp 0x45f249
push 5
push esi
push str._UTF8
call fcn.00432c0f
add esp, 0xc
test al, al
je 0x45f331
mov dword [ebp - 0xc], 0xfde9
jmp 0x45f249
push 5
push esi
push str._UTF7
call fcn.00432c0f
add esp, 0xc
test al, al
je 0x45f351
mov dword [ebp - 0xc], 0xfde8
jmp 0x45f249
push 4
push esi
push str._GBK
call fcn.00432c0f
add esp, 0xc
test al, al
je 0x45f371
mov dword [ebp - 0xc], 0x3a8
jmp 0x45f249
push 5
push esi
push str._BIG5
call fcn.00432c0f
add esp, 0xc
test al, al
je 0x45f391
mov dword [ebp - 0xc], 0x3b6
jmp 0x45f249
push 5
push esi
push str._ANSI
call fcn.00432c0f
add esp, 0xc
test al, al
je 0x45f3ad
mov dword [ebp - 0xc], ebx
jmp 0x45f249
cmp di, 0x2d
jne 0x45f3dd
xor eax, eax
lea ecx, [esi + 2]
mov ax, word [ecx]
push eax
call fcn.00410c71
add esp, 4
test al, al
je 0x45f3dd
push ecx
mov dword [ebp + 8], ecx
call fcn.00437c70
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
jge 0x45f249
xor ebx, ebx
inc ebx
jmp 0x45f777
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x45f42c
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00431c97
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
je 0x45f429
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00443720
push ebx
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00439b04
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x45f42c
lea esi, [eax + 2]
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x24
mov dword [ebp + 8], eax
mov byte [ebp - 3], bl
mov byte [ebp - 1], bl
jne 0x45f449
mov cl, byte [eax]
add eax, 2
mov byte [ebp - 3], cl
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00431c97
mov eax, dword [ebp + 8]
pop ecx
mov cx, word [eax]
cmp cx, 0x2b
je 0x45f465
cmp cx, 0x2d
jne 0x45f46f
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp - 1], cl
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00431c97
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call fcn.00410c71
add esp, 8
test al, al
je 0x45f4a5
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00439d51
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jl 0x45f767
lea ecx, [ebp - 0x10]
call fcn.0043717e
cmp byte [ebp - 3], bl
je 0x45f4c4
mov ecx, dword [ebp - 0x44]
push 1
push ebx
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0043fdd2
jmp 0x45f4cd
push esi
lea ecx, [ebp - 0x10]
call fcn.00441a24
push dword [ebp - 0x1c]
xor esi, esi
push 0x498128
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0xb], bl
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x45f4f6
mov eax, dword [0x4ae2e8]
mov byte [ebp + 0xb], 2
jmp 0x45f512
push dword [ebp - 0x1c]
push 0x498920
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x45f515
mov eax, dword [0x4ae2e4]
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x24], eax
cmp byte [ebp - 4], bl
jne 0x45f52c
cmp byte [ebp - 2], bl
jne 0x45f52c
push 0x497d7c
lea ecx, [ebp - 0x10]
call fcn.004371ec
cmp byte [ebp - 2], bl
mov dword [ebp - 0x20], ebx
je 0x45f540
mov dword [ebp - 0xc], 0x4b0
jmp 0x45f6ab
cmp byte [ebp + 0xb], bl
jne 0x45f6ab
push dword [ebp - 0x1c]
push 0x49abb8
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x45f567
push 0x100
call fcn.004359bb
pop ecx
push ebx
push 0x80
push 3
push ebx
push 7
mov edi, 0xc0000000
push edi
push dword [ebp - 0x1c]
lea ecx, [ebp - 8]
call fcn.00404863
mov esi, dword [ebp - 8]
cmp esi, ebx
jne 0x45f5b1
push ebx
push ebx
push dword [ebp - 0x1c]
call fcn.0043df9f
add esp, 0xc
push ebx
push 0x80
push 4
push ebx
push 7
push edi
push dword [ebp - 0x1c]
lea ecx, [ebp - 8]
call fcn.00404863
mov esi, dword [ebp - 8]
cmp esi, ebx
mov dword [ebp - 0x24], esi
jne 0x45f5c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x45f757
xor eax, eax
push ebx
mov byte [ebp - 0x5c], bl
mov byte [ebp - 0x5b], bl
mov byte [ebp - 0x5a], bl
lea edi, [ebp - 0x59]
stosw word es:[edi], ax
lea eax, [ebp - 0x4c]
push eax
push 3
lea eax, [ebp - 0x5c]
push eax
push esi
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x5c], 0xff
push 2
pop edi
jne 0x45f603
cmp byte [ebp - 0x5b], 0xfe
jne 0x45f639
mov dword [ebp - 0xc], 0x4b0
mov dword [ebp - 0x20], edi
cmp byte [ebp - 0x5c], 0xfe
jne 0x45f619
cmp byte [ebp - 0x5b], 0xff
jne 0x45f639
mov dword [ebp - 0xc], 0x4b1
mov dword [ebp - 0x20], edi
cmp byte [ebp - 0x5c], 0xef
jne 0x45f639
cmp byte [ebp - 0x5b], 0xbb
jne 0x45f639
cmp byte [ebp - 0x5a], 0xbf
jne 0x45f639
mov dword [ebp - 0xc], 0xfde9
mov dword [ebp - 0x20], 3
cmp dword [ebp - 0x4c], ebx
push ebx
jne 0x45f69c
push ebx
push ebx
push esi
call fcn.00432bc3
add esp, 0x10
cmp dword [ebp - 0xc], 0x4b0
jne 0x45f660
push ebx
lea eax, [ebp - 0x60]
push eax
push edi
push 0x49c8e8
jmp 0x45f674
cmp dword [ebp - 0xc], 0x4b1
jne 0x45f680
push ebx
lea eax, [ebp - 0x60]
push eax
push edi
push 0x49c8ec
mov dword [ebp - 0x20], edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x45f6ab
cmp dword [ebp - 0xc], 0xfde9
jne 0x45f6ab
push 3
pop eax
push ebx
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [ebp - 0x20], eax
push 0x49c8f0
jmp 0x45f677
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
push esi
call fcn.00432bc3
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0xc]
shl eax, 1
cmp edi, 0x4b0
mov dword [ebp - 0x18], eax
je 0x45f71a
cmp edi, 0x4b1
jne 0x45f6d9
push eax
push dword [ebp - 0x10]
call fcn.0043599a
pop ecx
pop ecx
jmp 0x45f71a
cmp edi, 0xfde9
jne 0x45f6ee
lea ecx, [ebp - 0x10]
call fcn.0040c470
mov dword [ebp - 0x18], eax
jmp 0x45f71a
mov eax, dword [ebp - 0x10]
movzx ecx, di
push ecx
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x10], ebx
call fcn.00437106
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x18], eax
call fcn.00431c4c
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
je 0x45f786
mov edi, dword [ebp - 0x24]
cmp edi, 0xffffffff
jne 0x45f732
xor ebx, ebx
inc ebx
jmp 0x45f757
push ebx
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0x18]
mov dword [ebp + 8], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call esi
push edi
call esi
push edi
call esi
push edi
call esi
lea ecx, [ebp - 8]
call fcn.00402b75
lea ecx, [ebp - 0x10]
call fcn.00431c4c
lea ecx, [ebp - 0x34]
call fcn.00431c4c
lea ecx, [ebp - 0x38]
call fcn.00431c4c
lea ecx, [ebp - 0x6c]
call fcn.00431c4c
mov eax, ebx
jmp 0x45fd5e
lea ecx, [ebp - 0x60]
call fcn.0043717e
lea ecx, [ebp - 0x5c]
call fcn.0043717e
lea ecx, [ebp - 0x54]
call fcn.00437055
lea ecx, [ebp - 0xc]
call fcn.00437055
cmp byte [ebp - 2], bl
je 0x45fa15
lea ecx, [ebp + 8]
call fcn.0043717e
mov edi, dword [ebp - 0x1c]
cmp word [edi], 0x26
je 0x45f7c9
mov eax, dword [ebp - 0x44]
test byte [eax + 9], 0xf
je 0x45f7fa
mov esi, 0x4b069c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x44]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00411179
cmp eax, ebx
je 0x45f7f1
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp + 8]
call fcn.004372a4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45f806
lea eax, [ebp + 8]
push eax
push edi
call fcn.004408b8
pop ecx
pop ecx
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [ebp - 1], 0x2d
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], ebx
jne 0x45f823
mov dword [ebp - 0x18], ebx
jmp 0x45f82e
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
xor edx, edx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], edx
jne 0x45f8a4
cmp byte [ebp - 1], 0x2b
je 0x45f931
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jle 0x45f891
cmp word [edi + eax*2 - 2], 0xa
jne 0x45f864
lea esi, [eax - 1]
cmp esi, ebx
jle 0x45f891
cmp word [edi + esi*2 - 2], 0xd
jne 0x45f864
dec esi
cmp esi, ebx
jle 0x45f891
lea ecx, [edi + esi*2 - 2]
jmp 0x45f877
cmp word [ecx], 0xa
je 0x45f87d
dec esi
dec ecx
dec ecx
cmp ecx, edi
jae 0x45f86e
jmp 0x45f891
cmp byte [ebp - 1], 0x2d
jne 0x45f891
dec esi
dec ecx
dec ecx
cmp ecx, edi
jb 0x45f891
cmp word [ecx], 0xd
jne 0x45f891
dec esi
cmp byte [ebp - 1], 0x2d
mov word [edi + esi*2], bx
jne 0x45f937
jmp 0x45f9fc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
xor eax, eax
cmp byte [ebp - 1], 0x2b
mov esi, edi
sete cl
inc ecx
mov dword [ebp - 0x3c], ecx
jmp 0x45f921
mov cx, word [esi]
cmp cx, bx
je 0x45f926
cmp cx, 0xa
je 0x45f8e8
cmp cx, 0xd
jne 0x45f8dc
inc esi
inc esi
cmp word [esi], 0xa
je 0x45f903
inc esi
inc esi
mov cx, word [esi]
cmp cx, bx
jne 0x45f8c8
jmp 0x45f921
cmp dword [ebp - 0x3c], edx
jne 0x45f8f6
mov ecx, esi
sub ecx, edi
sar ecx, 1
mov dword [ebp - 0x20], ecx
cmp edx, 2
jne 0x45f91e
mov eax, esi
sub eax, edi
sar eax, 1
jmp 0x45f91e
cmp dword [ebp - 0x3c], edx
jne 0x45f912
mov ecx, esi
sub ecx, edi
sar ecx, 1
dec ecx
mov dword [ebp - 0x20], ecx
cmp edx, 2
jne 0x45f91e
mov eax, esi
sub eax, edi
sar eax, 1
dec eax
dec edx
inc esi
inc esi
cmp edx, dword [ebp - 0x3c]
jge 0x45f8c0
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x3c], edx
cmp byte [ebp - 1], 0x2d
je 0x45f94a
cmp esi, ebx
jle 0x45f94a
cmp word [edi + esi*2 - 2], 0xa
je 0x45f94a
mov dword [ebp - 0x2c], 2
mov eax, dword [ebp - 0x18]
add eax, edx
add eax, dword [ebp - 0x2c]
lea ecx, [edi + esi*2]
lea eax, [eax + esi + 1]
cmp dword [ebp - 0x24], eax
mov dword [ebp - 0x4c], eax
jl 0x45f986
cmp edx, ebx
jle 0x45f986
lea eax, [edx + edx]
mov edx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
sub eax, esi
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebp - 0x2c]
add edx, eax
lea eax, [ecx + edx*2]
push eax
call fcn.00410b0e
add esp, 0xc
push dword [ebp - 0x4c]
lea ecx, [ebp + 8]
call fcn.004371c5
mov eax, dword [ebp + 8]
lea edi, [eax + esi*2]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x24], eax
jge 0x45f9c7
cmp dword [ebp - 0x3c], ebx
jle 0x45f9c7
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, eax
push eax
mov eax, dword [ebp - 0x20]
sub eax, esi
lea eax, [edi + eax*2]
push eax
mov eax, dword [ebp - 0x18]
add eax, ecx
lea eax, [edi + eax*2]
push eax
call fcn.00410b0e
add esp, 0xc
cmp dword [ebp - 0x2c], ebx
je 0x45f9da
mov word [edi], 0xd
inc edi
inc edi
mov word [edi], 0xa
inc edi
inc edi
cmp dword [ebp - 0x18], ebx
jle 0x45f9f2
mov esi, dword [ebp - 0x18]
push esi
push dword [ebp - 0x10]
push edi
call fcn.004047cb
add esp, 0xc
lea edi, [edi + esi*2]
mov eax, dword [ebp - 0x3c]
mov word [edi + eax*2], bx
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
push edi
push dword [ebp - 0x1c]
call fcn.00436b54
lea ecx, [ebp + 8]
call fcn.00431c4c
jmp 0x45fd14
cmp dword [ebp - 0x14], ebx
jne 0x45fac5
cmp byte [ebp - 1], 0x2b
je 0x45fab6
mov eax, dword [ebp - 0x20]
cdq
push ebx
push edx
push eax
push esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call fcn.00432bc3
push 1
push ebx
push ebx
push esi
call fcn.00432bc3
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x44], edx
call fcn.0043dc98
add esp, 0x30
jmp 0x45fa91
mov eax, dword [ebp - 0x48]
push 1
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
push ebx
push esi
mov dword [ebp - 0x4c], eax
call fcn.00432bc3
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x44], edx
call fcn.0043dc98
add esp, 0x20
test eax, eax
jne 0x45fa61
push ebx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push esi
call fcn.00432bc3
push dword [ebp - 0x4c]
lea eax, [ebp - 8]
push dword [ebp - 0x50]
push eax
call fcn.0043dfea
add esp, 0x1c
jmp 0x45faf3
push 2
push ebx
push ebx
push esi
call fcn.00432bc3
add esp, 0x10
jmp 0x45faf3
xor eax, eax
inc eax
cmp dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
jle 0x45faf3
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.0043dc98
add esp, 0x10
test eax, eax
je 0x45faf3
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x45fad0
cmp byte [ebp - 1], 0x2b
jne 0x45fba2
cmp dword [ebp - 0x14], ebx
jne 0x45fb15
push dword [ebp - 0x18]
lea ecx, [ebp - 8]
push dword [ebp - 0x3c]
call fcn.00431baf
jmp 0x45fd14
push 1
push ebx
push ebx
push esi
call fcn.00432bc3
push esi
mov edi, eax
call fcn.00477e78
add esp, 0x14
sub eax, edi
mov dword [ebp + 8], eax
jns 0x45fb34
mov dword [ebp + 8], ebx
add eax, 0xca
push eax
lea ecx, [ebp - 0x44]
call fcn.00437072
mov eax, edi
cdq
push ebx
push edx
mov edi, eax
push edi
push esi
mov dword [ebp - 0x2c], edx
call fcn.00432bc3
add esp, 0x10
push ebx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
push dword [ebp - 0x44]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 0x2c]
push edi
push esi
call fcn.00432bc3
add esp, 0x10
push dword [ebp - 0x18]
lea ecx, [ebp - 8]
push dword [ebp - 0x3c]
call fcn.00431baf
cmp dword [ebp + 8], ebx
jle 0x45fb9a
push dword [ebp + 8]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.00431baf
lea ecx, [ebp - 0x44]
jmp 0x45fd0f
cmp byte [ebp - 1], 0x2d
jne 0x45fc51
cmp dword [ebp - 0x14], ebx
je 0x45fd14
push 1
push ebx
push ebx
push esi
call fcn.00432bc3
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x44], edx
call fcn.0043dc98
push 1
push ebx
push ebx
push esi
call fcn.00432bc3
push esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.00477e78
mov edi, eax
sub edi, dword [ebp - 0x40]
add esp, 0x34
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x2c], edx
call fcn.00437072
push ebx
lea eax, [ebp - 0x4c]
push eax
add edi, 0xc8
push edi
push dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
call fcn.00432bc3
push dword [ebp - 0x44]
lea eax, [ebp - 8]
push dword [ebp - 0x48]
push eax
call fcn.0043dfea
add esp, 0x1c
push dword [ebp - 0x4c]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.00431baf
jmp 0x45fd0c
cmp dword [ebp - 0x14], ebx
je 0x45fb02
push 1
push ebx
push ebx
push esi
call fcn.00432bc3
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x44], edx
call fcn.0043dc98
push 1
push ebx
push ebx
push esi
call fcn.00432bc3
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
call fcn.00477e78
mov edi, eax
sub edi, dword [ebp - 0x30]
add esp, 0x34
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], edx
call fcn.00437072
push ebx
lea eax, [ebp - 0x4c]
push eax
add edi, 0xc8
push edi
push dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
call fcn.00432bc3
add esp, 0x10
push dword [ebp - 0x18]
lea ecx, [ebp - 8]
push dword [ebp - 0x3c]
call fcn.00431baf
push dword [ebp - 0x4c]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.00431baf
push 1
push ebx
push ebx
push esi
call fcn.00432bc3
mov dword [ebp - 0x2c], edx
cdq
push edx
push eax
lea eax, [ebp - 8]
push eax
call fcn.0043dfea
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.00431c4c
lea ecx, [ebp - 0xc]
call fcn.00431c4c
lea ecx, [ebp - 0x54]
call fcn.00431c4c
lea ecx, [ebp - 0x5c]
call fcn.00431c4c
lea ecx, [ebp - 0x60]
call fcn.00431c4c
lea ecx, [ebp - 8]
call fcn.00402b75
lea ecx, [ebp - 0x10]
call fcn.00431c4c
lea ecx, [ebp - 0x34]
call fcn.00431c4c
lea ecx, [ebp - 0x38]
call fcn.00431c4c
lea ecx, [ebp - 0x6c]
call fcn.00431c4c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8