Function at 0x42dbe0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x459428
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
mov esi, ecx
test esi, esi
jne 0x42dc5c
cmp byte [ebp + 0x44], cl
jne 0x42dc55
mov byte [ebp + 0x44], 1
mov dword [ebp + 0x48], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42dc37
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0x4c]
call fcn.00419540
or eax, 0xffffffff
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], eax
xor al, al
jmp 0x42df1f
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x42dc74
mov ecx, edi
mov eax, dword [ecx]
mov edx, dword [eax]
mov edi, dword [edi + 0x40]
push 1
call edx
test edi, edi
jne 0x42dc63
xor eax, eax
push 2
push eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
or ebx, 0xffffffff
push esi
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
call fcn.00441445
add esp, 0xc
push esi
call fcn.00440a1c
add esp, 4
push 0
push 0
push esi
mov edi, eax
call fcn.00441445
add esp, 0xc
test edi, edi
jg 0x42dcf2
cmp byte [ebp + 0x44], 0
jne 0x42dceb
mov byte [ebp + 0x44], 1
mov dword [ebp + 0x48], 0xd
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42dcd0
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0x4c]
call fcn.00419540
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], ebx
xor al, al
jmp 0x42df1f
lea eax, [edi + 1]
push eax
call fcn.0043fea8
add esp, 4
push esi
push 1
mov ebx, eax
push edi
push ebx
mov byte [ebx], 0
call fcn.00440d72
add esp, 0x10
cmp eax, 1
push ebx
je 0x42dd4e
call fcn.0043fea3
add esp, 4
cmp byte [ebp + 0x44], 0
jne 0x42dc55
mov byte [ebp + 0x44], 1
mov dword [ebp + 0x48], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42dd40
jmp 0x42dc40
lea ecx, [esp + 0x50]
mov byte [ebx + edi], 0
call fcn.00419130
push 0x11
push str.encoding_GB2312_
lea ecx, [esp + 0x54]
xor esi, esi
push ecx
mov dword [esp + 0x80], esi
call fcn.0042f920
cmp eax, 0xffffffff
jne 0x42dd94
push 0x11
push str.encoding_gb2312_
lea edx, [esp + 0x54]
push edx
call fcn.0042f920
cmp eax, 0xffffffff
je 0x42de31
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
mov byte [esp + 0x74], 1
cmp dword [esp + 0x64], 0x10
mov esi, dword [esp + 0x50]
jae 0x42ddb9
lea esi, [esp + 0x50]
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
call fcn.00435700
mov edi, dword [esp + 0x48]
add esp, 4
push ebx
call fcn.0043fea3
lea ecx, [edi + 1]
add esp, 4
push ecx
call fcn.0043fea8
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x48], esi
mov ebx, eax
mov eax, dword [esp + 0x34]
jae 0x42ddf8
lea eax, [esp + 0x34]
push edi
push eax
push ebx
call fcn.00443e90
add esp, 0xc
mov byte [ebx + edi], 0
cmp dword [esp + 0x48], esi
jb 0x42de1a
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
xor esi, esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], esi
mov byte [esp + 0x18], 0
mov eax, edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.0042ecc0
mov byte [ebx + edi], 0
cmp byte [ebx], 0
mov eax, ebx
mov esi, ebx
je 0x42debd
nop
mov cl, byte [esi]
cmp cl, 0xa
jne 0x42de80
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea eax, [esp + 0x1c]
call fcn.0042ebd0
add esi, 1
mov eax, esi
jmp 0x42deb8
cmp cl, 0xd
jne 0x42deb5
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x42de98
push ecx
push eax
lea eax, [esp + 0x1c]
call fcn.0042ebd0
push 0xa
mov eax, 1
lea edi, [esp + 0x18]
call fcn.00427e00
cmp byte [esi + 1], 0xa
jne 0x42de79
add esi, 2
mov eax, esi
jmp 0x42deb8
add esi, 1
cmp byte [esi], 0
jne 0x42de60
sub esi, eax
je 0x42decc
push esi
push eax
lea eax, [esp + 0x1c]
call fcn.0042ebd0
push ebx
call fcn.0043fea3
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x2c], 0x10
jae 0x42dee4
lea eax, [esp + 0x18]
mov edx, dword [ebp]
push 0
push 0
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
cmp byte [ebp + 0x44], 0
lea ecx, [esp + 0x14]
je 0x42df0f
call fcn.00419170
lea ecx, [esp + 0x4c]
call fcn.00419170
xor al, al
jmp 0x42df1f
call fcn.00419170
lea ecx, [esp + 0x4c]
call fcn.00419170
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0043ef12
add esp, 0x64
ret 4