Function at 0x40ad50
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, 0xc0
mov esi, esp
call fcn.0040ff30
push eax
mov dword [esi + 0x20], esp
push eax
mov ebx, esp
sub esp, 0x20
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
push eax
mov ecx, esp
push eax
mov dword [esi + 0x24], esp
push eax
mov dword [esi + 0x88], esp
push eax
mov dword [esi + 0x28], esp
push eax
mov dword [esi + 0x60], esp
push eax
mov dword [esi + 0x90], esp
sub esp, 0x80
mov dword [esi + 0x5c], esp
sub esp, 0x100
mov dword [esi + 0x14], esp
push eax
mov dword [esi + 0x94], esp
push eax
mov edi, esp
push eax
mov dword [esi + 0x64], esp
sub esp, 0x78
mov edx, esp
and edx, 0xfffffff8
mov dword [esi + 0x2c], edx
mov esp, edx
push eax
mov dword [esi + 0x8c], esp
push eax
mov dword [esi + 0x40], esp
push eax
mov dword [esi + 0x30], esp
sub esp, 0x30
mov edx, esp
and edx, 0xfffffff8
mov dword [esi + 0x68], edx
mov esp, edx
push eax
mov dword [esi + 0x98], esp
push eax
mov dword [esi + 0xa0], esp
sub esp, 0x10
mov edx, esp
and edx, 0xfffffff8
mov dword [esi + 0x6c], edx
mov esp, edx
push eax
mov dword [esi + 0x9c], esp
sub esp, 0x40
mov dword [esi], esp
push eax
mov dword [esi + 0x34], esp
push eax
mov dword [esi + 0x38], esp
push eax
mov dword [esi + 0x18], esp
push eax
mov dword [esi + 0xa4], esp
sub esp, 0x80
mov dword [esi + 0x3c], esp
mov edx, dword [0x447ec0]
mov cl, byte [ecx]
mov byte [esi + 0x44], cl
mov byte [eax], 0x87
mov byte [eax + 1], 0xd
mov byte [eax + 2], 0x73
mov byte [eax + 3], 0xb
mov byte [eax + 4], 0x7a
mov byte [eax + 5], 9
mov byte [eax + 6], 0x7e
mov byte [eax + 7], 7
mov byte [eax + 8], 0x88
mov byte [eax + 9], 5
mov byte [eax + 0xa], 0x8e
mov byte [eax + 0xb], 3
mov byte [eax + 0xc], 0x70
mov byte [eax + 0xd], 1
mov byte [eax + 0xe], 0x2c
mov byte [eax + 0xf], 0x1f
mov byte [eax + 0x10], 0x60
mov byte [eax + 0x11], 0x1d
mov byte [eax + 0x12], 0x6e
mov byte [eax + 0x13], 0x1b
mov byte [eax + 0x14], 0x6c
mov byte [eax + 0x15], 0x19
mov byte [eax + 0x16], 0x16
mov byte [eax + 0x17], 0x17
mov byte [eax + 0x18], 0
mov dword [esi + 4], 0
mov ecx, dword [esi + 4]
cmp ecx, 0x19
jae 0x40af21
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x1c], edi
jmp 0x40aeb2
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 4]
movzx ecx, byte [eax + ecx]
mov edx, ebx
and edx, 0xc0f12782
xor ebx, 0x40f12782
lea edx, [ebx + edx*2]
mov ebx, ecx
not ebx
mov edi, edx
or edi, ebx
not edx
or edx, ecx
add edi, edx
mov ecx, 0xfffffffe
sub ecx, edi
mov dword [esi + 0xa8], ecx
mov ecx, dword [esi + 0xa8]
mov edx, ecx
xor edx, 0x71
and ecx, 0x71
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esi + 4]
mov byte [eax + edx], cl
mov ecx, dword [esi + 4]
inc ecx
mov dword [esi + 4], ecx
mov ecx, dword [esi + 4]
cmp ecx, 0x19
jb 0x40aeb2
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
jmp 0x40af21
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x800
call edx
mov dword [ebx], eax
mov eax, dword [ebx]
lea ecx, [0x447e88]
sub esp, 4
mov dword [esp], eax
call fcn.00437490
test al, 1
mov ebx, edi
jne 0x40af6c
jmp 0x40af58
mov eax, dword [esi + 0x20]
mov byte [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 1
jmp 0x40b8ea
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xcd5bd590
call fcn.0043a090
add esp, 8
mov dword [0x447e90], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x3098095e
call fcn.0043a090
add esp, 8
mov dword [0x447e94], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x4133be71
call fcn.0043a090
add esp, 8
mov dword [0x447e98], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c8a781f
call fcn.0043a090
add esp, 8
mov dword [0x447e9c], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x71c23cd8
call fcn.0043a090
add esp, 8
mov dword [0x447ea0], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c121576
call fcn.0043a090
add esp, 8
mov dword [0x447ea4], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x21bbc64b
call fcn.0043a090
add esp, 8
mov dword [0x447ea8], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x8d2eb73e
call fcn.0043a090
add esp, 8
mov dword [0x447eac], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xde1934d7
call fcn.0043a090
add esp, 8
mov dword [0x447eb0], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xa2add3c4
call fcn.0043a090
add esp, 8
mov dword [0x447eb4], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1f4c40ff
call fcn.0043a090
add esp, 8
mov dword [0x447eb8], eax
mov eax, dword [0x447e88]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xfe8974d2
call fcn.0043a090
add esp, 8
mov dword [0x447ebc], eax
lea eax, [0x43e5f4]
mov ecx, dword [esi + 0x88]
mov dword [ecx], eax
lea eax, [0x43e5f4]
mov edx, dword [esi + 0x28]
mov dword [edx], eax
lea eax, [0x43e5f4]
add eax, 0x24
mov ecx, dword [esi + 0x60]
mov dword [ecx], eax
mov eax, dword [edx]
mov ecx, dword [esi + 0x60]
mov ecx, dword [ecx]
mov edi, dword [esi + 0x24]
jmp 0x40b11f
cmp eax, ecx
setne al
test al, 1
jne 0x40b135
jmp 0x40b12a
mov dword [edi], 2
jmp 0x40b276
mov eax, dword [edx]
mov eax, dword [eax]
mov ecx, dword [esi + 0x90]
mov dword [ecx], eax
mov eax, ecx
mov dword [esi + 0x1c], ebx
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov ebx, dword [esi + 0x5c]
mov dword [esp + 4], ebx
call fcn.004345d0
add esp, 8
mov edi, dword [esi + 0x14]
add edi, 0x100
mov ecx, ebx
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b168
sub eax, ebx
mov ecx, ebx
mov ebx, ecx
add ebx, eax
mov dword [esi + 0x70], 0
mov edx, edi
add edx, 0xfffffffe
cmp ebx, ecx
mov eax, dword [esi + 0x14]
jbe 0x40b1ef
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x5c]
jmp 0x40b197
cmp byte [ecx], 0
jne 0x40b1a0
mov eax, edi
jmp 0x40b1ef
sub esp, 0xc
lea eax, [esi + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [esi + 0x58], edx
mov dword [esi + 0x78], edi
mov edi, ecx
call fcn.0040fda0
add esp, 0xc
add edi, eax
mov cx, word [esi + 0x70]
mov edx, dword [esi + 0x78]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, dword [esi + 0x58]
setb cl
mov edx, edi
sub edx, ebx
setb dl
and cl, dl
mov edx, dword [esi + 0x58]
test cl, 1
mov ecx, edi
mov edi, eax
jne 0x40b197
mov word [eax], 0
mov edi, dword [esi + 0x24]
sub esp, 4
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call fcn.0040b900
add esp, 4
mov ebx, dword [esi + 0x1c]
jmp 0x40b20d
test al, 1
jne 0x40b213
jmp 0x40b23f
lea eax, [0x447ec4]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 4], eax
call fcn.0040c410
add esp, 8
mov eax, dword [esi + 0x20]
mov byte [eax], 1
mov dword [edi], 1
mov edx, dword [esi + 0x28]
jmp 0x40b24a
mov dword [edi], 0
mov edx, dword [esi + 0x28]
jmp 0x40b24a
mov eax, dword [edi]
jmp 0x40b24e
jmp 0x40b250
cmp eax, 0
jne 0x40b25f
mov dword [edi], 0
jmp 0x40b25d
jmp 0x40b25f
mov eax, dword [edi]
cmp eax, 0
jne 0x40b274
jmp 0x40b268
mov eax, dword [edx]
add eax, 4
mov dword [edx], eax
jmp 0x40b113
jmp 0x40b276
mov eax, dword [edi]
jmp 0x40b27a
jmp 0x40b27c
jmp 0x40b27e
cmp eax, 2
jne 0x40b8ea
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
mov ecx, dword [esi + 0x94]
mov dword [ecx], eax
mov dword [ebx], 0
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x2c]
jmp 0x40b2af
mov dword [ecx], 0
mov eax, dword [esi + 0x8c]
mov al, byte [eax]
mov byte [esi + 0x48], al
mov byte [edx], 0xbe
mov byte [edx + 1], 1
mov byte [edx + 2], 0x8c
mov byte [edx + 3], 3
mov byte [edx + 4], 0x8e
mov byte [edx + 5], 0x1d
mov byte [edx + 6], 0xac
mov byte [edx + 7], 0x1f
mov byte [edx + 8], 0x93
mov byte [edx + 9], 0x19
mov byte [edx + 0xa], 0x52
mov byte [edx + 0xb], 0x1b
mov byte [edx + 0xc], 0x6b
mov byte [edx + 0xd], 0x15
mov byte [edx + 0xe], 0x65
mov byte [edx + 0xf], 0x17
mov byte [edx + 0x10], 0x9b
mov byte [edx + 0x11], 0x11
mov byte [edx + 0x12], 0x9c
mov byte [edx + 0x13], 0x13
mov byte [edx + 0x14], 0xad
mov byte [edx + 0x15], 0x6d
mov byte [edx + 0x16], 0xcf
mov byte [edx + 0x17], 0x6f
mov byte [edx + 0x18], 0xd9
mov byte [edx + 0x19], 0x69
mov byte [edx + 0x1a], 0xd5
mov byte [edx + 0x1b], 0x6b
mov byte [edx + 0x1c], 0xdb
mov byte [edx + 0x1d], 0x65
mov byte [edx + 0x1e], 0xd3
mov byte [edx + 0x1f], 0x67
mov byte [edx + 0x20], 0xd1
mov byte [edx + 0x21], 0x61
mov byte [edx + 0x22], 0xef
mov byte [edx + 0x23], 0x63
mov byte [edx + 0x24], 0xd4
mov byte [edx + 0x25], 0x7d
mov byte [edx + 0x26], 0xc7
mov byte [edx + 0x27], 0x7f
mov byte [edx + 0x28], 0xf2
mov byte [edx + 0x29], 0x79
mov byte [edx + 0x2a], 0xf3
mov byte [edx + 0x2b], 0x7b
mov byte [edx + 0x2c], 0xc
mov byte [edx + 0x2d], 0x75
mov byte [edx + 0x2e], 0xc9
mov byte [edx + 0x2f], 0x77
mov byte [edx + 0x30], 0xc7
mov byte [edx + 0x31], 0x71
mov byte [edx + 0x32], 0xc7
mov byte [edx + 0x33], 0x73
mov byte [edx + 0x34], 3
mov byte [edx + 0x35], 0x4d
mov byte [edx + 0x36], 0xfc
mov byte [edx + 0x37], 0x4f
mov byte [edx + 0x38], 0xfc
mov byte [edx + 0x39], 0x49
mov byte [edx + 0x3a], 0xf9
mov byte [edx + 0x3b], 0x4b
mov byte [edx + 0x3c], 0xf4
mov byte [edx + 0x3d], 0x45
mov byte [edx + 0x3e], 0xff
mov byte [edx + 0x3f], 0x47
mov byte [edx + 0x40], 0xf2
mov byte [edx + 0x41], 0x41
mov byte [edx + 0x42], 0xff
mov byte [edx + 0x43], 0x43
mov byte [edx + 0x44], 0xcf
mov byte [edx + 0x45], 0x5d
mov byte [edx + 0x46], 0x2d
mov byte [edx + 0x47], 0x5f
mov byte [edx + 0x48], 0x17
mov byte [edx + 0x49], 0x59
mov byte [edx + 0x4a], 0x16
mov byte [edx + 0x4b], 0x5b
mov byte [edx + 0x4c], 0x15
mov byte [edx + 0x4d], 0x55
mov byte [edx + 0x4e], 0x1a
mov byte [edx + 0x4f], 0x57
mov byte [edx + 0x50], 0x25
mov byte [edx + 0x51], 0x51
mov byte [edx + 0x52], 0x23
mov byte [edx + 0x53], 0x53
mov byte [edx + 0x54], 0x19
mov byte [edx + 0x55], 0xad
mov byte [edx + 0x56], 0xe7
mov byte [edx + 0x57], 0xaf
mov byte [edx + 0x58], 0xe7
mov byte [edx + 0x59], 0xa9
mov byte [edx + 0x5a], 0xda
mov byte [edx + 0x5b], 0xab
mov byte [edx + 0x5c], 0xe6
mov byte [edx + 0x5d], 0xa5
mov byte [edx + 0x5e], 0xe9
mov byte [edx + 0x5f], 0xa7
mov byte [edx + 0x60], 0xeb
mov byte [edx + 0x61], 0xa1
mov byte [edx + 0x62], 0xd3
mov byte [edx + 0x63], 0xa3
mov byte [edx + 0x64], 0xe9
mov byte [edx + 0x65], 0xbd
mov byte [edx + 0x66], 0xcc
mov byte [edx + 0x67], 0xbf
mov byte [edx + 0x68], 0xce
mov byte [edx + 0x69], 0xb9
mov byte [edx + 0x6a], 0xb8
mov byte [edx + 0x6b], 0xbb
mov dword [edx + 0x70], 0
mov dword [edx + 0x6c], 0
jmp 0x40b47f
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x74
jae 0x40b4db
jmp 0x40b490
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x2c]
movzx edx, byte [edx + ecx]
mov ecx, eax
add ecx, edx
add eax, 0x2b
and eax, edx
mov edx, dword [esi + 0x2c]
add eax, eax
sub ecx, eax
add ecx, 0x3aaeec2b
mov dword [esi + 0xac], ecx
mov eax, dword [esi + 0xac]
add al, 0xd3
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x74
jb 0x40b490
mov ecx, dword [esi + 0x64]
jmp 0x40b4db
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0040c450
add esp, 0xc
test al, 1
jne 0x40b4fa
jmp 0x40b8d6
mov eax, dword [esi + 0x40]
mov byte [eax], 0
mov eax, dword [esi + 0x98]
mov al, byte [eax]
mov byte [esi + 0x4c], al
mov edx, dword [esi + 0x68]
mov byte [edx], 0xfc
mov byte [edx + 1], 0xc2
mov byte [edx + 2], 0xc2
mov byte [edx + 3], 0xd2
mov byte [edx + 4], 0xca
mov byte [edx + 5], 0x15
mov byte [edx + 6], 0xd5
mov byte [edx + 7], 0xcb
mov byte [edx + 8], 0x29
mov byte [edx + 9], 0x3a
mov byte [edx + 0xa], 0x39
mov byte [edx + 0xb], 6
mov byte [edx + 0xc], 0xee
mov byte [edx + 0xd], 0x2c
mov byte [edx + 0xe], 0x2d
mov byte [edx + 0xf], 0x3b
mov byte [edx + 0x10], 0x35
mov byte [edx + 0x11], 0x20
mov byte [edx + 0x12], 0x3e
mov byte [edx + 0x13], 0x2c
mov byte [edx + 0x14], 0x34
mov byte [edx + 0x15], 0x20
mov byte [edx + 0x16], 0x34
mov byte [edx + 0x17], 0x34
mov byte [edx + 0x18], 0x27
mov byte [edx + 0x19], 0x27
mov byte [edx + 0x1a], 0x3b
mov byte [edx + 0x1b], 0x34
mov byte [edx + 0x1c], 0x22
mov byte [edx + 0x1d], 0x3c
mov byte [edx + 0x1e], 0x23
mov byte [edx + 0x1f], 0x3a
mov byte [edx + 0x20], 0xf2
mov byte [edx + 0x21], 0x1f
mov byte [edx + 0x22], 0xd2
mov dword [edx + 0x2a], 0
mov dword [edx + 0x27], 0
mov dword [edx + 0x23], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x2e
jae 0x40b606
jmp 0x40b5bf
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0xf8
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
mov edx, dword [esi + 0x68]
add eax, 0x96befef8
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0xb0]
add al, 0x38
mov ecx, dword [esi + 0xc]
mov byte [edx + ecx], al
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x2e
jb 0x40b5bf
jmp 0x40b606
mov eax, dword [ebx]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040ce20
add esp, 8
mov ecx, dword [esi + 0x30]
mov dword [ecx], eax
cmp dword [ecx], 0
setne al
test al, 1
mov edx, dword [esi + 0x6c]
jne 0x40b631
jmp 0x40b89b
mov eax, dword [esi + 0x9c]
mov al, byte [eax]
mov byte [esi + 0x50], al
mov byte [edx], 0xdc
mov byte [edx + 1], 0xee
mov byte [edx + 2], 0xa9
mov byte [edx + 3], 0xab
mov byte [edx + 4], 0x45
mov byte [edx + 5], 0x53
mov byte [edx + 6], 0x20
mov byte [edx + 7], 0xe7
mov dword [edx + 8], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 0xc
jae 0x40b6b8
jmp 0x40b673
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0x9deec8fc
add eax, 0xfc
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esi + 0xb4], edx
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0xb4]
add al, 0x1c
mov ecx, dword [esi + 0x10]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0xc
jb 0x40b673
jmp 0x40b6b8
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040ce20
add esp, 8
mov ecx, dword [esi + 0xa0]
mov dword [ecx], eax
cmp dword [ecx], 0
setne al
test al, 1
jne 0x40b6e6
jmp 0x40b897
mov eax, dword [ecx]
mov byte [eax], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
add eax, 0x22
mov ecx, dword [esi + 0x34]
mov dword [ecx], eax
jmp 0x40b6fa
jmp 0x40b6fc
mov eax, dword [esi + 0x34]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.004095d0
add esp, 4
mov ecx, dword [esi + 0x38]
mov dword [ecx], eax
mov edx, dword [esi]
mov ecx, dword [esi + 0x18]
jmp 0x40b71b
mov dword [ecx], 0
mov eax, dword [ecx]
mov ecx, dword [esi + 0x38]
mov ecx, dword [ecx]
jmp 0x40b72a
cmp eax, ecx
setb al
mov ecx, dword [esi + 0x18]
jmp 0x40b734
jmp 0x40b736
jmp 0x40b738
test al, 1
jne 0x40b749
jmp 0x40b73e
mov dword [edi], 4
mov dword [esi + 0x1c], ebx
jmp 0x40b7c5
mov eax, dword [esi + 0x34]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0xa4]
mov byte [ecx], al
movsx eax, byte [ecx]
cmp eax, 0x61
jl 0x40b7a0
movsx eax, byte [ecx]
cmp eax, 0x7a
jg 0x40b7a0
movsx eax, byte [ecx]
add eax, 0x3df081fd
sub eax, 0x61
sub eax, 0x3df081fd
add eax, 0xfffffff5
add eax, 0x1a
mov ecx, 0x1a
cdq
idiv ecx
add edx, 0x71e4aa1c
add edx, 0x61
sub edx, 0x71e4aa1c
mov dword [esi + 0x54], edx
mov eax, dword [esi + 0x18]
jmp 0x40b7aa
mov al, byte [ecx]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x18]
jmp 0x40b7aa
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, dword [esi + 0x54]
mov byte [ecx + eax], dl
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
add eax, 1
mov dword [ecx], eax
mov edx, dword [esi]
jmp 0x40b721
mov eax, dword [esi + 0x38]
mov eax, dword [eax]
mov byte [edx + eax], 0
mov edi, dword [esi + 0x3c]
add edi, 0x80
mov ecx, edx
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b7d9
mov edx, dword [esi]
sub eax, edx
mov ebx, edx
add ebx, eax
mov dword [esi + 0x74], 0
add edi, 0xfffffffe
mov ecx, edi
cmp ebx, edx
mov edi, dword [esi + 0x3c]
mov eax, edi
jbe 0x40b856
mov dword [esi + 0x7c], ecx
jmp 0x40b807
cmp byte [edx], 0
jne 0x40b810
mov eax, edi
jmp 0x40b853
sub esp, 0xc
lea eax, [esi + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esi], edx
call fcn.0040fda0
add esp, 0xc
add dword [esi], eax
mov cx, word [esi + 0x74]
mov eax, edi
add eax, 2
mov word [edi], cx
mov ecx, eax
sub ecx, dword [esi + 0x7c]
setb cl
mov edx, dword [esi]
sub edx, ebx
setb dl
and cl, dl
mov edx, dword [esi]
test cl, 1
mov edi, eax
jne 0x40b807
mov edi, dword [esi + 0x3c]
mov word [eax], 0
sub esp, 4
mov dword [esp], edi
call fcn.0040b900
add esp, 4
test al, 1
jne 0x40b86f
jmp 0x40b88d
lea eax, [0x447ec4]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040c410
add esp, 8
mov eax, dword [esi + 0x40]
mov byte [eax], 1
mov edi, dword [esi + 0x24]
mov ebx, dword [esi + 0x1c]
jmp 0x40b895
jmp 0x40b897
jmp 0x40b899
jmp 0x40b89b
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call fcn.004360c0
add esp, 4
mov eax, dword [esi + 0x40]
test byte [eax], 1
je 0x40b8c3
mov eax, dword [esi + 0x20]
mov byte [eax], 1
mov dword [edi], 1
jmp 0x40b8c1
jmp 0x40b8cd
mov dword [edi], 0
jmp 0x40b8cb
jmp 0x40b8cd
mov eax, dword [edi]
cmp eax, 0
jne 0x40b8e4
jmp 0x40b8d6
mov eax, dword [esi + 0x20]
mov byte [eax], 0
mov dword [edi], 1
jmp 0x40b8e4
jmp 0x40b8e6
jmp 0x40b8e8
jmp 0x40b8ea
mov eax, dword [esi + 0x20]
mov al, byte [eax]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret