Function at 0x40c080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f30d0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x665ebc]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, dword [esp + 0x84]
mov al, byte [esi + 0x68]
not al
and al, 1
jne 0x40c0e8
mov eax, dword [esi + 0x68]
mov ecx, eax
shr ecx, 1
test cl, 1
jne 0x40c0e8
and eax, 0x18
cmp al, 0x18
je 0x40c0e8
mov eax, dword [esi + 0x68]
mov edx, eax
shr edx, 4
test dl, 1
je 0x40c0de
shr eax, 3
test al, 1
je 0x40c0e8
xor ebx, ebx
cmp dword [esi + 0xbc], ebx
je 0x40c100
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4
mov eax, dword [esi + 0xb0]
cmp eax, ebx
jne 0x40c10e
xor eax, eax
jmp 0x40c111
mov eax, dword [eax + 8]
movzx edx, ax
mov dword [esp + 0x24], edx
cmp dx, bx
je 0x40c252
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], vtable.CZipArray_struct_CZipChangeInfo_.0
xor ecx, ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp cx, dx
jae 0x40c23d
mov al, byte [esi + 0x68]
not al
and al, 1
je 0x40c15f
xor edi, edi
jmp 0x40c196
mov ecx, dword [esi + 0xb0]
cmp bx, word [ecx + 8]
jae 0x40c175
mov eax, 0xffff
cmp bx, ax
jne 0x40c179
xor edi, edi
jmp 0x40c196
movzx eax, bx
test eax, eax
jl 0x40c259
cmp eax, dword [ecx + 8]
jge 0x40c259
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [edi + 0x80]
shr eax, 5
test al, 1
je 0x40c225
mov ecx, ebx
mov edx, esi
call fcn.00404570
call fcn.00403960
mov esi, dword [edi + 0x78]
lea ecx, [edi + 0x30]
push ecx
call fcn.0041da70
mov ecx, edi
mov ebp, eax
call fcn.0040fd50
mov ecx, dword [esp + 0x2c]
mov edi, dword [edi + 0x2c]
lea eax, [eax + ebp + 0x1e]
sub eax, esi
cdq
add ecx, eax
mov eax, dword [esp + 0x30]
adc eax, edx
add edi, esi
mov esi, eax
mov dword [esp + 0x30], eax
sub esp, 0x18
mov eax, esp
mov word [esp + 0x6c], bx
mov ebp, dword [esp + 0x6c]
mov dword [eax], ebp
mov dword [eax + 4], edi
xor edx, edx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
lea eax, [esp + 0x58]
mov dword [esp + 0x44], ecx
call fcn.0040e100
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x84]
inc ebx
cmp bx, dx
jb 0x40c152
mov ebp, dword [esp + 0x48]
xor edi, edi
cmp ebp, edi
jne 0x40c25e
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], 0xffffffff
test eax, eax
je 0x40c252
push eax
call fcn.00564e55
add esp, 4
mov al, 1
jmp 0x40c0ea
call fcn.00566b22
lea eax, [esi + 0x94]
call fcn.00413a90
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
add edx, 8
lea eax, [ebp - 1]
cmp edi, eax
jne 0x40c294
mov eax, dword [esp + 0x24]
sub eax, dword [esi + 0x54]
mov cl, 1
jmp 0x40c2e4
lea eax, [edi + 1]
test eax, eax
jl 0x40c259
cmp eax, ebp
jge 0x40c259
mov cl, byte [esi + 0x68]
movzx eax, word [edx + 0x10]
not cl
and cl, 1
je 0x40c2b1
xor eax, eax
jmp 0x40c2df
mov ecx, dword [esi + 0xb0]
cmp ax, word [ecx + 8]
jae 0x40c2c7
mov ebx, 0xffff
cmp ax, bx
jne 0x40c2cb
xor eax, eax
jmp 0x40c2df
movzx eax, ax
test eax, eax
jl 0x40c259
cmp eax, dword [ecx + 8]
jge 0x40c259
mov ecx, dword [ecx + 4]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
xor cl, cl
test edi, edi
jl 0x40c259
cmp edi, ebp
jge 0x40c259
mov dword [edx], eax
sub eax, dword [edx - 4]
add dword [esp + 0x1c], eax
test cl, cl
jne 0x40c30a
inc edi
add edx, 0x18
jmp 0x40c282
mov eax, dword [esp + 0x48]
lea ebp, [eax - 1]
test ebp, ebp
jl 0x40c259
cmp ebp, eax
jge 0x40c259
mov eax, dword [esp + 0x44]
lea edx, [ebp + ebp*2]
lea eax, [eax + edx*8]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
test eax, eax
jl 0x40c361
jg 0x40c344
test edx, edx
jbe 0x40c361
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x30]
mov esi, dword [ecx]
xor ebx, ebx
add edi, edx
mov edx, dword [esi + 0x18]
adc ebx, eax
push ebx
push edi
call edx
mov esi, dword [esp + 0x84]
call fcn.00404730
lea eax, [esp + 0x20]
push eax
lea edi, [esi + 8]
mov ebx, 0x200
mov dword [esp + 0x24], 0
call fcn.0040dab0
test eax, eax
je 0x40c443
mov ebx, dword [esp + 0x20]
lea edi, [esp + 0x28]
mov dword [ebx + 0x14], 0x200
mov dword [esp + 0x20], ebx
call fcn.00409170
mov byte [esp + 0x7c], 1
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0xc]
push 0
mov ecx, ebx
call eax
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x48]
cmp ebp, edi
jge 0x40c259
mov ecx, dword [esp + 0x44]
lea eax, [ebp + ebp*2]
cmp dword [ecx + eax*8 + 0x14], 0
lea eax, [ecx + eax*8]
jl 0x40c44d
jg 0x40c41a
cmp dword [eax + 0x10], 0
jbe 0x40c44d
mov ecx, dword [eax + 0x10]
mov ebx, dword [esp + 0x20]
test ebp, ebp
sete byte [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push 1
push ecx
push edx
push eax
push esi
call fcn.0040cb60
jmp 0x40c507
mov dword [esp + 0x20], 0
jmp 0x40c3ed
mov dword [esp + 0x2c], ebp
test ebp, ebp
jle 0x40c488
lea ecx, [ebp - 1]
add eax, 0xfffffff8
jmp 0x40c460
test ecx, ecx
jl 0x40c259
cmp ecx, edi
jge 0x40c259
cmp dword [eax + 4], 0
jg 0x40c486
jl 0x40c47d
cmp dword [eax], 0
ja 0x40c486
dec ebp
sub eax, 0x18
dec ecx
test ebp, ebp
jg 0x40c460
test ebp, ebp
mov edx, dword [esp + 0x44]
lea ecx, [ebp + ebp*2]
sete byte [esp + 0x1c]
mov esi, ebp
lea edi, [edx + ecx*8 + 8]
jmp 0x40c4a0
test esi, esi
jl 0x40c259
cmp esi, dword [esp + 0x48]
jge 0x40c259
cmp esi, dword [esp + 0x2c]
sete al
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x1a], al
je 0x40c4cc
test al, al
je 0x40c4cc
mov al, 1
jmp 0x40c4ce
xor al, al
mov ecx, dword [edi]
mov edx, dword [edi - 4]
mov ebx, dword [esp + 0x20]
push eax
mov eax, dword [edi + 8]
push 0
neg eax
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
push eax
call fcn.0040cb60
cmp byte [esp + 0x1a], 0
jne 0x40c4fc
inc esi
add edi, 0x18
jmp 0x40c4a0
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x48]
cmp byte [esp + 0x1c], 0
jne 0x40c51c
sub ebp, 1
jns 0x40c3f8
jmp 0x40c259
mov eax, dword [esi + 0xf4]
xor ebx, ebx
cmp eax, ebx
je 0x40c53d
push eax
call fcn.00564e55
add esp, 4
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
mov edx, dword [esp + 0x38]
cmp edx, ebx
jg 0x40c565
jl 0x40c54d
cmp dword [esp + 0x34], ebx
jae 0x40c565
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x30]
mov esi, dword [ecx]
xor ebx, ebx
add eax, dword [esp + 0x34]
adc ebx, edx
mov edx, dword [esi + 0x18]
push ebx
push eax
call edx
lea eax, [edi - 1]
test eax, eax
mov dword [esp + 0x24], 0
sete byte [esp + 0x1a]
mov ebp, dword [esp + 0x24]
cmp ebp, dword [esp + 0x48]
jge 0x40c259
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x44]
mov bl, byte [ecx + 0x68]
lea eax, [ebp + ebp*2]
movzx edi, word [edx + eax*8]
lea eax, [edx + eax*8]
lea esi, [ecx + 0x2c]
not bl
and bl, 1
mov dword [esp + 0x2c], eax
movzx eax, di
je 0x40c5b9
mov dword [esp + 0x1c], 0
jmp 0x40c5f9
mov ecx, dword [ecx + 0xb0]
cmp ax, word [ecx + 8]
jae 0x40c5cf
mov ebx, 0xffff
cmp ax, bx
jne 0x40c5d9
mov dword [esp + 0x1c], 0
jmp 0x40c5f9
movzx eax, ax
test eax, eax
jl 0x40c259
cmp eax, dword [ecx + 8]
jge 0x40c259
mov ecx, dword [ecx + 4]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x1a], 0
je 0x40c611
mov ecx, dword [esp + 0x84]
call fcn.00404450
movzx ebx, ax
jmp 0x40c630
lea eax, [ebp + 1]
test eax, eax
jl 0x40c259
cmp eax, dword [esp + 0x48]
jge 0x40c259
lea ecx, [eax + eax*2]
movzx ebx, word [edx + ecx*8]
lea eax, [edx + ecx*8]
cmp di, bx
jae 0x40c69b
inc edi
movzx ecx, di
cmp cx, bx
jae 0x40c69b
mov edi, edi
mov dl, byte [esi + 0x3c]
not dl
and dl, 1
je 0x40c64e
xor eax, eax
jmp 0x40c68b
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 0xb0]
cmp cx, word [edx + 8]
jae 0x40c66b
mov eax, 0xffff
cmp cx, ax
jne 0x40c66f
xor eax, eax
jmp 0x40c68b
movzx eax, cx
test eax, eax
jl 0x40c259
cmp eax, dword [edx + 8]
jge 0x40c259
mov edx, dword [edx + 4]
lea eax, [edx + eax*4]
mov eax, dword [eax]
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x10]
add dword [eax + 0x2c], edx
inc ecx
cmp cx, bx
jb 0x40c640
test ebp, ebp
jne 0x40c6a5
xor ecx, ecx
xor eax, eax
jmp 0x40c6ca
lea eax, [ebp - 1]
test eax, eax
jl 0x40c259
cmp eax, dword [esp + 0x48]
jge 0x40c259
mov ecx, dword [esp + 0x44]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x1c]
mov ebp, dword [edx + 0x2c]
xor edi, edi
add ebp, ecx
adc edi, eax
cmp word [esi + 0x24], 0
jne 0x40c6ea
mov eax, dword [esi + 0x28]
test eax, eax
jbe 0x40c6ea
add ebp, eax
adc edi, 0
mov ebx, dword [esi + 4]
cmp edi, 0x7fffffff
jb 0x40c7a5
ja 0x40c704
cmp ebp, 0xffffffff
jbe 0x40c7a5
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov ecx, ebx
call edx
sub eax, ebp
sbb edx, edi
mov edi, dword [ebx]
neg eax
adc edx, 0
push 2
neg edx
push edx
push eax
mov eax, dword [edi + 0x10]
mov ecx, ebx
call eax
mov edi, dword [esp + 0x1c]
push esi
mov ecx, edi
call fcn.00411280
and dword [edi + 0x80], 0xffffffdf
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40c765
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 4]
mov edi, dword [ecx]
push eax
push edx
mov edx, dword [edi + 0x30]
call edx
mov eax, dword [esi + 0x3c]
shr eax, 4
test al, 1
je 0x40c75e
mov ecx, dword [esi + 0xc]
add dword [esi + 0x20], ecx
mov dword [esi + 0xc], 0
mov edx, dword [esi + 0x3c]
and edx, 0x90
cmp dl, 0x90
jne 0x40c77c
push esi
call fcn.0041bba0
mov dword [esi + 0x10], eax
cmp byte [esp + 0x1a], 0
jne 0x40c7b7
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
inc ecx
dec eax
cmp ecx, eax
sete byte [esp + 0x1a]
mov dword [esp + 0x24], ecx
test ecx, ecx
jge 0x40c577
jmp 0x40c259
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push 0
push edi
push ebp
mov ecx, ebx
call edx
jmp 0x40c725
mov edi, dword [esp + 0x84]
call fcn.0040b290
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40c7d2
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [esp + 0x44]
jmp 0x40c245