Function at 0x4137b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x446bdb
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.00434390
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x1024], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x103c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x104c]
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0xc], ebx
mov dword [esp + 0x24], esi
je 0x413810
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push esi
call edx
jmp 0x4139f1
cmp dword [edi + 0x14], ebx
jne 0x41381f
mov eax, 0x1f4
jmp 0x4139f1
mov eax, dword [edi]
mov edx, dword [eax + 0xa4]
call edx
test eax, eax
je 0x413837
mov eax, 0x1f5
jmp 0x4139f1
mov eax, dword [edi]
mov edx, dword [eax + 0x94]
mov ecx, edi
call edx
push 0x44b504
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ebx
call fcn.004010e0
lea eax, [esp + 0x1c]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x1048], ebx
call fcn.00401b30
lea ecx, [esp + 0x18]
mov dword [esp + 0x1044], 0xffffffff
call fcn.0040ed90
mov dword [esp + 0x18], ebx
push 0x1002
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.00432d00
mov edx, dword [edi]
mov edx, dword [edx + 0x9c]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x4138ba
lea esi, [eax + 0x6a]
jmp 0x4138f6
push eax
push 1
lea eax, [esp + 0x3c]
push 0x1000
push eax
call fcn.00433b6f
add esp, 0x10
cmp eax, 1
je 0x4138f4
mov ecx, dword [edi + 0x14]
push ecx
call fcn.004338a4
add esp, 4
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffe0b
add esi, 0x1f5
jmp 0x4138f6
xor esi, esi
mov edx, dword [edi]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x20]
test esi, esi
je 0x41391c
cmp esi, 1
jne 0x413a1b
xor ebx, ebx
cmp eax, 0x1000
lea ebp, [eax - 2]
jge 0x413930
mov dword [esp + 0x18], 1
cdq
sub eax, edx
sar eax, 1
xor esi, esi
test eax, eax
jle 0x4139ae
jmp 0x413940
movzx ecx, word [esp + esi*2 + 0x34]
xor edx, edx
cmp dword [edi + 8], edx
je 0x41395f
cmp cx, 0xfefe
ja 0x41395f
rol cx, 8
movzx ecx, cx
mov word [esp + esi*2 + 0x34], cx
cmp cx, 0xd
je 0x41399f
cmp cx, dx
je 0x41399f
cmp esi, edx
jne 0x413996
cmp cx, 0xfffe
jne 0x41397f
mov ebx, 1
mov dword [edi + 8], ebx
jmp 0x413996
cmp cx, 0xfeff
jne 0x41398b
mov dword [edi + 8], edx
jmp 0x413991
cmp cx, 0xa
jne 0x413996
mov ebx, 1
add esi, 1
cmp esi, eax
jl 0x413940
jmp 0x4139ae
mov word [esp + esi*2 + 0x34], dx
mov ebp, esi
mov dword [esp + 0x18], 1
add dword [esp + 0x14], ebp
cmp ebp, ebx
jle 0x4139c4
mov ecx, dword [esp + 0x24]
lea eax, [esp + ebx*2 + 0x34]
push eax
call fcn.00412b00
cmp dword [esp + 0x18], 0
je 0x413889
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0xa0]
lea ecx, [eax + eax + 2]
xor eax, eax
add ecx, dword [esp + 0x28]
adc eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, edi
call edx
xor eax, eax
mov ecx, dword [esp + 0x103c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.00431df7
add esp, 0x1034
ret 4
mov eax, esi
jmp 0x4139f1