Function at 0x42ce20
Capabilities:
Clear file content

Disassembly:
sub esp, 0x824
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
xor ebx, ebx
push esi
xor ebp, ebp
mov esi, 1
push edi
mov dword [0x5261e4], ebx
mov dword [0x5261e0], ebx
mov dword [0x5261e8], ebx
mov dword [0x5262d8], esi
mov dword [0x5261c8], 0xffffffff
cmp byte [0x53395a], bl
jne 0x42d026
call fcn.00436e40
test eax, eax
je 0x42cf8a
push esi
push 0x526304
call fcn.00432e40
call fcn.00436e40
test eax, eax
je 0x42cf8a
push 0x526304
push ebx
push 0x5362aa
push 0x535eaa
mov ecx, 0x513904
call fcn.00429e80
push 0x526304
call fcn.004557e0
test al, al
jne 0x42cf44
push 0x456
call fcn.00466160
push eax
push 0x5362aa
call fcn.00498e30
add esp, 8
push 0x400
push 0x526304
lea eax, [esp + 0x38]
push eax
call fcn.0046f500
push esi
push 0x526304
call fcn.00455860
push 0x526304
call fcn.00432480
test al, al
je 0x42cf54
movzx ecx, word [0x526240]
movzx edx, word [0x52623e]
mov eax, dword [0x514fa4]
push ebx
shl ecx, 0x10
add ecx, edx
push ecx
mov ecx, dword [0x514fa0]
push eax
push ecx
push 0x526304
push ebx
call fcn.0040b080
movsx eax, al
sub eax, 0x41
je 0x42cf4e
sub eax, 2
je 0x42cf44
sub eax, 0xb
jne 0x42cf54
mov eax, 0x34
jmp 0x42d440
mov dword [0x533810], esi
push esi
push 0x526304
call fcn.00432e40
call fcn.00436e40
test eax, eax
jne 0x42cf44
push 0x526304
lea edx, [esp + 0x34]
push edx
push 0x4ae
call fcn.00466160
push eax
push 0x5362aa
call fcn.00498e30
add esp, 0x10
cmp byte [0x53395a], bl
jne 0x42d026
mov edi, dword [0x514fa4]
mov esi, dword [0x514fa0]
push ebx
push 0x800
push edi
push esi
call fcn.004b04d0
cmp edx, dword [0x514f9c]
jg 0x42d026
jl 0x42cfc1
cmp eax, dword [0x514f98]
jae 0x42d026
cmp edi, ebx
jl 0x42cff2
jg 0x42cfcf
cmp esi, 0x5f5e100
jbe 0x42cff2
mov ecx, dword [0x5261f0]
call fcn.00431310
cmp edx, dword [0x514f9c]
jl 0x42d026
jg 0x42cfec
cmp eax, dword [0x514f98]
jbe 0x42d026
mov esi, dword [0x514fa0]
mov eax, dword [0x5262ec]
push ebx
push esi
push eax
call fcn.004b1363
mov ecx, dword [0x5262ec]
add esp, 0xc
push ecx
call fcn.00432c50
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [0x5262ec]
push ebx
push ebx
push edx
call fcn.004b1363
add esp, 0xc
call fcn.004363e0
mov cx, word [0x52623c]
movzx eax, cx
cmp eax, 9
ja case.0x42d045.2
movzx eax, byte [eax + 0x42d470]
jmp dword [eax*4 + 0x42d45c]
xor esi, esi
xor edi, edi
mov dword [0x526300], ebx
mov dword [0x5262fc], 0x5161c4
or eax, 0xffffffff
add dword [0x5261d8], eax
adc dword [0x5261dc], eax
js 0x42d08d
jg 0x42d07b
cmp dword [0x5261d8], ebx
jb 0x42d08d
mov ecx, dword [0x5261d0]
movzx eax, byte [ecx]
inc ecx
mov dword [0x5261d0], ecx
jmp 0x42d092
call fcn.00436710
cmp eax, 0xffffffff
je 0x42d129
cmp dword [0x5262d4], ebx
jne 0x42d129
mov ecx, dword [0x5262fc]
mov byte [ecx], al
mov eax, dword [0x526300]
inc dword [0x5262fc]
inc eax
mov dword [0x526300], eax
cmp eax, 0x10000
jne 0x42d060
mov edx, dword [0x526204]
mov ecx, dword [0x5261f0]
add esi, eax
mov eax, dword [0x526200]
push edx
push eax
adc edi, ebx
call fcn.00431210
add eax, dword [0x526208]
mov ecx, dword [0x514fa4]
adc edx, dword [0x52620c]
push edx
mov edx, dword [0x514fa0]
push eax
push ecx
push edx
push edi
push esi
call fcn.00409a20
call fcn.0044b180
cmp byte [0x527e58], bl
jne 0x42d129
mov eax, dword [0x526300]
push ebx
push eax
push 0x5161c4
call fcn.00436f10
jmp 0x42d050
mov eax, dword [0x526300]
cmp eax, ebx
je 0x42d1cd
push ebx
push eax
push 0x5161c4
call fcn.00436f10
jmp 0x42d1cd
call fcn.0047f360
jmp 0x42d1b8
call fcn.0042aee0
cmp eax, ebx
je 0x42d16d
cmp eax, 5
je 0x42d172
xor edx, edx
cmp eax, 3
sete dl
lea edx, [edx*4 + 2]
mov ebp, edx
cmp eax, 5
jne 0x42d1cd
mov ecx, dword [0x514fa8]
xor eax, eax
cmp eax, dword [0x52624c]
jg 0x42d19c
jl 0x42d18c
cmp ecx, dword [0x526248]
ja 0x42d19c
mov eax, 1
neg eax
sbb eax, eax
add eax, 2
mov ebp, eax
jmp 0x42d1cd
xor eax, eax
neg eax
sbb eax, eax
add eax, 2
mov ebp, eax
jmp 0x42d1cd
xor eax, eax
cmp cx, 9
sete al
push eax
call fcn.0043d040
cmp eax, ebx
je 0x42d1cd
xor ecx, ecx
cmp eax, 3
sete cl
lea ecx, [ecx*4 + 2]
mov ebp, ecx
mov cl, byte [0x53395a]
xor bl, bl
cmp byte [0x527e58], bl
je 0x42d1e3
test cl, cl
jne 0x42d1e3
mov bl, 1
mov eax, dword [0x5262d4]
xor edi, edi
cmp eax, edi
je 0x42d22a
cmp eax, 1
jle 0x42d223
cmp byte [0x533870], 0
jne 0x42d202
test cl, cl
jne 0x42d202
mov bl, 1
push 0x526304
push edi
push 0x5362aa
push 0x535eaa
mov ecx, 0x513904
call fcn.00429fd0
mov ebp, 0x32
jmp 0x42d239
mov ebp, 1
jmp 0x42d239
cmp ebp, 6
jne 0x42d239
mov ecx, 0x513904
call fcn.00429770
cmp byte [0x526ba5], 0
je 0x42d334
push 0x526bac
lea edx, [esp + 0x24]
push edx
call fcn.004320b0
mov eax, dword [0x514f98]
and eax, dword [0x514f9c]
cmp eax, 0xffffffff
jne 0x42d271
mov dword [0x514f98], edi
mov dword [0x514f9c], edi
call fcn.00436350
add dword [0x514f98], 0xa
adc dword [0x514f9c], edi
call fcn.004363e0
mov eax, dword [0x5161c0]
and dword [eax + 0x40], 0xfffffffe
xor esi, esi
jmp 0x42d2a0
or eax, 0xffffffff
add dword [0x5261d8], eax
adc dword [0x5261dc], eax
js 0x42d2d1
jg 0x42d2bb
cmp dword [0x5261d8], edi
jb 0x42d2d1
mov ecx, dword [0x5261d0]
movzx dx, byte [ecx]
inc ecx
movzx eax, dx
mov dword [0x5261d0], ecx
jmp 0x42d2d9
call fcn.00436710
movzx eax, ax
mov byte [esp + esi + 0x10], al
inc esi
cmp esi, 0xa
jl 0x42d2a0
mov eax, dword [0x5161c0]
or dword [eax + 0x40], 1
mov edx, 0xa
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
lea esp, [esp]
mov esi, dword [ecx]
cmp esi, dword [eax]
jne 0x42d36b
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x42d300
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42d36b
mov al, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x42d36b
cmp byte [0x526ba5], 0
je 0x42d334
cmp byte [0x526ba6], 0
je 0x42d344
mov ecx, dword [0x5261c8]
not ecx
cmp ecx, dword [0x526244]
jne 0x42d36b
cmp byte [0x53395a], 0
je 0x42d3c6
mov eax, dword [0x526220]
test eax, eax
je 0x42d3bd
movzx edx, word [0x52625a]
push edx
call fcn.0042ccd0
cmp eax, ebp
jle 0x42d3bd
mov ebp, eax
jmp 0x42d3bd
cmp ebp, 1
jle 0x42d375
cmp ebp, 2
jne 0x42d3a4
mov eax, dword [0x5161c0]
test byte [eax + 0x40], 1
push 0x526304
je 0x42d38c
push 0x1f8
jmp 0x42d391
push 0x1f9
call fcn.00466160
push eax
push 0x5362aa
call fcn.00498e30
add esp, 0xc
cmp byte [0x533870], 0
jne 0x42d3b8
cmp byte [0x53395a], 0
jne 0x42d3b8
mov bl, 1
mov ebp, 2
cmp byte [0x53395a], 0
jne 0x42d3eb
test ebp, ebp
je 0x42d3dd
mov ecx, dword [0x5262ec]
push ecx
call fcn.00432c50
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp byte [0x53395a], 0
jne 0x42d3eb
call fcn.00480aa0
test bl, bl
je 0x42d3f9
push 0x526304
call fcn.00432770
call fcn.00436350
mov eax, ebp
jmp 0x42d440
push 0x526304
push 0x342
call fcn.00466160
push eax
push 0x5362aa
call fcn.00498e30
add esp, 0xc
call fcn.00436350
cmp byte [0x53395a], bl
jne 0x42d43b
call fcn.00480aa0
push 0x526304
call fcn.00432770
mov eax, 1
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004af00b
add esp, 0x824
ret