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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov esi, esp
push eax
mov dword [esi + 0x9c], esp
sub esp, 0x80
mov dword [esi + 0x2c], esp
sub esp, 0x100
mov dword [esi + 0x1c], esp
push eax
mov dword [esi + 0x98], esp
jmp 0xafacb3
push eax
mov edi, esp
push eax
mov dword [esi + 0x78], esp
sub esp, 0x78
mov ebx, esp
and ebx, 0xfffffff8
mov esp, ebx
push eax
mov dword [esi + 0x94], esp
push eax
mov dword [esi + 0x5c], esp
push eax
mov ecx, esp
sub esp, 0x30
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x7c], eax
mov esp, eax
push eax
mov dword [esi + 0xa0], esp
push eax
mov edx, esp
sub esp, 0x10
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x80], eax
mov esp, eax
jmp 0xafacfb
jmp 0xafacfd
push eax
mov dword [esi + 0xa4], esp
sub esp, 0x40
mov eax, esp
push eax
mov dword [esi + 0x88], esp
mov dword [esi + 0xa8], edx
mov dword [esi + 0x58], ecx
mov dword [esi + 8], eax
push eax
mov dword [esi + 0x84], esp
push eax
mov dword [esi + 0xb0], esp
push eax
mov dword [esi + 0xac], esp
sub esp, 0x80
mov dword [esi + 0x30], esp
mov eax, dword [0xcc7894]
mov cl, byte [esi + 0x60]
mov byte [esi + 0x64], cl
mov byte [esi + 0x38], 0x3f
mov byte [esi + 0x39], 0xb5
mov byte [esi + 0x3a], 0x23
mov byte [esi + 0x3b], 0xb3
mov byte [esi + 0x3c], 0x20
mov byte [esi + 0x3d], 0xb1
mov byte [esi + 0x3e], 0x28
mov byte [esi + 0x3f], 0xaf
mov byte [esi + 0x40], 0x22
mov byte [esi + 0x41], 0xad
mov byte [esi + 0x42], 0x20
mov byte [esi + 0x43], 0xab
mov byte [esi + 0x44], 0x3a
mov byte [esi + 0x45], 0xa9
mov byte [esi + 0x46], 0x7a
mov byte [esi + 0x47], 0xa7
mov byte [esi + 0x48], 0x3a
mov byte [esi + 0x49], 0xa5
mov byte [esi + 0x4a], 0x30
mov byte [esi + 0x4b], 0xa3
mov byte [esi + 0x4c], 0x36
mov byte [esi + 0x4d], 0xa1
mov byte [esi + 0x4e], 0xa0
mov byte [esi + 0x4f], 0x9f
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0x18
jae 0xafae02
mov dword [esi + 0x20], edi
jmp 0xafadb9
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edx, byte [esi + edx + 0x38]
mov edi, ecx
add edi, 0x22d6dbc9
add ecx, 0xc9
and ecx, edx
or edi, edx
sub edi, ecx
mov dword [esi + 0xbc], edi
mov ecx, dword [esi + 0xbc]
add cl, 0x81
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0x38], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0x18
jb 0xafadb9
mov edi, dword [esi + 0x20]
jmp 0xafae02
lea ecx, [esi + 0x38]
xor edx, edx
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x800
call eax
mov dword [esi + 0xb8], eax
jmp 0xafae27
jmp 0xafae29
jmp 0xafae2b
mov eax, dword [esi + 0xb8]
lea ecx, [0xcc785c]
sub esp, 4
mov dword [esp], eax
call fcn.00b29fe0
jmp 0xafae44
test al, 1
jne 0xafae5a
jmp 0xafae4a
mov byte [esi + 3], 0
mov dword [esi + 4], 1
jmp 0xafb809
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xcd5bd590
call fcn.00b2c370
add esp, 8
mov dword [0xcc7864], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x3098095e
call fcn.00b2c370
add esp, 8
mov dword [0xcc7868], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x4133be71
call fcn.00b2c370
add esp, 8
mov dword [0xcc786c], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c8a781f
call fcn.00b2c370
add esp, 8
mov dword [0xcc7870], eax
jmp 0xafaedc
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x71c23cd8
call fcn.00b2c370
add esp, 8
mov dword [0xcc7874], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c121576
call fcn.00b2c370
add esp, 8
mov dword [0xcc7878], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x21bbc64b
call fcn.00b2c370
add esp, 8
mov dword [0xcc787c], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x8d2eb73e
call fcn.00b2c370
add esp, 8
mov dword [0xcc7880], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xde1934d7
call fcn.00b2c370
add esp, 8
mov dword [0xcc7884], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xa2add3c4
call fcn.00b2c370
add esp, 8
mov dword [0xcc7888], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1f4c40ff
call fcn.00b2c370
add esp, 8
mov dword [0xcc788c], eax
mov eax, dword [0xcc785c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xfe8974d2
call fcn.00b2c370
add esp, 8
mov dword [0xcc7890], eax
lea eax, [0xcbf5f4]
mov dword [esi + 0xcc], eax
lea eax, [0xcbf5f4]
mov dword [esi + 0x34], eax
lea eax, [0xcbf5f4]
add eax, 0x24
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0xb4]
cmp eax, ecx
setne al
jmp 0xafb010
jmp 0xafb012
test al, 1
jne 0xafb024
jmp 0xafb018
mov dword [esi + 4], 2
jmp 0xafb181
mov eax, dword [esi + 0x34]
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 4], eax
call fcn.00b255a0
add esp, 8
jmp 0xafb04a
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x1c]
add eax, 0x100
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x2c]
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0xafb05b
mov ecx, eax
xor ecx, 0xffffffff
mov edi, dword [esi + 0x2c]
and ecx, edi
mov edx, edi
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
mov edx, edi
add edx, eax
mov dword [esi + 0x8c], 0
mov ecx, dword [esi + 0x28]
add ecx, 0xfffffffe
cmp edx, edi
mov eax, dword [esi + 0x1c]
jbe 0xafb100
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x54], eax
mov edi, dword [esi + 0x2c]
jmp 0xafb0a0
cmp byte [edi], 0
jne 0xafb0aa
mov eax, dword [esi + 0x54]
jmp 0xafb100
sub esp, 0xc
lea eax, [esi + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esi + 0x28], ecx
mov dword [esi + 0x74], edx
call fcn.00aff670
add esp, 0xc
add edi, eax
mov cx, word [esi + 0x8c]
mov edx, dword [esi + 0x54]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, dword [esi + 0x28]
setb cl
mov edx, edi
sub edx, dword [esi + 0x74]
setb dl
and cl, dl
mov edx, dword [esi + 0x74]
test cl, 1
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x54], eax
jne 0xafb0a0
mov word [eax], 0
mov edi, dword [esi + 0x20]
jmp 0xafb10a
sub esp, 4
mov eax, dword [esi + 0x1c]
mov dword [esp], eax
call fcn.00afb820
add esp, 4
test al, 1
jne 0xafb121
jmp 0xafb14d
lea eax, [0xcc7898]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
call fcn.00afc370
add esp, 8
mov byte [esi + 3], 1
jmp 0xafb142
mov dword [esi + 4], 1
jmp 0xafb14b
jmp 0xafb156
mov dword [esi + 4], 0
jmp 0xafb156
cmp dword [esi + 4], 0
jne 0xafb165
mov dword [esi + 4], 0
jmp 0xafb165
mov eax, dword [esi + 4]
cmp eax, 0
jne 0xafb17f
jmp 0xafb16f
mov eax, dword [esi + 0x34]
add eax, 4
mov dword [esi + 0x34], eax
jmp 0xafb17a
jmp 0xafb000
jmp 0xafb181
cmp dword [esi + 4], 2
jne 0xafb809
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [0xcc0830]
mov ecx, dword [esi + 0x98]
mov dword [ecx], eax
mov ecx, dword [esi + 0x78]
mov dword [edi], 0
mov dword [ecx], 0
mov eax, dword [esi + 0x94]
mov al, byte [eax]
mov byte [esi + 0x68], al
mov byte [ebx], 0xee
mov byte [ebx + 1], 5
mov byte [ebx + 2], 0x90
mov byte [ebx + 3], 0xb
mov byte [ebx + 4], 0x9e
mov byte [ebx + 5], 9
mov byte [ebx + 6], 0x98
mov byte [ebx + 7], 0xf
mov byte [ebx + 8], 0x9b
mov byte [ebx + 9], 0xd
mov byte [ebx + 0xa], 0xd2
mov byte [ebx + 0xb], 0x33
mov byte [ebx + 0xc], 0xe3
mov byte [ebx + 0xd], 0x31
mov byte [ebx + 0xe], 0xe1
mov byte [ebx + 0xf], 0x37
mov byte [ebx + 0x10], 0xa3
mov byte [ebx + 0x11], 0x35
mov byte [ebx + 0x12], 0xa0
mov byte [ebx + 0x13], 0x3b
mov byte [ebx + 0x14], 0xd1
mov byte [ebx + 0x15], 0x39
mov byte [ebx + 0x16], 0xdf
mov byte [ebx + 0x17], 0x3f
mov byte [ebx + 0x18], 0xad
mov byte [ebx + 0x19], 0x3d
mov byte [ebx + 0x1a], 0xd9
mov byte [ebx + 0x1b], 0x23
mov byte [ebx + 0x1c], 0xb3
mov byte [ebx + 0x1d], 0x21
mov byte [ebx + 0x1e], 0xb3
mov byte [ebx + 0x1f], 0x27
mov byte [ebx + 0x20], 0xb5
mov byte [ebx + 0x21], 0x25
mov byte [ebx + 0x22], 0xbf
mov byte [ebx + 0x23], 0x2b
mov byte [ebx + 0x24], 0xb8
mov byte [ebx + 0x25], 0x29
mov byte [ebx + 0x26], 0xc7
mov byte [ebx + 0x27], 0x2f
mov byte [ebx + 0x28], 0xba
mov byte [ebx + 0x29], 0x2d
mov byte [ebx + 0x2a], 0xb3
mov byte [ebx + 0x2b], 0xd3
mov byte [ebx + 0x2c], 0
mov byte [ebx + 0x2d], 0xd1
mov byte [ebx + 0x2e], 0x35
mov byte [ebx + 0x2f], 0xd7
mov byte [ebx + 0x30], 0x47
mov byte [ebx + 0x31], 0xd5
mov byte [ebx + 0x32], 0x47
mov byte [ebx + 0x33], 0xdb
mov byte [ebx + 0x34], 0xb
mov byte [ebx + 0x35], 0xd9
mov byte [ebx + 0x36], 0x48
mov byte [ebx + 0x37], 0xdf
mov byte [ebx + 0x38], 0x48
mov byte [ebx + 0x39], 0xdd
mov byte [ebx + 0x3a], 0x4d
mov byte [ebx + 0x3b], 0xc3
mov byte [ebx + 0x3c], 0x28
mov byte [ebx + 0x3d], 0xc1
mov byte [ebx + 0x3e], 0x2f
mov byte [ebx + 0x3f], 0xc7
mov byte [ebx + 0x40], 0x2a
mov byte [ebx + 0x41], 0xc5
mov byte [ebx + 0x42], 0x2f
mov byte [ebx + 0x43], 0xcb
mov byte [ebx + 0x44], 0x5f
mov byte [ebx + 0x45], 0xc9
mov byte [ebx + 0x46], 0x19
mov byte [ebx + 0x47], 0xcf
mov byte [ebx + 0x48], 0x17
mov byte [ebx + 0x49], 0xcd
mov byte [ebx + 0x4a], 0x16
mov byte [ebx + 0x4b], 0xf3
mov byte [ebx + 0x4c], 0x29
mov byte [ebx + 0x4d], 0xf1
mov byte [ebx + 0x4e], 0x2a
mov byte [ebx + 0x4f], 0xf7
mov byte [ebx + 0x50], 0x21
mov byte [ebx + 0x51], 0xf5
mov byte [ebx + 0x52], 0x23
mov byte [ebx + 0x53], 0xfb
mov byte [ebx + 0x54], 0x25
mov byte [ebx + 0x55], 0xf9
mov byte [ebx + 0x56], 0x27
mov byte [ebx + 0x57], 0xff
mov byte [ebx + 0x58], 0x27
mov byte [ebx + 0x59], 0xfd
mov byte [ebx + 0x5a], 0x2a
mov byte [ebx + 0x5b], 0xe3
mov byte [ebx + 0x5c], 0x36
mov byte [ebx + 0x5d], 0xe1
mov byte [ebx + 0x5e], 0x35
mov byte [ebx + 0x5f], 0xe7
mov byte [ebx + 0x60], 0x33
mov byte [ebx + 0x61], 0xe5
mov byte [ebx + 0x62], 0x33
mov byte [ebx + 0x63], 0xeb
mov byte [ebx + 0x64], 0x35
mov byte [ebx + 0x65], 0xe9
mov byte [ebx + 0x66], 0x38
mov byte [ebx + 0x67], 0xef
mov byte [ebx + 0x68], 0x3e
mov byte [ebx + 0x69], 0xed
mov byte [ebx + 0x6a], 0xec
mov byte [ebx + 0x6b], 0x93
mov byte [ebx + 0x74], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x6c], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 0x75
jae 0xafb3d8
jmp 0xafb391
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
movzx ecx, byte [ebx + ecx]
mov edx, eax
add edx, 0xe80aef55
and edx, ecx
lea eax, [eax + ecx - 0x17f510ab]
add edx, edx
sub eax, edx
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0xc0]
add al, 0xad
mov ecx, dword [esi + 0x10]
mov byte [ebx + ecx], al
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0x75
jb 0xafb391
mov ecx, dword [esi + 0x78]
jmp 0xafb3d8
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
call fcn.00afc3b0
add esp, 0xc
mov ebx, dword [esi + 0xb0]
mov edx, dword [esi + 0x7c]
jmp 0xafb3f9
test al, 1
jne 0xafb402
jmp 0xafb7fa
mov eax, dword [esi + 0x5c]
mov byte [eax], 0
mov eax, dword [esi + 0xa0]
mov al, byte [eax]
mov byte [esi + 0x6c], al
mov byte [edx], 0xf2
mov byte [edx + 1], 0x38
mov byte [edx + 2], 0xc4
mov byte [edx + 3], 0xcc
mov byte [edx + 4], 0xc0
mov byte [edx + 5], 0x91
mov byte [edx + 6], 0xcd
mov byte [edx + 7], 0xbb
mov byte [edx + 8], 0xb1
mov byte [edx + 9], 0x40
mov byte [edx + 0xa], 0x41
mov byte [edx + 0xb], 0x88
mov byte [edx + 0xc], 0xf4
mov byte [edx + 0xd], 0xb6
mov byte [edx + 0xe], 0xb5
mov byte [edx + 0xf], 0x4b
mov byte [edx + 0x10], 0x4d
mov byte [edx + 0x11], 0xba
mov byte [edx + 0x12], 0xb0
mov byte [edx + 0x13], 0xa2
mov byte [edx + 0x14], 0xb2
mov byte [edx + 0x15], 0xba
mov byte [edx + 0x16], 0x4e
mov byte [edx + 0x17], 0x52
mov byte [edx + 0x18], 0xaf
mov byte [edx + 0x19], 0xaf
mov byte [edx + 0x1a], 0xa3
mov byte [edx + 0x1b], 0xba
mov byte [edx + 0x1c], 0xa8
mov byte [edx + 0x1d], 0xa6
mov byte [edx + 0x1e], 0xab
mov byte [edx + 0x1f], 0xac
mov byte [edx + 0x20], 0xe8
mov byte [edx + 0x21], 0x97
mov byte [edx + 0x22], 0xd4
mov word [edx + 0x2b], 0
mov dword [edx + 0x27], 0
mov dword [edx + 0x23], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0x2d
jae 0xafb511
jmp 0xafb4c3
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0x39
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov edx, dword [esi + 0x7c]
add eax, 0x17b4939
mov dword [esi + 0xc4], eax
mov ecx, dword [esi + 0xc4]
mov eax, ecx
or eax, 0x70
and ecx, 0x70
add eax, ecx
inc al
mov ecx, dword [esi + 0x14]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x14]
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0x2d
jb 0xafb4c3
jmp 0xafb511
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00afcac0
add esp, 8
mov ecx, dword [esi + 0x58]
mov dword [ecx], eax
cmp dword [ecx], 0
je 0xafb7c2
mov eax, dword [esi + 0xa4]
mov al, byte [eax]
mov byte [esi + 0x70], al
mov edx, dword [esi + 0x80]
mov byte [edx], 0x50
mov byte [edx + 1], 0x5e
mov byte [edx + 2], 5
mov byte [edx + 3], 3
mov byte [edx + 4], 0x11
mov byte [edx + 5], 3
mov byte [edx + 6], 0x34
mov byte [edx + 7], 0x77
mov byte [edx + 0xa], 0
mov word [edx + 8], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmp eax, 0xb
jae 0xafb5cb
jmp 0xafb57e
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x18]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0x4cf808ee
lea eax, [eax + ecx + 0x4cf808ee]
and edx, ecx
add edx, edx
sub eax, edx
mov edx, dword [esi + 0x80]
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0xc8]
add al, 0x7e
mov ecx, dword [esi + 0x18]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
cmp eax, 0xb
jb 0xafb57e
mov ecx, dword [esi + 0x58]
jmp 0xafb5cb
mov eax, dword [ecx]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00afcac0
add esp, 8
mov edx, dword [esi + 0xa8]
mov dword [edx], eax
mov eax, dword [edx]
cmp eax, 0
setne al
mov ecx, dword [esi + 0x58]
jmp 0xafb5f4
test al, 1
jne 0xafb5fd
jmp 0xafb7c2
mov eax, dword [edx]
mov byte [eax], 0
mov eax, dword [ecx]
add eax, 0x22
mov ecx, dword [esi + 0x88]
mov dword [ecx], eax
mov eax, ecx
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.00afcb10
add esp, 4
mov edx, dword [esi + 0x84]
mov dword [edx], eax
mov dword [ebx], 0
jmp 0xafb631
jmp 0xafb633
mov eax, dword [ebx]
mov ecx, dword [edx]
cmp eax, ecx
setb al
test al, 1
jne 0xafb64b
jmp 0xafb642
mov dword [esi + 4], 4
jmp 0xafb6c5
mov eax, dword [esi + 0x88]
mov eax, dword [eax]
mov ecx, dword [ebx]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0xac]
mov byte [ecx], al
movsx eax, byte [ecx]
cmp eax, 0x61
jl 0xafb6a9
movsx eax, byte [ecx]
cmp eax, 0x7a
jg 0xafb6a9
movsx eax, byte [ecx]
add eax, 0xffffff9f
mov ecx, eax
xor ecx, 0xb
and eax, 0xfffffff4
shl eax, 1
sub eax, ecx
add eax, 0x43a9f6b
add eax, 0x1a
sub eax, 0x43a9f6b
mov ecx, 0x1a
cdq
idiv ecx
sub edx, 0x4e1511fc
add edx, 0x61
add edx, 0x4e1511fc
jmp 0xafb6ab
mov dl, byte [ecx]
mov eax, dword [ebx]
mov ecx, dword [esi + 8]
mov byte [ecx + eax], dl
mov eax, dword [ebx]
sub eax, 0xffffffff
mov dword [ebx], eax
mov edx, dword [esi + 0x84]
jmp 0xafb633
mov dword [esi + 0x20], edi
mov eax, dword [edx]
mov ecx, dword [esi + 8]
mov byte [ecx + eax], 0
mov eax, dword [esi + 0x30]
add eax, 0x80
mov dword [esi + 0x24], eax
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0xafb6dc
mov ecx, eax
xor ecx, 0xffffffff
mov ebx, dword [esi + 8]
and ecx, ebx
mov edx, ebx
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
mov edi, ebx
add edi, eax
mov dword [esi + 0x90], 0
mov edx, dword [esi + 0x24]
add edx, 0xfffffffe
cmp edi, ebx
mov ecx, dword [esi + 0x30]
mov eax, ecx
jbe 0xafb77f
mov ebx, ecx
jmp 0xafb71c
mov eax, dword [esi + 8]
cmp byte [eax], 0
jne 0xafb728
mov eax, ebx
jmp 0xafb77f
sub esp, 0xc
mov ecx, eax
mov dword [esi + 8], ecx
lea eax, [esi + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [esi + 0x24], edx
call fcn.00aff670
add esp, 0xc
mov edx, dword [esi + 8]
add edx, eax
mov cx, word [esi + 0x90]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, dword [esi + 0x24]
setb cl
mov dword [esi + 8], edx
sub edx, edi
setb dl
and cl, dl
mov edx, dword [esi + 0x24]
test cl, 1
mov ecx, dword [esi + 0x30]
mov ebx, eax
jne 0xafb71c
mov word [eax], 0
sub esp, 4
mov dword [esp], ecx
call fcn.00afb820
add esp, 4
test al, 1
mov edi, dword [esi + 0x20]
jne 0xafb79b
jmp 0xafb7c0
lea eax, [0xcc7898]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 4], eax
call fcn.00afc370
add esp, 8
mov eax, dword [esi + 0x5c]
mov byte [eax], 1
jmp 0xafb7be
jmp 0xafb7c0
jmp 0xafb7c2
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call fcn.00b28b70
add esp, 4
mov eax, dword [esi + 0x5c]
test byte [eax], 1
je 0xafb7e7
mov byte [esi + 3], 1
mov dword [esi + 4], 1
jmp 0xafb7f2
mov dword [esi + 4], 0
jmp 0xafb7f0
jmp 0xafb7f2
cmp dword [esi + 4], 0
jne 0xafb807
jmp 0xafb7fa
mov byte [esi + 3], 0
mov dword [esi + 4], 1
jmp 0xafb807
jmp 0xafb809
mov al, byte [esi + 3]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret