Function at 0x40a3f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x258
mov esi, esp
push eax
mov dword [esi + 0x9c], esp
push eax
mov dword [esi + 0x40], esp
push eax
mov dword [esi + 0x7c], esp
sub esp, 0x78
mov edi, esp
and edi, 0xfffffff8
mov esp, edi
push eax
mov dword [esi + 0x98], esp
push eax
mov dword [esi + 0x3c], esp
push eax
mov ecx, esp
sub esp, 0x28
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
push eax
mov dword [esi + 0xa0], esp
mov dword [esi + 0x80], eax
push eax
mov dword [esi + 0xa8], esp
sub esp, 0x10
mov edx, esp
and edx, 0xfffffff8
mov esp, edx
push eax
mov dword [esi + 0xa4], esp
sub esp, 0x40
mov eax, esp
mov dword [esi + 0x34], ecx
jmp 0x40a461
push eax
mov dword [esi + 0x8c], esp
push eax
mov dword [esi + 0x38], esp
push eax
mov dword [esi + 0x88], esp
push eax
mov dword [esi + 0xac], esp
sub esp, 0x80
mov ecx, esp
mov dword [esi + 0x84], edx
mov dword [esi + 0x20], ecx
mov dword [esi + 0xc], eax
mov ebx, dword [0x446384]
mov al, byte [esi + 0x44]
mov byte [esi + 0x48], al
mov byte [esi + 0x58], 0xa7
mov byte [esi + 0x59], 0xd9
mov byte [esi + 0x5a], 0xb3
mov byte [esi + 0x5b], 0xdb
mov byte [esi + 0x5c], 0x92
mov byte [esi + 0x5d], 0xe5
mov byte [esi + 0x5e], 0x8e
mov byte [esi + 0x5f], 0xe7
mov byte [esi + 0x60], 0x9c
mov byte [esi + 0x61], 0xe1
mov byte [esi + 0x62], 0x9e
mov byte [esi + 0x63], 0xe3
mov byte [esi + 0x64], 0x9c
mov byte [esi + 0x65], 0xed
mov byte [esi + 0x66], 0xd8
mov byte [esi + 0x67], 0xef
mov byte [esi + 0x68], 0x84
mov byte [esi + 0x69], 0xe9
mov byte [esi + 0x6a], 0x9e
mov byte [esi + 0x6b], 0xeb
mov byte [esi + 0x6c], 0x80
mov byte [esi + 0x6d], 0xf5
mov byte [esi + 0x6e], 0xf6
mov byte [esi + 0x6f], 0xf7
lea eax, [esi + 0x58]
add eax, 0x18
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 7
call fcn.00408be0
add esp, 0xc
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 0x1f
jae 0x40a577
jmp 0x40a531
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
movzx ecx, byte [esi + ecx + 0x58]
mov edx, eax
add edx, 0xd411245c
lea eax, [eax + ecx - 0x2beedba4]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xbc]
add al, 0x7c
mov ecx, dword [esi + 0x10]
mov byte [esi + ecx + 0x58], al
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0x1f
jb 0x40a531
jmp 0x40a577
lea eax, [esi + 0x58]
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x800
call ebx
jmp 0x40a596
mov dword [esi + 0xb8], eax
jmp 0x40a59e
jmp 0x40a5a0
jmp 0x40a5a2
mov eax, dword [esi + 0xb8]
lea ecx, [0x44634c]
sub esp, 4
mov dword [esp], eax
call fcn.00438260
test al, 1
jne 0x40a5cd
mov byte [esi + 7], 0
mov dword [esi + 8], 1
jmp 0x40afaf
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xcd5bd590
call fcn.0043a8f0
add esp, 8
mov dword [0x446354], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x3098095e
call fcn.0043a8f0
add esp, 8
mov dword [0x446358], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x4133be71
call fcn.0043a8f0
add esp, 8
mov dword [0x44635c], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c8a781f
call fcn.0043a8f0
add esp, 8
mov dword [0x446360], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x71c23cd8
call fcn.0043a8f0
add esp, 8
mov dword [0x446364], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c121576
call fcn.0043a8f0
add esp, 8
mov dword [0x446368], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x21bbc64b
call fcn.0043a8f0
add esp, 8
mov dword [0x44636c], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x8d2eb73e
call fcn.0043a8f0
add esp, 8
mov dword [0x446370], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xde1934d7
call fcn.0043a8f0
add esp, 8
mov dword [0x446374], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xa2add3c4
call fcn.0043a8f0
add esp, 8
mov dword [0x446378], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1f4c40ff
call fcn.0043a8f0
add esp, 8
mov dword [0x44637c], eax
mov eax, dword [0x44634c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xfe8974d2
call fcn.0043a8f0
add esp, 8
mov dword [0x446380], eax
lea eax, [0x43e5f4]
mov dword [esi + 0xcc], eax
lea eax, [0x43e5f4]
mov dword [esi + 0x24], eax
jmp 0x40a764
lea eax, [0x43e5f4]
add eax, 0x24
mov dword [esi + 0xb4], eax
jmp 0x40a775
jmp 0x40a777
mov eax, dword [esi + 0x24]
cmp eax, dword [esi + 0xb4]
setne al
test al, 1
jne 0x40a797
jmp 0x40a789
mov dword [esi + 8], 2
jmp 0x40a792
jmp 0x40a8fa
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov dword [esi + 0xb0], eax
lea eax, [esi + 0x1d0]
mov ecx, dword [esi + 0xb0]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433700
add esp, 8
lea ebx, [esi + 0x1d0]
lea eax, [esi + 0xd0]
mov dword [esi + 0x2c], eax
add eax, 0x100
mov dword [esi + 0x30], eax
mov ecx, ebx
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40a7d9
mov ecx, eax
xor ecx, 0xffffffff
and ecx, ebx
mov edx, ebx
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
mov ecx, ebx
add ecx, eax
mov dword [esi + 0x90], 0
mov eax, dword [esi + 0x30]
add eax, 0xfffffffe
cmp ecx, ebx
ja 0x40a815
lea eax, [esi + 0xd0]
jmp 0x40a874
mov dword [esi + 0x30], eax
jmp 0x40a81a
cmp byte [ebx], 0
jne 0x40a824
mov eax, dword [esi + 0x2c]
jmp 0x40a874
sub esp, 0xc
lea eax, [esi + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
mov dword [esi + 0x78], ecx
call fcn.0040ebb0
add esp, 0xc
add ebx, eax
mov cx, word [esi + 0x90]
mov edx, dword [esi + 0x2c]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, dword [esi + 0x30]
setb cl
mov edx, ebx
sub edx, dword [esi + 0x78]
setb dl
and cl, dl
test cl, 1
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x2c], eax
jne 0x40a81a
mov word [eax], 0
lea eax, [esi + 0xd0]
sub esp, 4
mov dword [esp], eax
call fcn.0040afd0
add esp, 4
test al, 1
jne 0x40a893
jmp 0x40a8c2
lea eax, [esi + 0xd0]
lea ecx, [0x446388]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040bb20
add esp, 8
mov byte [esi + 7], 1
jmp 0x40a8b7
mov dword [esi + 8], 1
jmp 0x40a8c0
jmp 0x40a8c9
mov dword [esi + 8], 0
jmp 0x40a8cb
mov eax, dword [esi + 8]
cmp eax, 0
jne 0x40a8dc
mov dword [esi + 8], 0
jmp 0x40a8dc
mov eax, dword [esi + 8]
jmp 0x40a8e1
cmp eax, 0
jne 0x40a8f8
jmp 0x40a8e8
mov eax, dword [esi + 0x24]
add eax, 4
mov dword [esi + 0x24], eax
jmp 0x40a8f3
jmp 0x40a777
jmp 0x40a8fa
mov eax, dword [esi + 8]
jmp 0x40a8ff
cmp eax, 2
jne 0x40afaf
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
mov ecx, dword [esi + 0x9c]
mov dword [ecx], eax
mov eax, dword [esi + 0x40]
mov dword [eax], 0
mov eax, dword [esi + 0x7c]
mov dword [eax], 0
mov eax, dword [esi + 0x98]
mov al, byte [eax]
mov byte [esi + 0x4c], al
mov byte [edi], 0xb0
mov byte [edi + 1], 0x19
mov byte [edi + 2], 0xa6
mov byte [edi + 3], 0x1b
mov byte [edi + 4], 0x58
mov byte [edi + 5], 0xe5
mov byte [edi + 6], 0x56
mov byte [edi + 7], 0xe7
mov byte [edi + 8], 0x53
mov byte [edi + 9], 0xe1
mov byte [edi + 0xa], 0x18
mov byte [edi + 0xb], 0xe3
mov byte [edi + 0xc], 0x1b
mov byte [edi + 0xd], 0xed
mov byte [edi + 0xe], 0x19
mov byte [edi + 0xf], 0xef
mov byte [edi + 0x10], 0x5b
mov byte [edi + 0x11], 0xe9
mov byte [edi + 0x12], 0x56
mov byte [edi + 0x13], 0xeb
mov byte [edi + 0x14], 0x59
mov byte [edi + 0x15], 0xf5
mov byte [edi + 0x16], 0x57
mov byte [edi + 0x17], 0xf7
mov byte [edi + 0x18], 0x45
mov byte [edi + 0x19], 0xf1
mov byte [edi + 0x1a], 0x51
mov byte [edi + 0x1b], 0xf3
mov byte [edi + 0x1c], 0x4b
mov byte [edi + 0x1d], 0xfd
mov byte [edi + 0x1e], 0x4b
mov byte [edi + 0x1f], 0xff
mov byte [edi + 0x20], 0x4d
mov byte [edi + 0x21], 0xf9
mov byte [edi + 0x22], 0x47
mov byte [edi + 0x23], 0xfb
mov byte [edi + 0x24], 0x72
mov byte [edi + 0x25], 0xc5
mov byte [edi + 0x26], 0x6f
mov byte [edi + 0x27], 0xc7
mov byte [edi + 0x28], 0x7c
mov byte [edi + 0x29], 0xc1
mov byte [edi + 0x2a], 0x7b
mov byte [edi + 0x2b], 0xc3
mov byte [edi + 0x2c], 0x3a
mov byte [edi + 0x2d], 0xcd
mov byte [edi + 0x2e], 0x6d
mov byte [edi + 0x2f], 0xcf
mov byte [edi + 0x30], 0x7f
mov byte [edi + 0x31], 0xc9
mov byte [edi + 0x32], 0x7f
mov byte [edi + 0x33], 0xcb
mov byte [edi + 0x34], 0x23
mov byte [edi + 0x35], 0xd5
mov byte [edi + 0x36], 0x66
mov byte [edi + 0x37], 0xd7
mov byte [edi + 0x38], 0x62
mov byte [edi + 0x39], 0xd1
mov byte [edi + 0x3a], 0x65
mov byte [edi + 0x3b], 0xd3
mov byte [edi + 0x3c], 0x72
mov byte [edi + 0x3d], 0xdd
mov byte [edi + 0x3e], 0x77
mov byte [edi + 0x3f], 0xdf
mov byte [edi + 0x40], 0x6c
mov byte [edi + 0x41], 0xd9
mov byte [edi + 0x42], 0x77
mov byte [edi + 0x43], 0xdb
mov byte [edi + 0x44], 0x17
mov byte [edi + 0x45], 0xa5
mov byte [edi + 0x46], 0x51
mov byte [edi + 0x47], 0xa7
mov byte [edi + 0x48], 0x5f
mov byte [edi + 0x49], 0xa1
mov byte [edi + 0x4a], 0x5c
mov byte [edi + 0x4b], 0xa3
mov byte [edi + 0x4c], 0x51
mov byte [edi + 0x4d], 0xad
mov byte [edi + 0x4e], 0x50
mov byte [edi + 0x4f], 0xaf
mov byte [edi + 0x50], 0x59
mov byte [edi + 0x51], 0xa9
mov byte [edi + 0x52], 0x5b
mov byte [edi + 0x53], 0xab
mov byte [edi + 0x54], 0x4d
mov byte [edi + 0x55], 0xb5
mov byte [edi + 0x56], 0x4f
mov byte [edi + 0x57], 0xb7
mov byte [edi + 0x58], 0x4f
mov byte [edi + 0x59], 0xb1
mov byte [edi + 0x5a], 0x40
mov byte [edi + 0x5b], 0xb3
mov byte [edi + 0x5c], 0x40
mov byte [edi + 0x5d], 0xbd
mov byte [edi + 0x5e], 0x4d
mov byte [edi + 0x5f], 0xbf
mov byte [edi + 0x60], 0x4b
mov byte [edi + 0x61], 0xb9
mov byte [edi + 0x62], 0x4b
mov byte [edi + 0x63], 0xbb
mov byte [edi + 0x64], 0x7d
mov byte [edi + 0x65], 0x85
mov byte [edi + 0x66], 0x76
mov byte [edi + 0x67], 0x87
mov byte [edi + 0x68], 0x70
mov byte [edi + 0x69], 0x81
mov byte [edi + 0x6a], 0x82
mov byte [edi + 0x6b], 0x83
mov eax, edi
add eax, 0x6c
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 9
call fcn.00408be0
add esp, 0xc
jmp 0x40ab15
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0x75
jae 0x40ab84
jmp 0x40ab26
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx edx, byte [edi + ecx]
mov ecx, eax
add ecx, 0xe3cbca7c
lea eax, [eax + edx - 0x1c343584]
and ecx, edx
add ecx, ecx
mov edx, eax
not edx
mov ebx, ecx
and ebx, edx
not ecx
and eax, ecx
sub eax, ebx
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0xc0]
mov ecx, eax
xor ecx, 0x9b
and eax, 0x1b
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esi + 0x14]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x14]
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0x75
jb 0x40ab26
jmp 0x40ab84
jmp 0x40ab86
sub esp, 0xc
mov dword [esp], edi
mov edi, dword [esi + 0x40]
mov dword [esp + 4], edi
mov eax, dword [esi + 0x7c]
mov dword [esp + 8], eax
call fcn.0040bb60
add esp, 0xc
test al, 1
jne 0x40abab
jmp 0x40af9c
mov eax, dword [esi + 0x3c]
mov byte [eax], 0
mov eax, dword [esi + 0xa0]
mov al, byte [eax]
mov byte [esi + 0x50], al
mov edx, dword [esi + 0x80]
mov byte [edx], 0xe8
mov byte [edx + 1], 0x32
mov byte [edx + 2], 0x3a
mov byte [edx + 3], 0xa
mov byte [edx + 4], 0x3a
mov byte [edx + 5], 0xc9
mov byte [edx + 6], 0x39
mov byte [edx + 7], 3
mov byte [edx + 8], 0x35
mov byte [edx + 9], 0xa
mov byte [edx + 0xa], 0xd
mov byte [edx + 0xb], 0xd6
mov byte [edx + 0xc], 0xfe
mov byte [edx + 0xd], 0x30
mov byte [edx + 0xe], 0x31
mov byte [edx + 0xf], 3
mov byte [edx + 0x10], 1
mov byte [edx + 0x11], 0x3c
mov byte [edx + 0x12], 0xe
mov byte [edx + 0x13], 0x38
mov byte [edx + 0x14], 8
mov byte [edx + 0x15], 0x34
mov byte [edx + 0x16], 0x18
mov byte [edx + 0x17], 0x18
mov byte [edx + 0x18], 0x17
mov byte [edx + 0x19], 0x17
mov byte [edx + 0x1a], 0x23
mov byte [edx + 0x1b], 0x20
mov byte [edx + 0x1c], 0x12
mov byte [edx + 0x1d], 0x20
mov byte [edx + 0x1e], 0x1b
mov byte [edx + 0x1f], 0x22
mov byte [edx + 0x20], 0xe2
mov byte [edx + 0x21], 0xcf
mov byte [edx + 0x22], 0x8a
mov byte [edx + 0x27], 0
mov dword [edx + 0x23], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmp eax, 0x28
jae 0x40acb0
jmp 0x40ac69
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x18]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0x1a
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
mov edx, dword [esi + 0x80]
add eax, 0x46f4861a
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0xc4]
add al, 0x4a
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, 0x28
jb 0x40ac69
jmp 0x40acb0
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040c250
add esp, 8
mov ecx, dword [esi + 0x34]
mov dword [ecx], eax
cmp dword [ecx], 0
je 0x40af60
mov eax, dword [esi + 0xa4]
mov al, byte [eax]
mov byte [esi + 0x54], al
mov edx, dword [esi + 0x84]
mov byte [edx], 0x9a
mov byte [edx + 1], 0x94
mov byte [edx + 2], 0xd1
mov byte [edx + 3], 0xdb
mov byte [edx + 4], 0xed
mov byte [edx + 5], 0xdb
mov byte [edx + 6], 0x8a
mov byte [edx + 7], 0x4f
mov byte [edx + 0xa], 0
mov word [edx + 8], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
cmp eax, 0xb
jae 0x40ad68
jmp 0x40ad1d
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0xb5380eb5
add eax, 0xb5
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esi + 0xc8], edx
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0xc8]
add al, 0xd
mov ecx, dword [esi + 0x1c]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x1c]
inc eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, 0xb
jb 0x40ad1d
mov ecx, dword [esi + 0x34]
jmp 0x40ad68
mov eax, dword [ecx]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040c250
add esp, 8
mov ecx, dword [esi + 0xa8]
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [esi + 0x34]
jmp 0x40ad8b
cmp dword [eax], 0
je 0x40af5e
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ecx]
add eax, 0x22
mov edi, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 4
mov dword [esp], eax
call fcn.0040c290
add esp, 4
mov ecx, dword [esi + 0x38]
mov dword [ecx], eax
mov edx, dword [esi + 0xc]
jmp 0x40adc6
mov dword [edi], 0
jmp 0x40adce
jmp 0x40add0
mov eax, dword [edi]
mov ecx, dword [esi + 0x38]
mov ecx, dword [ecx]
cmp eax, ecx
setb al
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0xac]
jmp 0x40ade7
test al, 1
jne 0x40adf8
jmp 0x40aded
mov dword [esi + 8], 4
jmp 0x40adf6
jmp 0x40ae67
mov eax, dword [esi + 0x8c]
mov eax, dword [eax]
mov edi, dword [esi + 0x88]
add eax, dword [edi]
mov al, byte [eax]
mov byte [ecx], al
mov al, byte [ecx]
jmp 0x40ae10
movsx eax, al
jmp 0x40ae15
cmp eax, 0x61
jl 0x40ae52
mov al, byte [ecx]
movsx eax, al
jmp 0x40ae21
jmp 0x40ae23
cmp eax, 0x7a
jg 0x40ae52
mov al, byte [ecx]
movsx eax, al
add eax, 0xffffff9e
add eax, 1
sub eax, 0xb
add eax, 0x1a
mov ecx, 0x1a
cdq
idiv ecx
mov eax, edx
and eax, 0x61
or edx, 0x61
add eax, edx
mov edx, dword [esi + 0xc]
jmp 0x40ae50
jmp 0x40ae54
mov al, byte [ecx]
mov ecx, dword [edi]
mov byte [edx + ecx], al
mov eax, dword [edi]
add eax, 1
mov dword [edi], eax
jmp 0x40ae62
jmp 0x40add0
mov eax, dword [esi + 0x38]
mov eax, dword [eax]
mov byte [edx + eax], 0
add edi, 0x80
mov ecx, edx
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40ae78
mov ecx, eax
xor ecx, 0xffffffff
mov ebx, dword [esi + 0xc]
and ecx, ebx
mov edx, ebx
xor edx, 0xffffffff
and eax, edx
mov edx, ebx
sub eax, ecx
mov ebx, edx
add ebx, eax
mov dword [esi + 0x94], 0
add edi, 0xfffffffe
cmp ebx, edx
mov ecx, dword [esi + 0x20]
mov eax, ecx
jbe 0x40af15
mov dword [esi + 0x28], ecx
jmp 0x40aeb8
cmp byte [edx], 0
jne 0x40aec2
mov eax, dword [esi + 0x28]
jmp 0x40af15
sub esp, 0xc
lea eax, [esi + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esi + 0xc], edx
call fcn.0040ebb0
add esp, 0xc
add dword [esi + 0xc], eax
mov cx, word [esi + 0x94]
mov edx, dword [esi + 0x28]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, edi
setb cl
mov edx, dword [esi + 0xc]
sub edx, ebx
setb dl
and cl, dl
mov edx, dword [esi + 0xc]
test cl, 1
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], eax
jne 0x40aeb8
mov word [eax], 0
sub esp, 4
mov dword [esp], ecx
call fcn.0040afd0
add esp, 4
test al, 1
mov edi, dword [esi + 0x40]
jne 0x40af31
jmp 0x40af5a
lea eax, [0x446388]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 4], eax
call fcn.0040bb20
add esp, 8
mov eax, dword [esi + 0x3c]
mov byte [eax], 1
jmp 0x40af54
jmp 0x40af56
jmp 0x40af58
jmp 0x40af5a
jmp 0x40af5c
jmp 0x40af5e
jmp 0x40af60
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call fcn.00436e70
add esp, 4
mov eax, dword [esi + 0x3c]
test byte [eax], 1
je 0x40af85
mov byte [esi + 7], 1
mov dword [esi + 8], 1
jmp 0x40af8e
mov dword [esi + 8], 0
jmp 0x40af8e
jmp 0x40af90
mov eax, dword [esi + 8]
jmp 0x40af95
cmp eax, 0
jne 0x40afab
jmp 0x40af9c
mov byte [esi + 7], 0
mov dword [esi + 8], 1
jmp 0x40afa9
jmp 0x40afab
jmp 0x40afad
jmp 0x40afaf
mov al, byte [esi + 7]
jmp 0x40afb4
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret