Function at 0x40a650
Capabilities:
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.004095f0
push eax
mov ebx, esp
push eax
mov dword [esi + 0x80], esp
sub esp, 0x20
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
push eax
mov ecx, esp
push eax
mov dword [esi], esp
push eax
mov dword [esi + 0x84], esp
push eax
mov dword [esi + 0x38], esp
push eax
mov dword [esi + 0x58], esp
push eax
mov dword [esi + 0x8c], esp
sub esp, 0x80
mov dword [esi + 0x34], esp
sub esp, 0x100
mov dword [esi + 0x30], esp
push eax
mov dword [esi + 0x90], esp
push eax
mov dword [esi + 0x44], esp
push eax
mov dword [esi + 0x5c], esp
sub esp, 0x78
mov edi, esp
and edi, 0xfffffff8
mov esp, edi
push eax
mov dword [esi + 0x88], esp
push eax
mov dword [esi + 0x40], esp
push eax
mov dword [esi + 0x3c], esp
sub esp, 0x30
mov edx, esp
and edx, 0xfffffff8
mov esp, edx
mov dword [esi + 0x60], edx
jmp 0x40a6df
push eax
mov dword [esi + 0x94], esp
push eax
mov dword [esi + 0x9c], esp
sub esp, 0x10
mov edx, esp
and edx, 0xfffffff8
mov dword [esi + 0x64], edx
mov esp, edx
push eax
mov dword [esi + 0x98], esp
sub esp, 0x40
mov dword [esi + 4], esp
push eax
mov dword [esi + 0x68], esp
push eax
mov dword [esi + 0xa4], esp
push eax
mov dword [esi + 0x2c], esp
push eax
mov dword [esi + 0xa0], esp
sub esp, 0x80
mov dword [esi + 0x18], esp
mov edx, dword [0x445908]
mov cl, byte [ecx]
mov byte [esi + 0x48], cl
mov byte [eax], 0x8f
mov byte [eax + 1], 1
mov byte [eax + 2], 0xbb
mov byte [eax + 3], 3
mov byte [eax + 4], 0xb4
mov byte [eax + 5], 0x1d
mov byte [eax + 6], 0xa4
mov byte [eax + 7], 0x1f
mov byte [eax + 8], 0x92
mov byte [eax + 9], 0x19
mov byte [eax + 0xa], 0x94
mov byte [eax + 0xb], 0x1b
mov byte [eax + 0xc], 0xaa
mov byte [eax + 0xd], 0x15
mov byte [eax + 0xe], 0x62
mov byte [eax + 0xf], 0x17
mov byte [eax + 0x10], 0xaa
mov byte [eax + 0x11], 0x11
mov byte [eax + 0x12], 0xa4
mov byte [eax + 0x13], 0x13
mov byte [eax + 0x14], 0xa6
mov byte [eax + 0x15], 0x6d
mov byte [eax + 0x16], 0x6c
mov byte [eax + 0x17], 0x6f
mov dword [eax + 0x1b], 0
mov dword [eax + 0x18], 0
mov dword [esi + 8], 0
mov ecx, dword [esi + 8]
cmp ecx, 0x1f
mov dword [esi + 0x1c], ebx
jae 0x40a7fc
mov dword [esi + 0x7c], edx
jmp 0x40a7b5
mov edx, dword [esi + 8]
mov ebx, dword [esi + 8]
movzx ebx, byte [eax + ebx]
mov ecx, edx
add ecx, 0x3d5a5b2b
add edx, 0x2b
and edx, ebx
or ecx, ebx
sub ecx, edx
mov dword [esi + 0xa8], ecx
mov ecx, dword [esi + 0xa8]
add cl, 0xd3
mov edx, dword [esi + 8]
mov byte [eax + edx], cl
mov ecx, dword [esi + 8]
inc ecx
mov dword [esi + 8], ecx
mov ecx, dword [esi + 8]
cmp ecx, 0x1f
jb 0x40a7b5
mov ebx, dword [esi + 0x1c]
mov edx, dword [esi + 0x7c]
jmp 0x40a7fc
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x800
call edx
mov ecx, dword [esi + 0x80]
mov dword [ecx], eax
mov eax, dword [ecx]
lea ecx, [0x4458d0]
sub esp, 4
mov dword [esp], eax
call fcn.00437420
test al, 1
jne 0x40a847
jmp 0x40a837
mov byte [ebx], 0
mov eax, dword [esi]
mov dword [eax], 1
jmp 0x40b1dc
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xcd5bd590
call fcn.00439870
add esp, 8
mov dword [0x4458d8], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x3098095e
call fcn.00439870
add esp, 8
mov dword [0x4458dc], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x4133be71
call fcn.00439870
add esp, 8
mov dword [0x4458e0], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c8a781f
call fcn.00439870
add esp, 8
mov dword [0x4458e4], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x71c23cd8
call fcn.00439870
add esp, 8
mov dword [0x4458e8], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1c121576
call fcn.00439870
add esp, 8
mov dword [0x4458ec], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x21bbc64b
call fcn.00439870
add esp, 8
mov dword [0x4458f0], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x8d2eb73e
call fcn.00439870
add esp, 8
mov dword [0x4458f4], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xde1934d7
call fcn.00439870
add esp, 8
mov dword [0x4458f8], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xa2add3c4
call fcn.00439870
add esp, 8
mov dword [0x4458fc], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x1f4c40ff
call fcn.00439870
add esp, 8
mov dword [0x445900], eax
mov eax, dword [0x4458d0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xfe8974d2
call fcn.00439870
add esp, 8
mov dword [0x445904], eax
lea eax, [0x43d5f4]
mov ecx, dword [esi + 0x84]
mov dword [ecx], eax
lea eax, [0x43d5f4]
mov edx, dword [esi + 0x38]
mov dword [edx], eax
lea eax, [0x43d5f4]
add eax, 0x24
mov ecx, dword [esi + 0x58]
mov dword [ecx], eax
mov eax, dword [edx]
mov ecx, dword [ecx]
cmp eax, ecx
setne al
test al, 1
jne 0x40aa0a
jmp 0x40a9fd
mov ecx, dword [esi]
mov dword [ecx], 2
jmp 0x40ab5e
mov eax, dword [edx]
mov eax, dword [eax]
mov ecx, dword [esi + 0x8c]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 8
mov dword [esp], eax
mov ebx, dword [esi + 0x34]
mov dword [esp + 4], ebx
call fcn.00432a90
add esp, 8
mov eax, dword [esi + 0x30]
add eax, 0x100
mov dword [esi + 0x28], eax
mov ecx, ebx
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40aa3a
mov ecx, dword [esi + 0x34]
sub eax, ecx
mov ebx, ecx
add ebx, eax
mov dword [esi + 0x6c], 0
mov edx, dword [esi + 0x28]
add edx, 0xfffffffe
cmp ebx, ecx
mov ecx, dword [esi + 0x30]
mov eax, ecx
jbe 0x40aadf
mov eax, dword [esi + 0x34]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], ecx
jmp 0x40aa70
mov eax, dword [esi + 0x24]
cmp byte [eax], 0
jne 0x40aa7d
mov eax, dword [esi + 0x20]
jmp 0x40aadf
sub esp, 0xc
lea eax, [esi + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x24]
mov dword [esp], eax
mov dword [esi + 0x28], edx
call fcn.0040ecd0
add esp, 0xc
mov edx, dword [esi + 0x24]
add edx, eax
mov ax, word [esi + 0x6c]
mov word [esi + 0x56], ax
mov eax, dword [esi + 0x20]
add eax, 2
mov cx, word [esi + 0x56]
mov dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x20]
mov word [ebx], cx
mov ebx, dword [esi + 0x74]
mov ecx, eax
sub ecx, dword [esi + 0x28]
setb cl
mov dword [esi + 0x24], edx
sub edx, ebx
setb dl
and cl, dl
mov edx, dword [esi + 0x28]
test cl, 1
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x20], eax
jne 0x40aa70
mov word [eax], 0
sub esp, 4
mov dword [esp], ecx
mov ebx, ecx
call fcn.0040b1f0
add esp, 4
test al, 1
jne 0x40aafa
jmp 0x40ab25
lea eax, [0x44590c]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040bd00
add esp, 8
mov ebx, dword [esi + 0x1c]
mov byte [ebx], 1
mov ecx, dword [esi]
mov dword [ecx], 1
mov edx, dword [esi + 0x38]
jmp 0x40ab35
mov ecx, dword [esi]
mov dword [ecx], 0
mov ebx, dword [esi + 0x1c]
mov edx, dword [esi + 0x38]
jmp 0x40ab35
cmp dword [ecx], 0
jne 0x40ab42
mov dword [ecx], 0
jmp 0x40ab42
mov eax, dword [ecx]
jmp 0x40ab46
cmp eax, 0
jne 0x40ab5c
mov ecx, dword [esi + 0x58]
jmp 0x40ab50
mov eax, dword [edx]
add eax, 4
mov dword [edx], eax
jmp 0x40a9ee
jmp 0x40ab5e
jmp 0x40ab60
jmp 0x40ab62
cmp dword [ecx], 2
jne 0x40b1dc
call fcn.004095f0
sub esp, 4
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
call eax
mov ecx, dword [esi + 0x90]
mov dword [ecx], eax
mov ebx, dword [esi + 0x44]
mov dword [ebx], 0
mov ecx, dword [esi + 0x5c]
mov dword [ecx], 0
mov eax, dword [esi + 0x88]
mov al, byte [eax]
mov byte [esi + 0x4c], al
mov byte [edi], 0x94
mov byte [edi + 1], 0xd
mov byte [edi + 2], 0x96
mov byte [edi + 3], 3
mov byte [edi + 4], 0x94
mov byte [edi + 5], 1
mov byte [edi + 6], 0x96
mov byte [edi + 7], 7
mov byte [edi + 8], 0x93
mov byte [edi + 9], 5
mov byte [edi + 0xa], 0xf4
mov byte [edi + 0xb], 0x3b
mov byte [edi + 0xc], 0xeb
mov byte [edi + 0xd], 0x39
mov byte [edi + 0xe], 0xed
mov byte [edi + 0xf], 0x3f
mov byte [edi + 0x10], 0xab
mov byte [edi + 0x11], 0x3d
mov byte [edi + 0x12], 0xa6
mov byte [edi + 0x13], 0x33
mov byte [edi + 0x14], 0xd5
mov byte [edi + 0x15], 0x31
mov byte [edi + 0x16], 0xd7
mov byte [edi + 0x17], 0x37
mov byte [edi + 0x18], 0xa9
mov byte [edi + 0x19], 0x35
mov byte [edi + 0x1a], 0xcd
mov byte [edi + 0x1b], 0x2b
mov byte [edi + 0x1c], 0xbb
mov byte [edi + 0x1d], 0x29
mov byte [edi + 0x1e], 0xb3
mov byte [edi + 0x1f], 0x2f
mov byte [edi + 0x20], 0xb1
mov byte [edi + 0x21], 0x2d
mov byte [edi + 0x22], 0xb7
mov byte [edi + 0x23], 0x23
mov byte [edi + 0x24], 0xb2
mov byte [edi + 0x25], 0x21
mov byte [edi + 0x26], 0xbf
mov byte [edi + 0x27], 0x27
mov byte [edi + 0x28], 0xb0
mov byte [edi + 0x29], 0x25
mov byte [edi + 0x2a], 0x53
mov byte [edi + 0x2b], 0xdb
mov byte [edi + 0x2c], 0xa
mov byte [edi + 0x2d], 0xd9
mov byte [edi + 0x2e], 0x39
mov byte [edi + 0x2f], 0xdf
mov byte [edi + 0x30], 0x4f
mov byte [edi + 0x31], 0xdd
mov byte [edi + 0x32], 0x4f
mov byte [edi + 0x33], 0xd3
mov byte [edi + 0x34], 3
mov byte [edi + 0x35], 0xd1
mov byte [edi + 0x36], 0x46
mov byte [edi + 0x37], 0xd7
mov byte [edi + 0x38], 0x42
mov byte [edi + 0x39], 0xd5
mov byte [edi + 0x3a], 0x59
mov byte [edi + 0x3b], 0xcb
mov byte [edi + 0x3c], 0x52
mov byte [edi + 0x3d], 0xc9
mov byte [edi + 0x3e], 0x57
mov byte [edi + 0x3f], 0xcf
mov byte [edi + 0x40], 0x50
mov byte [edi + 0x41], 0xcd
mov byte [edi + 0x42], 0x27
mov byte [edi + 0x43], 0xc3
mov byte [edi + 0x44], 0x57
mov byte [edi + 0x45], 0xc1
mov byte [edi + 0x46], 0x15
mov byte [edi + 0x47], 0xc7
mov byte [edi + 0x48], 0xf
mov byte [edi + 0x49], 0xc5
mov byte [edi + 0x4a], 0x30
mov byte [edi + 0x4b], 0xfb
mov byte [edi + 0x4c], 0x2d
mov byte [edi + 0x4d], 0xf9
mov byte [edi + 0x4e], 0x34
mov byte [edi + 0x4f], 0xff
mov byte [edi + 0x50], 0x2d
mov byte [edi + 0x51], 0xfd
mov byte [edi + 0x52], 0x23
mov byte [edi + 0x53], 0xf3
mov byte [edi + 0x54], 0x39
mov byte [edi + 0x55], 0xf1
mov byte [edi + 0x56], 0x3f
mov byte [edi + 0x57], 0xf7
mov byte [edi + 0x58], 0x3f
mov byte [edi + 0x59], 0xf5
mov byte [edi + 0x5a], 0x3c
mov byte [edi + 0x5b], 0xeb
mov byte [edi + 0x5c], 0x3c
mov byte [edi + 0x5d], 0xe9
mov byte [edi + 0x5e], 0x39
mov byte [edi + 0x5f], 0xef
mov byte [edi + 0x60], 0x3b
mov byte [edi + 0x61], 0xed
mov byte [edi + 0x62], 0x33
mov byte [edi + 0x63], 0xe3
mov byte [edi + 0x64], 0x29
mov byte [edi + 0x65], 0xe1
mov byte [edi + 0x66], 0x36
mov byte [edi + 0x67], 0xe7
mov byte [edi + 0x68], 0x34
mov byte [edi + 0x69], 0xe5
mov byte [edi + 0x6a], 0x9a
mov byte [edi + 0x6b], 0x9b
mov word [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x72
jae 0x40adc9
jmp 0x40ad73
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx edx, byte [edi + ecx]
mov ecx, eax
add ecx, 0x7cf8cbd6
lea eax, [eax + edx + 0x7cf8cbd6]
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 + 0xac], eax
mov eax, dword [esi + 0xac]
add al, 0x26
mov ecx, dword [esi + 0xc]
mov byte [edi + ecx], al
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x72
jb 0x40ad73
mov ebx, dword [esi + 0x44]
mov ecx, dword [esi + 0x5c]
jmp 0x40adc9
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0040bd40
add esp, 0xc
mov edi, ebx
test al, 1
mov eax, dword [esi]
mov ebx, dword [esi + 0x1c]
mov edx, dword [esi + 0x60]
jne 0x40adf2
jmp 0x40b1d3
mov eax, dword [esi + 0x40]
mov byte [eax], 0
mov eax, dword [esi + 0x94]
mov al, byte [eax]
mov byte [esi + 0x50], al
mov byte [edx], 0x5a
mov byte [edx + 1], 0
mov byte [edx + 2], 4
mov byte [edx + 3], 0x2c
mov byte [edx + 4], 0x18
mov byte [edx + 5], 0x69
mov byte [edx + 6], 0x2d
mov byte [edx + 7], 0x13
mov byte [edx + 8], 0x29
mov byte [edx + 9], 0x18
mov byte [edx + 0xa], 0x19
mov byte [edx + 0xb], 0x40
mov byte [edx + 0xc], 0x64
mov byte [edx + 0xd], 0x26
mov byte [edx + 0xe], 0x25
mov byte [edx + 0xf], 0x13
mov byte [edx + 0x10], 0xd
mov byte [edx + 0x11], 0x22
mov byte [edx + 0x12], 0x18
mov byte [edx + 0x13], 0xda
mov byte [edx + 0x14], 0xea
mov byte [edx + 0x15], 0xe2
mov byte [edx + 0x16], 0xee
mov byte [edx + 0x17], 0xea
mov byte [edx + 0x18], 0xef
mov byte [edx + 0x19], 0xef
mov byte [edx + 0x1a], 0xdb
mov byte [edx + 0x1b], 0xd2
mov byte [edx + 0x1c], 0xe0
mov byte [edx + 0x1d], 0xd6
mov byte [edx + 0x1e], 0xe3
mov byte [edx + 0x1f], 0xec
mov byte [edx + 0x20], 0x90
mov byte [edx + 0x21], 0xb7
mov byte [edx + 0x22], 0x74
mov byte [edx + 0x2f], 0
mov dword [edx + 0x2b], 0
mov dword [edx + 0x27], 0
mov dword [edx + 0x23], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 0x30
jae 0x40aefd
jmp 0x40aeb8
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0x3aabeced
add eax, 0xed
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esi + 0xb0], edx
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0xb0]
add al, 0x85
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, 0x30
jb 0x40aeb8
jmp 0x40aefd
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040c420
add esp, 8
mov ecx, dword [esi + 0x3c]
mov dword [ecx], eax
mov edx, dword [esi + 0x64]
mov eax, dword [ecx]
jmp 0x40af1d
cmp eax, 0
je 0x40b19b
mov eax, dword [esi + 0x98]
mov al, byte [eax]
mov byte [esi + 0x54], al
mov byte [edx], 8
mov byte [edx + 1], 0x7e
mov byte [edx + 2], 0x35
mov byte [edx + 3], 0x3b
mov byte [edx + 4], 0x29
mov byte [edx + 5], 0x3b
mov byte [edx + 6], 0x14
mov byte [edx + 7], 0x57
mov word [edx + 0xc], 0
mov dword [edx + 8], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0xe
jae 0x40afb8
jmp 0x40af6e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx ecx, byte [edx + ecx]
mov edx, eax
add edx, 0x555a67ca
lea eax, [eax + ecx + 0x555a67ca]
and edx, ecx
add edx, edx
sub eax, edx
mov edx, dword [esi + 0x64]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb4]
add al, 0x7a
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, 0xe
jb 0x40af6e
mov ecx, dword [esi + 0x3c]
jmp 0x40afb8
mov eax, dword [ecx]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040c420
add esp, 8
mov edx, dword [esi + 0x9c]
jmp 0x40afd4
mov dword [edx], eax
mov ecx, dword [esi + 0x3c]
mov eax, dword [edx]
cmp eax, 0
setne al
jmp 0x40afe3
jmp 0x40afe5
test al, 1
jne 0x40afee
jmp 0x40b197
mov eax, dword [edx]
mov byte [eax], 0
mov eax, dword [ecx]
add eax, 0x22
mov ecx, dword [esi + 0x68]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 4
mov dword [esp], eax
call fcn.00408ec0
add esp, 4
mov edi, dword [esi + 0xa4]
mov dword [edi], eax
mov ecx, dword [esi + 0x2c]
mov dword [ecx], 0
mov edx, dword [esi + 4]
mov eax, dword [ecx]
mov ecx, dword [edi]
cmp eax, ecx
jb 0x40b033
mov eax, dword [esi]
mov dword [eax], 4
jmp 0x40b0af
mov eax, dword [esi + 0x68]
mov eax, dword [eax]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx]
mov al, byte [eax + ecx]
mov edx, dword [esi + 0xa0]
mov byte [edx], al
movsx eax, byte [edx]
cmp eax, 0x61
setge al
test al, 1
mov ecx, dword [esi + 0x2c]
jne 0x40b05a
jmp 0x40b097
movsx eax, byte [edx]
cmp eax, 0x7a
setle al
test al, 1
jne 0x40b069
jmp 0x40b097
mov al, byte [edx]
movsx eax, al
sub eax, 0x61
add eax, 0xfffffff5
add eax, 0x1a
mov ecx, 0x1a
cdq
idiv ecx
mov ebx, edx
mov ecx, dword [esi + 0x2c]
jmp 0x40b086
sub ebx, 0x707eb4ca
add ebx, 0x61
add ebx, 0x707eb4ca
jmp 0x40b09b
mov bl, byte [edx]
jmp 0x40b09b
mov eax, dword [ecx]
mov edx, dword [esi + 4]
mov byte [edx + eax], bl
mov eax, dword [ecx]
add eax, 1
mov dword [ecx], eax
jmp 0x40b021
mov eax, dword [edi]
mov byte [edx + eax], 0
jmp 0x40b0b7
mov edi, dword [esi + 0x18]
add edi, 0x80
mov ecx, edx
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b0c2
mov edx, dword [esi + 4]
sub eax, edx
mov ebx, edx
add ebx, eax
mov dword [esi + 0x70], 0
add edi, 0xfffffffe
cmp ebx, edx
mov eax, dword [esi + 0x18]
jbe 0x40b142
mov ecx, dword [esi + 0x18]
jmp 0x40b0ed
cmp byte [edx], 0
jne 0x40b0f6
mov eax, ecx
jmp 0x40b142
sub esp, 0xc
lea eax, [esi + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esi + 4], edx
mov dword [esi + 0x78], ecx
call fcn.0040ecd0
add esp, 0xc
add dword [esi + 4], 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, edi
setb cl
mov edx, dword [esi + 4]
sub edx, ebx
setb dl
and cl, dl
mov edx, dword [esi + 4]
test cl, 1
mov ecx, eax
jne 0x40b0ed
mov word [eax], 0
mov ebx, dword [esi + 0x1c]
mov edi, dword [esi + 0x44]
jmp 0x40b14f
sub esp, 4
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.0040b1f0
add esp, 4
jmp 0x40b162
jmp 0x40b164
jmp 0x40b166
test al, 1
jne 0x40b16c
jmp 0x40b191
lea eax, [0x44590c]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
call fcn.0040bd00
add esp, 8
mov eax, dword [esi + 0x40]
mov byte [eax], 1
jmp 0x40b18f
jmp 0x40b191
jmp 0x40b193
jmp 0x40b195
jmp 0x40b197
jmp 0x40b199
jmp 0x40b19b
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call fcn.004360f0
add esp, 4
mov eax, dword [esi + 0x40]
test byte [eax], 1
je 0x40b1c2
mov byte [ebx], 1
mov eax, dword [esi]
mov dword [eax], 1
jmp 0x40b1c0
jmp 0x40b1cc
mov eax, dword [esi]
mov dword [eax], 0
jmp 0x40b1cc
cmp dword [eax], 0
jne 0x40b1dc
jmp 0x40b1d3
mov byte [ebx], 0
mov dword [eax], 1
mov al, byte [ebx]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret