Function at 0x424d50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov dword [esp + 0x10], ecx
je 0x4256af
lea edi, [ebp + 0x58]
mov ecx, 0x100
xor eax, eax
mov byte [ebp + 8], 0
mov dword [ebp + 0x14], esi
mov dword [ebp], esi
mov dword [ebp + 4], esi
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x30], 0x40
mov dword [ebp + 0x458], esi
mov dword [esp + 0x30], edi
rep stosd dword es:[edi], eax
push 0x150
call fcn.00429f70
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x4256af
mov eax, dword [esp + 0x38]
push 0x150
push ebx
push eax
call fcn.00433bf0
push 0x15
call fcn.00429f70
add esp, 0x10
cmp eax, esi
mov dword [ebp], eax
je 0x424eb7
push 0x15
call fcn.00429f70
add esp, 4
cmp eax, esi
mov dword [ebp + 4], eax
je 0x424ead
mov edx, dword [ebp]
xor ecx, ecx
xor eax, eax
lea esi, [ebx + 0x11]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], cl
mov ecx, dword [ebp + 4]
xor edx, edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], al
mov edi, dword [ebp]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 4]
lea esi, [ebx + 0x26]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov dx, word [ebx + 0x40]
xor ecx, ecx
mov dword [ebp + 0x14], edx
mov ax, word [ebx + 0x42]
mov dword [ebp + 0x18], eax
mov cx, word [ebx + 0x44]
xor edx, edx
mov dword [ebp + 0x20], ecx
mov dx, word [ebx + 0x46]
xor eax, eax
mov dword [ebp + 0x24], edx
mov ax, word [ebx + 0x48]
xor ecx, ecx
mov dword [ebp + 0x28], eax
mov cx, word [ebx + 0x4a]
mov dword [ebp + 0x2c], ecx
mov al, byte [ebx + 0x4a]
test al, 1
je 0x424e71
mov byte [ebp + 0x10], 4
jmp 0x424e75
mov byte [ebp + 0x10], 0
mov edx, dword [ebp + 0x14]
xor eax, eax
mov ax, word [ebx + 0x4c]
xor esi, esi
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x3c], eax
xor eax, eax
mov ax, word [ebx + 0x4e]
mov dword [ebp + 0x48], esi
shl edx, 2
push edx
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x4c], esi
call fcn.00429f70
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [ebp + 0x50], edi
jne 0x424eca
mov ecx, dword [esp + 0x10]
push ebp
call fcn.00421e20
push ebx
call fcn.00429ec0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [ebp + 0x14]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ecx, esi
jbe 0x424efd
mov edx, dword [ebp + 0x50]
xor ecx, ecx
mov cl, byte [ebx + eax + 0x50]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp + 0x14]
inc eax
cmp eax, ecx
jb 0x424ee9
push ebx
call fcn.00429ec0
mov eax, dword [ebp + 0x24]
shl eax, 4
push eax
call fcn.00429f70
add esp, 8
cmp eax, esi
mov dword [ebp + 0x54], eax
je 0x4256a5
mov ecx, dword [ebp + 0x24]
xor eax, eax
cmp ecx, esi
jbe 0x424f3a
xor ecx, ecx
mov edx, dword [ebp + 0x54]
inc eax
mov dword [ecx + edx + 0xc], esi
mov edx, dword [ebp + 0x24]
add ecx, 0x10
cmp eax, edx
jb 0x424f28
push 9
call fcn.00429f70
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [esp + 0x14], edi
je 0x4256a5
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x18], esi
cmp eax, esi
jbe 0x425128
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x38]
push 9
push edi
push eax
xor ebx, ebx
call fcn.00433bf0
mov ecx, dword [edi]
mov edx, dword [esp + 0x44]
sub ecx, 9
push 1
push ecx
push edx
call fcn.00431390
mov ecx, dword [ebp + 0x54]
xor eax, eax
mov ax, word [edi + 5]
add esp, 0x18
mov dword [esi + ecx + 8], eax
mov edx, dword [ebp + 0x54]
mov dword [esi + edx + 4], 1
cmp word [edi + 7], bx
jne 0x424fbc
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x54]
mov edx, dword [ecx + 0x5c]
mov dword [esi + eax + 0xc], edx
jmp 0x42510d
xor eax, eax
mov ax, word [edi + 5]
imul eax, dword [ebp + 0x20]
lea eax, [eax + eax*4]
push eax
call fcn.00429f70
mov esi, eax
add esp, 4
test esi, esi
je 0x425178
mov ecx, dword [ebp + 0x54]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [edx + ecx + 0xc], esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov ax, word [ecx + 7]
push eax
push 0x483ecc
push edx
call fcn.00433bf0
mov eax, dword [esp + 0x20]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x28], edi
cmp word [eax + 5], di
jbe 0x4250ee
mov eax, dword [ebp + 0x20]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1c], cl
jbe 0x4250d3
mov al, byte [edi + 0x483ecc]
inc edi
test ecx, ecx
mov byte [esp + 0x2c], al
je 0x42504e
cmp al, 0x80
je 0x4250ac
mov cl, byte [esp + 0x1c]
mov byte [esi], cl
inc esi
inc ebx
xor ecx, ecx
mov dword [esp + 0x24], ecx
test al, 0x80
je 0x425090
cmp al, 0x80
jne 0x425061
mov ecx, 1
mov dword [esp + 0x24], ecx
jmp 0x4250ac
mov ecx, dword [esp + 0x2c]
mov byte [esi], al
inc esi
inc ebx
mov eax, 1
and ecx, 0xff
test eax, ecx
je 0x425083
mov dl, byte [edi + 0x483ecc]
inc edi
mov byte [esi], dl
inc esi
inc ebx
add eax, eax
cmp eax, 0x20
jb 0x425074
mov ecx, dword [esp + 0x24]
jmp 0x4250ac
mov byte [esi], 0x9f
inc esi
mov byte [esi], al
inc esi
mov eax, 4
mov dl, byte [edi + 0x483ecc]
inc edi
mov byte [esi], dl
inc esi
dec eax
jne 0x42509c
add ebx, 6
mov al, byte [esp + 0x1c]
mov edx, dword [ebp + 0x20]
inc al
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
and eax, 0xff
cmp eax, edx
jb 0x42502d
test ecx, ecx
je 0x4250d3
mov byte [esi], 0
inc esi
inc ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
xor ecx, ecx
inc eax
mov cx, word [edx + 5]
mov dword [esp + 0x28], eax
cmp eax, ecx
jb 0x425018
mov eax, dword [ebp + 0x54]
mov esi, dword [esp + 0x20]
push ebx
mov ecx, dword [esi + eax + 0xc]
push ecx
call fcn.00428180
mov edx, dword [ebp + 0x54]
mov edi, dword [esp + 0x1c]
add esp, 8
mov dword [esi + edx], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x24]
inc eax
add esi, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
jb 0x424f67
push edi
call fcn.00429ec0
push 0xf3
call fcn.00429f70
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x4256a5
push 0x28
call fcn.00429f70
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x425195
push ebx
call fcn.00429ec0
mov ecx, dword [esp + 0x14]
add esp, 4
push ebp
call fcn.00421e20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x10]
push ebp
call fcn.00421e20
push edi
call fcn.00429ec0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x18], 0
test eax, eax
jbe 0x425670
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x38]
push 0x1d
push ebx
push esi
call fcn.00433bf0
add esp, 0xc
cmp word [ebx + 0x1b], 0
jne 0x4251dd
mov ecx, dword [ebx]
push 1
sub ecx, 0x1d
push ecx
push esi
call fcn.00431390
add esp, 0xc
jmp 0x42564b
mov eax, dword [esp + 0x38]
lea edx, [ebx + 0x1d]
push 0xd6
push edx
push eax
call fcn.00433bf0
push 0x200
call fcn.00429f70
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4256b9
lea edi, [ebp + 0x28]
mov ecx, 0x10
xor eax, eax
lea esi, [ebx + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
mov edi, ebp
xor edx, edx
mov dword [ecx], ebp
mov ecx, 8
rep stosd dword es:[edi], eax
mov ecx, 5
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dl, byte [ebx + 0x1a]
mov ecx, 0x30
mov dword [ebp + 0x20], edx
mov ax, word [ebx + 0x1b]
lea edx, [ebp + 0x68]
mov dword [ebp + 0x24], eax
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x21]
mov ecx, 0x18
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea edi, [ebp + 0x128]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [ebp + 0x168]
rep stosd dword es:[edi], eax
mov byte [ebp + 0x1e8], al
mov al, byte [ebx + 0xe1]
test al, al
jbe 0x4252d0
xor eax, eax
mov al, byte [ebp + 0x1e8]
mov cx, word [ebx + eax*4 + 0x81]
mov word [ebp + eax*4 + 0x128], cx
xor eax, eax
mov al, byte [ebp + 0x1e8]
shl eax, 2
mov dx, word [eax + ebx + 0x83]
mov word [eax + ebp + 0x12a], dx
mov dl, byte [ebp + 0x1e8]
inc dl
mov byte [ebp + 0x1e8], dl
mov cl, byte [ebx + 0xe1]
mov al, dl
cmp al, cl
jb 0x425283
mov byte [ebp + 0x1e9], 0
mov al, byte [ebx + 0xe2]
test al, al
jbe 0x42532e
xor eax, eax
mov al, byte [ebp + 0x1e9]
mov cx, word [ebx + eax*4 + 0xb1]
mov word [ebp + eax*4 + 0x168], cx
xor eax, eax
mov al, byte [ebp + 0x1e9]
shl eax, 2
mov dx, word [eax + ebx + 0xb3]
mov word [eax + ebp + 0x16a], dx
mov dl, byte [ebp + 0x1e9]
inc dl
mov byte [ebp + 0x1e9], dl
mov cl, byte [ebx + 0xe2]
mov al, dl
cmp al, cl
jb 0x4252e1
mov al, byte [ebx + 0xe3]
push 1
mov byte [ebp + 0x1eb], al
mov cl, byte [ebx + 0xe4]
mov byte [ebp + 0x1ec], cl
mov dl, byte [ebx + 0xe5]
mov byte [ebp + 0x1ed], dl
mov al, byte [ebx + 0xe6]
mov byte [ebp + 0x1ee], al
mov cl, byte [ebx + 0xe7]
mov byte [ebp + 0x1ef], cl
mov dl, byte [ebx + 0xe8]
mov byte [ebp + 0x1f0], dl
mov al, byte [ebx + 0xe9]
mov byte [ebp + 0x1f4], al
mov cl, byte [ebx + 0xea]
mov byte [ebp + 0x1f5], cl
mov dl, byte [ebx + 0xeb]
mov byte [ebp + 0x1f7], dl
mov al, byte [ebx + 0xec]
mov byte [ebp + 0x1f8], al
mov cl, byte [ebx + 0xed]
mov byte [ebp + 0x1f9], cl
mov dl, byte [ebx + 0xee]
mov byte [ebp + 0x1fa], dl
mov ax, word [ebx + 0xef]
mov edx, dword [esp + 0x3c]
mov word [ebp + 0x1fc], ax
mov ecx, dword [ebx]
sub ecx, 0xf3
push ecx
push edx
call fcn.00431390
mov eax, dword [ebp + 0x24]
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], 0
jbe 0x4254e2
lea ebx, [ebp + 0x28]
push 0x38
call fcn.00429f70
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x4256e4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
push 0x28
push esi
push eax
call fcn.00433bf0
mov eax, dword [esi]
add esp, 0xc
test eax, eax
jne 0x425436
mov ecx, dword [ebx]
mov dword [ecx], eax
mov edx, dword [ebx]
mov dword [edx + 0x34], eax
jmp 0x4254cb
test byte [esi + 0xe], 0x10
je 0x42544f
add eax, 2
push eax
call fcn.00429f70
mov ecx, dword [ebx]
add esp, 4
mov dword [ecx + 0x34], eax
jmp 0x42545e
inc eax
push eax
call fcn.00429f70
mov edx, dword [ebx]
add esp, 4
mov dword [edx + 0x34], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x425713
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
lea esi, [edx + 0x12]
mov dword [eax], ecx
mov eax, dword [ebx]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [edx + 8]
mov ecx, dword [ebx]
dec eax
mov dword [ecx + 8], eax
mov eax, dword [ebx]
mov cl, byte [edx + 0xc]
mov byte [eax + 0xc], cl
mov eax, dword [ebx]
mov cl, byte [edx + 0xd]
mov byte [eax + 0xd], cl
mov eax, dword [ebx]
mov cl, byte [edx + 0xe]
mov byte [eax + 0xe], cl
mov eax, dword [ebx]
mov cl, byte [edx + 0xf]
mov byte [eax + 0xf], cl
mov eax, dword [ebx]
mov cl, byte [edx + 0x10]
mov byte [eax + 0x10], cl
mov edi, dword [ebx]
mov ecx, 8
xor eax, eax
add edi, 0x12
rep stosd dword es:[edi], eax
mov edi, dword [ebx]
mov ecx, 5
add edi, 0x12
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x24]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4253fa
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x425647
lea eax, [ebp + 0x28]
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
mov eax, dword [eax + 0x34]
push edx
push eax
push ecx
call fcn.00433bf0
mov eax, dword [ebx]
add esp, 0xc
test byte [eax + 0xe], 0x10
je 0x4255bb
mov ecx, dword [eax]
mov edx, dword [eax + 0x34]
shr ecx, 1
mov esi, 0
je 0x425630
mov eax, edx
mov edi, ecx
add word [eax], si
mov si, word [eax]
add eax, 2
dec edi
jne 0x425532
test ecx, ecx
je 0x425630
mov word [edx + ecx*2], 0
mov eax, dword [ebx]
mov cl, byte [eax + 0xe]
test cl, 3
je 0x425630
mov esi, dword [eax + 8]
lea edi, [esi + 1]
cmp edi, 0xc
jae 0x425570
and cl, 0xfc
mov byte [eax + 0xe], cl
jmp 0x425630
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
shr ecx, 1
shr eax, 1
mov cx, word [edx + ecx*2]
cmp eax, 1
mov word [edx + eax*2], cx
jbe 0x425598
movsx esi, word [edx + eax*2 - 4]
movsx ecx, cx
add esi, ecx
sar esi, 1
mov word [edx + eax*2 - 2], si
mov ecx, dword [ebx]
mov ecx, dword [ecx + 8]
shr ecx, 1
cmp eax, ecx
jae 0x425630
movsx ecx, word [edx + eax*2 + 4]
movsx esi, word [edx + eax*2]
add ecx, esi
sar ecx, 1
mov word [edx + eax*2 + 2], cx
jmp 0x425630
mov esi, dword [eax]
mov eax, dword [eax + 0x34]
xor dl, dl
xor ecx, ecx
test esi, esi
jbe 0x425630
add byte [eax + ecx], dl
mov dl, byte [eax + ecx]
inc ecx
cmp ecx, esi
jb 0x4255c8
test ecx, ecx
je 0x425630
mov byte [eax + ecx], 0
mov ecx, dword [ebx]
mov dl, byte [ecx + 0xe]
test dl, 3
je 0x425630
mov esi, dword [ecx + 8]
lea edi, [esi + 1]
cmp edi, 0xc
jae 0x4255f8
and dl, 0xfc
mov byte [ecx + 0xe], dl
jmp 0x425630
mov ecx, dword [ecx + 4]
add esi, ecx
mov cl, byte [ecx + eax]
cmp esi, 1
mov byte [eax + esi], cl
jbe 0x425618
movsx edx, byte [eax + esi - 2]
movsx ecx, cl
add edx, ecx
sar edx, 1
mov byte [eax + esi - 1], dl
mov edx, dword [ebx]
cmp esi, dword [edx + 8]
jae 0x425630
movsx ecx, byte [eax + esi + 2]
movsx edx, byte [eax + esi]
add ecx, edx
sar ecx, 1
mov byte [eax + esi + 1], cl
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x24]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4254fa
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
inc eax
mov edx, dword [ecx + 0x28]
add esi, 4
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
jb 0x4251b0
mov ebp, ecx
push ebx
call fcn.00429ec0
mov eax, dword [esp + 0x20]
push eax
call fcn.00429ec0
mov ecx, dword [ebp + 0x20]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call fcn.00429f70
add esp, 0xc
mov dword [ebp + 0x458], eax
test eax, eax
jne 0x4256af
mov ecx, dword [esp + 0x10]
push ebp
call fcn.00421e20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
push ebx
call fcn.00429ec0
mov edx, dword [esp + 0x20]
push edx
call fcn.00429ec0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
add esp, 8
push eax
call fcn.00421e20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00429ec0
mov edx, dword [esp + 0x20]
push edx
call fcn.00429ec0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
add esp, 8
push eax
call fcn.00421e20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00429ec0
push esi
call fcn.00429ec0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
add esp, 8
push edx
call fcn.00421e20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8