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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x4af685
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jle 0x4afbd9
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x4af698
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jle 0x4afbe0
mov ebx, dword [ebp + 8]
mov byte [esp + 0xc], 0
test ebx, ebx
je 0x4afbb6
lea eax, [edi + 4]
mov dword [esp + 0x1c], eax
nop
mov esi, dword [ebx + 4]
cmp esi, 0x15
ja case.0x4af6bc.0
jmp dword [esi*4 + 0x4afbe8]
mov eax, dword [edi + 0x60]
mov dword [esp + 0xc], eax
test eax, 0x100
jne 0x4af6ea
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x4af6ea
mov eax, dword [esp + 0xc]
and eax, 0xffffff01
mov dword [esp + 0xc], eax
jmp 0x4afb9a
mov eax, dword [edi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0xc], eax
jmp 0x4afb9a
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x4af713
mov eax, dword [edi + 0x60]
shr eax, 1
and al, 1
mov dword [esp + 0xc], eax
jmp 0x4afb9a
cmp byte [eax], 0xa
setne al
mov dword [esp + 0xc], eax
jmp 0x4afb9a
mov eax, dword [edi + 0x60]
test eax, 0x100
jne 0x4af77e
mov ecx, dword [edi]
cmp ecx, dword [edi + 0x4c]
jne 0x4af77e
cmp ecx, dword [edi + 0x50]
jne 0x4af756
test al, 0xc
mov edx, 0
mov eax, dword [ebx + 8]
sete dl
and eax, 1
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4afb9a
test al, 4
jne 0x4af78f
movzx eax, byte [ecx]
cmp byte [eax + 0x731930], 0
je 0x4af78f
mov eax, dword [ebx + 8]
mov edx, 1
and eax, edx
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4afb9a
mov ecx, dword [edi]
cmp ecx, dword [edi + 0x50]
jne 0x4af7a5
test al, 8
jne 0x4af78f
movzx eax, byte [ecx - 1]
jmp 0x4af75d
mov eax, dword [ebx + 8]
xor edx, edx
and eax, 1
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4afb9a
movzx eax, byte [ecx - 1]
xor edx, edx
movzx ecx, byte [ecx]
mov al, byte [eax + 0x731930]
cmp al, byte [ecx + 0x731930]
mov eax, dword [ebx + 8]
setne dl
and eax, 1
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4afb9a
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4afbb1
mov cl, byte [eax]
cmp cl, 0xa
je 0x4afbb1
cmp cl, 0xd
je 0x4afbb1
inc eax
mov dword [edi], eax
jmp case.0x4af6bc.1
push dword [edi + 0x5c]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
push dword [edi + 0x70]
mov edx, dword [edi + 0x50]
add eax, ecx
push eax
push ecx
mov ecx, dword [edi]
call fcn.004b0270
add esp, 0x10
cmp eax, dword [edi]
je 0x4afbb1
mov dword [edi], eax
jmp case.0x4af6bc.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4afbb1
test dword [edi + 0x5c], 0x100
mov cl, byte [eax]
mov byte [esp + 0x10], cl
je 0x4af853
mov eax, dword [edi + 0x70]
push dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esp + 0x10], al
mov esi, dword [edi]
lea eax, [esi + 1]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4af87e
mov edx, dword [edi + 0x50]
mov ecx, esi
push eax
call fcn.004b0390
add esp, 4
cmp eax, esi
je 0x4af87e
mov edx, eax
mov cl, 1
jmp 0x4af900
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x18], edx
test edx, edx
je 0x4af8d4
test dword [edi + 0x5c], 0x800
je 0x4af8aa
push dword [esp + 0x10]
mov ecx, dword [edi + 0x70]
call fcn.004aeda0
mov edx, dword [esp + 0x18]
mov cl, al
mov ch, byte [esp + 0x10]
jmp 0x4af8b0
mov ch, byte [esp + 0x10]
mov cl, ch
mov esi, dword [edx + 4]
xor eax, eax
test esi, esi
je 0x4af8d8
mov edx, dword [edx + 8]
nop dword [eax]
cmp byte [edx + eax], cl
ja 0x4af8cb
cmp cl, byte [edx + eax + 1]
jbe 0x4af8f6
add eax, 2
cmp eax, esi
jb 0x4af8c0
jmp 0x4af8d8
mov ch, byte [esp + 0x10]
mov esi, dword [ebx + 0x18]
movzx edx, ch
test esi, esi
je 0x4af8fa
mov ecx, edx
mov eax, 1
and ecx, 7
shr edx, 3
shl eax, cl
test byte [edx + esi], al
je 0x4af8fa
mov cl, 1
jmp 0x4af8fc
xor cl, cl
mov edx, dword [esp + 0x14]
mov al, byte [ebx + 8]
and al, 1
cmp cl, al
je 0x4afbb1
mov dword [edi], edx
mov byte [esp + 0xc], 0
jmp 0x4afb9e
mov eax, dword [edi]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
lea eax, [edi + 4]
push eax
call fcn.00427e40
mov eax, dword [edi + 0x10]
mov ecx, edi
push dword [ebx + 0x14]
mov dword [esp + 0x38], eax
call fcn.004af660
cmp esi, 0xb
sete cl
cmp al, cl
jne 0x4af97e
mov eax, dword [esp + 0x24]
lea esi, [edi + 4]
mov dword [edi], eax
lea eax, [esp + 0x28]
cmp esi, eax
je 0x4af96b
push eax
mov ecx, esi
call fcn.004b09a0
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xc], 1
call fcn.00427a90
jmp case.0x4af6bc.1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov dword [edi], eax
call fcn.00427a90
jmp case.0x4af6bc.1
mov edx, dword [ebx + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov esi, dword [edi + 0x10]
cmp dword [ebx + 0x14], esi
jae case.0x4af6bc.1
mov edi, dword [esp + 0x1c]
nop dword [eax]
mov eax, dword [edi]
dec esi
mov ecx, esi
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, esi
mov eax, dword [edx]
and ecx, 0x1f
btr eax, ecx
mov dword [edx], eax
cmp dword [ebx + 0x14], esi
jb 0x4af9b0
mov edi, dword [esp + 0x20]
jmp case.0x4af6bc.1
cmp byte [edi + 0x65], 0
mov esi, dword [ebx + 0x14]
jne 0x4af9e8
cmp dword [esi + 0x14], 0
je case.0x4af6bc.1
mov edx, dword [esi + 0x14]
mov ecx, edx
mov eax, dword [eax]
and edx, 0x1f
shr ecx, 5
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp case.0x4af6bc.1
mov esi, dword [ebx + 0x14]
mov ecx, esi
mov eax, dword [eax]
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
je case.0x4af6bc.1
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov edx, dword [eax + esi*8]
mov eax, dword [eax + esi*8 + 4]
cmp edx, eax
je 0x4afa5e
push dword [edi + 0x5c]
push dword [edi + 0x70]
push eax
push edx
mov edx, dword [edi + 0x50]
call fcn.004b0270
mov ecx, eax
add esp, 0x10
cmp ecx, dword [edi]
je 0x4afbb1
mov dword [edi], ecx
jmp case.0x4af6bc.1
push ebx
mov ecx, edi
call fcn.004b0e20
mov edx, dword [esp + 0xc]
test al, al
movzx ecx, dl
mov eax, 1
cmove ecx, eax
mov byte [esp + 0xc], cl
jmp case.0x4af6bc.12
mov eax, dword [ebx + 8]
mov ecx, edi
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push ebx
call fcn.004b1440
jmp 0x4afa6d
mov edx, dword [ebx + 0x14]
cmp dword [edx + 0x24], 0
jne case.0x4af6bc.12
mov ecx, dword [edx + 0x20]
mov eax, dword [edi + 0x40]
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
mov ecx, edi
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
call fcn.004b1440
jmp 0x4afa6d
test dword [edi + 0x60], 0x2020
je 0x4afad9
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x4afae6
cmp byte [edi + 0x74], 0
je 0x4afaf0
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4afaf0
mov byte [esp + 0xc], 1
jmp case.0x4af6bc.12
cmp byte [edi + 0x64], 0
je 0x4afb87
xor esi, esi
cmp dword [edi + 0x68], esi
jbe case.0x4af6bc.12
xor ebx, ebx
nop word [eax + eax]
mov ecx, esi
mov eax, 1
and ecx, 0x1f
mov edx, esi
shl eax, cl
mov ecx, dword [edi + 0x24]
shr edx, 5
mov dword [esp + 0x18], eax
test dword [ecx + edx*4], eax
je 0x4afb54
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x18]
test dword [eax + edx*4], ecx
je 0x4afb54
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x34]
mov edx, dword [eax + ebx]
cmp dword [ecx + ebx], edx
jne 0x4afb75
mov edx, dword [edi + 0x14]
mov eax, dword [ecx + ebx + 4]
cmp eax, dword [edx + ebx + 4]
jne 0x4afb5f
inc esi
add ebx, 8
cmp esi, dword [edi + 0x68]
jb 0x4afb10
jmp case.0x4af6bc.12
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edx + esi*8 + 4]
sub edx, ecx
mov eax, dword [eax + esi*8 + 4]
sub eax, ecx
cmp eax, edx
jmp 0x4afb80
mov ecx, dword [ebx + ecx]
sub ecx, dword [edi + 0x4c]
sub edx, dword [edi + 0x4c]
cmp ecx, edx
setl al
test al, al
je case.0x4af6bc.12
push edi
lea ecx, [edi + 0x20]
call fcn.004b0850
mov byte [edi + 0x64], 1
xor ebx, ebx
mov eax, dword [esp + 0xc]
test al, al
jne 0x4afbb6
test ebx, ebx
je 0x4afbb6
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x4afbb6
lea eax, [edi + 4]
jmp 0x4af6b0
mov byte [esp + 0xc], 1
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x4afbc1
inc eax
mov dword [edi + 0x7c], eax
cmp byte [esp + 0xc], 0
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xd
call fcn.005acbd4
push 0xc
call fcn.005acbd4
push 0xb
call fcn.005acbd4
nop
sar bl, cl
dec edx
add byte [esi - 0x3cffb505], dl
test byte [edx], 0xfc
test byte [edx], 0x22
test dword [edx], case.0x4af6bc.5
clc
test dword [edx], case.0x4af6bc.7
xchg esi, eax
sti
dec edx
add byte [esi + 0x19004afb], dl
stc
dec edx
add byte [ecx], bl
stc
dec edx
add byte [ebx + edi*8 - 0x66dffb6], dl
dec edx
add ch, dl
stc
dec edx
add byte [eax], dl
cli
dec edx
add byte [ebp - 6], ah
dec edx
add byte [esi - 0x78ffb505], dl
cli
dec edx
add byte [esi - 0x69ffb506], bl
sti
dec edx
add cl, cl
cli
dec edx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x4afc65
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jle 0x4b01cd
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x4afc78
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jle 0x4b01d4
mov ebx, dword [ebp + 8]
mov byte [esp + 0xc], 0
test ebx, ebx
je 0x4b01aa
lea edx, [edi + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 4]
mov esi, 1
mov dword [esp + 0x14], eax
cmp eax, 0x15
ja case.0x4afca4.0
jmp dword [eax*4 + 0x4b01dc]
mov eax, dword [edi + 0x60]
mov dword [esp + 0xc], eax
test eax, 0x100
jne 0x4afcd2
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x4afcd2
mov eax, dword [esp + 0xc]
and eax, 0xffffff01
mov dword [esp + 0xc], eax
jmp 0x4b018e
mov eax, dword [edi]
dec eax
cmp byte [eax], 0xa
setne al
mov dword [esp + 0xc], eax
jmp 0x4b018e
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x4afcd5
mov eax, dword [edi + 0x60]
shr eax, 1
and al, 1
mov dword [esp + 0xc], eax
jmp 0x4b018e
mov eax, dword [edi + 0x60]
test eax, 0x100
jne 0x4afd57
mov ecx, dword [edi]
cmp ecx, dword [edi + 0x4c]
jne 0x4afd57
cmp ecx, dword [edi + 0x50]
jne 0x4afd2f
test al, 0xc
mov edx, 0
mov eax, dword [ebx + 8]
sete dl
and eax, 1
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4b018e
test al, 4
jne 0x4afd68
movzx eax, byte [ecx]
cmp byte [eax + 0x731930], 0
je 0x4afd68
mov eax, dword [ebx + 8]
mov edx, 1
and eax, edx
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4b018e
mov ecx, dword [edi]
cmp ecx, dword [edi + 0x50]
jne 0x4afd7e
test al, 8
jne 0x4afd68
movzx eax, byte [ecx - 1]
jmp 0x4afd36
mov eax, dword [ebx + 8]
xor edx, edx
and eax, 1
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4b018e
movzx eax, byte [ecx - 1]
xor edx, edx
movzx ecx, byte [ecx]
mov al, byte [eax + 0x731930]
cmp al, byte [ecx + 0x731930]
mov eax, dword [ebx + 8]
setne dl
and eax, 1
cmp edx, eax
sete al
mov dword [esp + 0xc], eax
jmp 0x4b018e
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4b01a5
mov cl, byte [eax]
cmp cl, 0xa
je 0x4b01a5
cmp cl, 0xd
je 0x4b01a5
inc eax
mov dword [edi], eax
jmp case.0x4afca4.1
push dword [edi + 0x5c]
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x24]
push dword [edi + 0x70]
mov edx, dword [ebx + 0x1c]
add eax, edx
push eax
push dword [edi + 0x50]
push dword [edi]
call fcn.004b0400
add esp, 0x14
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x4b01a5
mov dword [edi], eax
jmp case.0x4afca4.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4b01a5
test dword [edi + 0x5c], 0x100
mov cl, byte [eax]
mov byte [esp + 0x10], cl
je 0x4afe31
mov eax, dword [edi + 0x70]
push dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esp + 0x10], al
mov esi, dword [edi]
mov edx, dword [ebx + 0x14]
inc esi
test edx, edx
je 0x4afe5b
push dword [edi + 0x50]
lea ecx, [esp + 0x28]
push dword [edi]
call fcn.004b0560
add esp, 8
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x4afe5b
mov esi, eax
mov cl, 1
jmp 0x4afede
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4afeb4
test dword [edi + 0x5c], 0x800
je 0x4afe87
push dword [esp + 0x10]
mov ecx, dword [edi + 0x70]
call fcn.004aeda0
mov edx, dword [esp + 0x14]
mov cl, al
mov ch, byte [esp + 0x10]
jmp 0x4afe8d
mov ch, byte [esp + 0x10]
mov cl, ch
xor eax, eax
cmp dword [edx + 4], eax
jbe 0x4afeb8
mov edx, dword [edx + 8]
cmp byte [eax + edx], cl
ja 0x4afea2
cmp cl, byte [eax + edx + 1]
jbe 0x4afed8
mov edi, dword [esp + 0x14]
add eax, 2
cmp eax, dword [edi + 4]
mov edi, dword [esp + 0x18]
jb 0x4afe97
jmp 0x4afeb8
mov ch, byte [esp + 0x10]
cmp dword [ebx + 0x18], 0
movzx edx, ch
je 0x4afedc
mov ecx, edx
mov eax, 1
and ecx, 7
shr edx, 3
shl eax, cl
mov ecx, dword [ebx + 0x18]
test byte [edx + ecx], al
je 0x4afedc
mov cl, 1
jmp 0x4afede
xor cl, cl
mov al, byte [ebx + 8]
and al, 1
cmp cl, al
je 0x4b01a5
mov dword [edi], esi
mov byte [esp + 0xc], 0
jmp 0x4b0192
mov esi, dword [edi]
lea ecx, [esp + 0x30]
push edx
mov dword [esp + 0x30], esi
call fcn.00427e40
mov eax, dword [edi + 0x10]
mov ecx, edi
push dword [ebx + 0x14]
mov dword [esp + 0x40], eax
call fcn.004afc40
cmp dword [esp + 0x14], 0xb
sete cl
cmp al, cl
jne 0x4aff57
mov eax, dword [esp + 0x2c]
lea esi, [edi + 4]
mov dword [edi], eax
lea eax, [esp + 0x30]
cmp esi, eax
je 0x4aff44
push eax
mov ecx, esi
call fcn.004b09a0
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xc], 1
call fcn.00427a90
jmp case.0x4afca4.1
lea ecx, [esp + 0x30]
mov dword [edi], esi
call fcn.00427a90
jmp case.0x4afca4.1
mov edx, dword [ebx + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov esi, dword [edi + 0x10]
cmp dword [ebx + 0x14], esi
jae case.0x4afca4.1
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
dec esi
mov ecx, esi
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, esi
mov eax, dword [edx]
and ecx, 0x1f
btr eax, ecx
mov dword [edx], eax
cmp dword [ebx + 0x14], esi
jb 0x4aff82
mov edi, dword [esp + 0x18]
jmp case.0x4afca4.1
cmp byte [edi + 0x65], 0
mov esi, dword [ebx + 0x14]
jne 0x4affba
cmp dword [esi + 0x14], 0
je case.0x4afca4.1
mov edx, dword [esi + 0x14]
mov ecx, edx
mov eax, dword [edi + 4]
and edx, 0x1f
shr ecx, 5
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp case.0x4afca4.1
mov esi, dword [ebx + 0x14]
mov ecx, esi
mov eax, dword [edx]
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
je case.0x4afca4.1
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
lea edx, [ecx + esi*8]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x4b0037
push dword [edi + 0x5c]
push edx
mov edx, dword [edi + 0x70]
push ecx
push dword [edi + 0x50]
lea ecx, [esp + 0x38]
push eax
call fcn.004b1d20
add esp, 0x14
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x4b01a5
mov dword [edi], eax
jmp case.0x4afca4.1
push ebx
mov ecx, edi
call fcn.004b1580
mov edx, dword [esp + 0xc]
test al, al
movzx ecx, dl
cmove ecx, esi
mov byte [esp + 0xc], cl
jmp case.0x4afca4.12
mov eax, dword [ebx + 8]
mov ecx, edi
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push ebx
call fcn.004b1be0
mov edx, dword [esp + 0xc]
test al, al
movzx ecx, dl
cmove ecx, esi
mov byte [esp + 0xc], cl
jmp case.0x4afca4.12
mov edx, dword [ebx + 0x14]
cmp dword [edx + 0x24], 0
jne case.0x4afca4.12
mov ecx, dword [edx + 0x20]
mov eax, dword [edi + 0x40]
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
mov ecx, edi
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
call fcn.004b1be0
mov edx, dword [esp + 0xc]
test al, al
movzx ecx, dl
cmove ecx, esi
mov byte [esp + 0xc], cl
jmp case.0x4afca4.12
test dword [edi + 0x60], 0x2020
je 0x4b00d3
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x4b00e0
cmp byte [edi + 0x74], 0
je 0x4b00ea
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4b00ea
mov byte [esp + 0xc], 1
jmp case.0x4afca4.12
cmp byte [edi + 0x64], 0
je 0x4b017b
xor esi, esi
cmp dword [edi + 0x68], esi
jbe case.0x4afca4.12
xor ebx, ebx
mov ecx, esi
mov eax, 1
and ecx, 0x1f
mov edx, esi
shl eax, cl
mov ecx, dword [edi + 0x24]
shr edx, 5
mov dword [esp + 0x14], eax
test dword [ecx + edx*4], eax
je 0x4b0145
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
test dword [eax + edx*4], ecx
je 0x4b0145
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x34]
mov edx, dword [eax + ebx]
cmp dword [ecx + ebx], edx
jne 0x4b0169
mov eax, dword [ecx + ebx + 4]
mov ecx, dword [edi + 0x14]
cmp eax, dword [ecx + ebx + 4]
jne 0x4b0150
inc esi
add ebx, 8
cmp esi, dword [edi + 0x68]
jb 0x4b0101
jmp case.0x4afca4.12
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edx + esi*8 + 4]
mov eax, dword [eax + esi*8 + 4]
sub edx, ecx
sub eax, ecx
cmp edx, eax
jmp 0x4b0174
mov ecx, dword [ebx + ecx]
sub ecx, dword [edi + 0x4c]
sub edx, dword [edi + 0x4c]
cmp ecx, edx
setl al
test al, al
je case.0x4afca4.12
push edi
lea ecx, [edi + 0x20]
call fcn.004b0850
mov byte [edi + 0x64], 1
xor ebx, ebx
mov eax, dword [esp + 0xc]
test al, al
jne 0x4b01aa
test ebx, ebx
je 0x4b01aa
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x4b01aa
lea edx, [edi + 4]
jmp 0x4afc8f
mov byte [esp + 0xc], 1
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x4b01b5
inc eax
mov dword [edi + 0x7c], eax
cmp byte [esp + 0xc], 0
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xd
call fcn.005acbd4
push 0xc
call fcn.005acbd4
push 0xb
call fcn.005acbd4
nop
mov byte [ecx], 0x4b
add byte [edx - 1426044159], cl
cld
dec edx
add ah, ah
cld
dec edx
add bl, bh
cld
dec edx
add byte [edx - 0x2effb503], ch
std
dec edx
add byte [edx], al
dec byte [edx]
mov al, byte [ecx]
dec ebx
add byte [edx - 0x8ffb4ff], cl
dec byte [edx]
idiv esi
dec edx
add byte [eax + 0x67004b01], cl
dec dword [edx]
cmpsd dword [esi], dword es:[edi]
dec dword [edx]
jecxz 0x4b0219
dec dword [edx]
add byte ds:[ebx], cl
dec edx
add byte [esi], bh
add byte [ebx], cl
mov al, byte [ecx]
dec ebx
add byte [ebx], bl
dec ebx
add byte [ebp - 0x75ffb500], al
add dword [ebx], ecx
ret