Function at 0x40a4c0
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, 0x338
mov esi, esp
push eax
mov eax, esp
mov dword [esi + 0x148], eax
sub esp, 0x80
mov dword [esi + 0x20], esp
mov eax, dword [0x4476c8]
mov cl, byte [esi + 0xbc]
mov byte [esi + 0xc0], cl
mov byte [esi + 0xd0], 0xf
mov byte [esi + 0xd1], 0x81
mov byte [esi + 0xd2], 0x3b
mov byte [esi + 0xd3], 0x83
mov byte [esi + 0xd4], 0x34
mov byte [esi + 0xd5], 0x9d
mov byte [esi + 0xd6], 0x24
mov byte [esi + 0xd7], 0x9f
mov byte [esi + 0xd8], 0x12
mov byte [esi + 0xd9], 0x99
mov byte [esi + 0xda], 0x14
mov byte [esi + 0xdb], 0x9b
mov byte [esi + 0xdc], 0x2a
mov byte [esi + 0xdd], 0x95
mov byte [esi + 0xde], 0x62
mov byte [esi + 0xdf], 0x97
mov byte [esi + 0xe0], 0x2a
mov byte [esi + 0xe1], 0x91
mov byte [esi + 0xe2], 0x24
mov byte [esi + 0xe3], 0x93
mov byte [esi + 0xe4], 0x26
mov byte [esi + 0xe5], 0x6d
mov byte [esi + 0xe6], 0x6c
mov byte [esi + 0xe7], 0x6f
mov byte [esi + 0xec], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0x1d
jae 0x40a61a
jmp 0x40a5be
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edi, byte [esi + edx + 0xd0]
mov ebx, ecx
add ebx, 0x3f8c526b
lea edx, [ecx + edi + 0x3f8c526b]
add ecx, 0x6b
and ecx, edi
and ebx, edi
add ecx, ebx
mov edi, ecx
xor edi, edx
not ecx
and edx, ecx
add edx, edx
sub edx, edi
mov dword [esi + 0x15c], edx
mov ecx, dword [esi + 0x15c]
add cl, 0x13
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0xd0], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0x1d
jb 0x40a5be
jmp 0x40a61a
lea ecx, [esi + 0xd0]
xor edx, edx
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x800
call eax
jmp 0x40a63c
mov dword [esi + 0x158], eax
mov eax, dword [esi + 0x158]
lea ecx, [0x447690]
sub esp, 4
mov dword [esp], eax
call fcn.00438fa0
test al, 1
jne 0x40a66d
mov byte [esi + 7], 0
mov dword [esi + 8], 1
jmp 0x40b15c
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x62b3486b
call fcn.0043b080
add esp, 8
mov dword [0x447698], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xdfcb006b
call fcn.0043b080
add esp, 8
mov dword [0x44769c], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x496f8bf4
call fcn.0043b080
add esp, 8
mov dword [0x4476a0], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xb0c94c10
call fcn.0043b080
add esp, 8
mov dword [0x4476a4], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x2ab70a9
call fcn.0043b080
add esp, 8
mov dword [0x4476a8], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x5b275fff
call fcn.0043b080
add esp, 8
mov dword [0x4476ac], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xfac074e6
call fcn.0043b080
add esp, 8
mov dword [0x4476b0], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x53e744db
call fcn.0043b080
add esp, 8
mov dword [0x4476b4], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x687139c0
call fcn.0043b080
add esp, 8
mov dword [0x4476b8], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xb27c8613
call fcn.0043b080
add esp, 8
mov dword [0x4476bc], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xdd44a73a
call fcn.0043b080
add esp, 8
mov dword [0x4476c0], eax
mov eax, dword [0x447690]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xe2d4035b
call fcn.0043b080
add esp, 8
mov dword [0x4476c4], eax
lea eax, [0x43f5f4]
mov dword [esi + 0x170], eax
lea eax, [0x43f5f4]
mov dword [esi + 0x2c], eax
lea eax, [0x43f5f4]
add eax, 0x24
mov dword [esi + 0x154], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x154]
cmp eax, ecx
setne al
jmp 0x40a821
jmp 0x40a823
jmp 0x40a825
test al, 1
jne 0x40a837
jmp 0x40a82b
mov dword [esi + 8], 2
jmp 0x40a997
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
mov dword [esi + 0x150], eax
jmp 0x40a844
jmp 0x40a846
lea eax, [esi + 0x1b4]
mov ecx, dword [esi + 0x150]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004344c0
add esp, 8
lea edi, [esi + 0x1b4]
lea ebx, [esi + 0x234]
mov eax, ebx
add eax, 0x100
mov dword [esi + 0xa4], eax
mov ecx, edi
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40a87f
sub eax, edi
mov ecx, edi
add ecx, eax
mov dword [esi + 0x140], 0
mov eax, dword [esi + 0xa4]
add eax, 0xfffffffe
cmp ecx, edi
ja 0x40a8aa
jmp 0x40a915
mov dword [esi + 0xa4], eax
jmp 0x40a8b2
cmp byte [edi], 0
jne 0x40a8bb
mov eax, ebx
jmp 0x40a913
sub esp, 0xc
lea eax, [esi + 0x140]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esi + 0x130], ecx
call fcn.0040ef00
add esp, 0xc
add edi, eax
mov cx, word [esi + 0x140]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, dword [esi + 0xa4]
setb cl
mov edx, edi
sub edx, dword [esi + 0x130]
setb dl
and cl, dl
test cl, 1
mov ecx, dword [esi + 0x130]
mov ebx, eax
jne 0x40a8b2
mov ebx, eax
mov word [ebx], 0
lea eax, [esi + 0x234]
sub esp, 4
mov dword [esp], eax
call fcn.0040b170
add esp, 4
test al, 1
jne 0x40a934
jmp 0x40a95f
lea eax, [esi + 0x234]
lea ecx, [0x4476cc]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040bc70
add esp, 8
mov byte [esi + 7], 1
mov dword [esi + 8], 1
jmp 0x40a968
mov dword [esi + 8], 0
jmp 0x40a968
mov eax, dword [esi + 8]
cmp eax, 0
jne 0x40a979
mov dword [esi + 8], 0
jmp 0x40a979
mov eax, dword [esi + 8]
jmp 0x40a97e
cmp eax, 0
jne 0x40a995
jmp 0x40a985
mov eax, dword [esi + 0x2c]
add eax, 4
jmp 0x40a98d
mov dword [esi + 0x2c], eax
jmp 0x40a811
jmp 0x40a997
cmp dword [esi + 8], 2
jne 0x40b15c
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
mov dword [esi + 0x16c], eax
mov dword [esi + 0xb8], 0
jmp 0x40a9c5
mov dword [esi + 0x14c], 0
mov al, byte [esi + 0xb4]
mov byte [esi + 0xc4], al
mov byte [esi + 0x30], 0xe
mov byte [esi + 0x31], 0x65
mov byte [esi + 0x32], 0xf8
mov byte [esi + 0x33], 0x63
mov byte [esi + 0x34], 0xfe
mov byte [esi + 0x35], 0x61
mov byte [esi + 0x36], 0xf0
mov byte [esi + 0x37], 0x6f
mov byte [esi + 0x38], 0xf3
mov byte [esi + 0x39], 0x6d
mov byte [esi + 0x3a], 0x2a
mov byte [esi + 0x3b], 0x6b
mov byte [esi + 0x3c], 0x3b
mov byte [esi + 0x3d], 0x69
mov byte [esi + 0x3e], 0x39
mov byte [esi + 0x3f], 0x97
mov byte [esi + 0x40], 0xb
mov byte [esi + 0x41], 0x95
mov byte [esi + 0x42], 8
mov byte [esi + 0x43], 0x93
mov byte [esi + 0x44], 0xf9
mov byte [esi + 0x45], 0x91
mov byte [esi + 0x46], 0xff
mov byte [esi + 0x47], 0x9f
mov byte [esi + 0x48], 0xd
mov byte [esi + 0x49], 0x9d
mov byte [esi + 0x4a], 0xf1
mov byte [esi + 0x4b], 0x9b
mov byte [esi + 0x4c], 0xb
mov byte [esi + 0x4d], 0x99
mov byte [esi + 0x4e], 0xb
mov byte [esi + 0x4f], 0x87
mov byte [esi + 0x50], 0x15
mov byte [esi + 0x51], 0x85
mov byte [esi + 0x52], 0x1f
mov byte [esi + 0x53], 0x83
mov byte [esi + 0x54], 0x10
mov byte [esi + 0x55], 0x81
mov byte [esi + 0x56], 0x17
mov byte [esi + 0x57], 0x8f
mov byte [esi + 0x58], 0x12
mov byte [esi + 0x59], 0x8d
mov byte [esi + 0x5a], 0xb
mov byte [esi + 0x5b], 0x8b
mov byte [esi + 0x5c], 0xd8
mov byte [esi + 0x5d], 0x89
mov byte [esi + 0x5e], 0xe5
mov byte [esi + 0x5f], 0xb7
mov byte [esi + 0x60], 0x27
mov byte [esi + 0x61], 0xb5
mov byte [esi + 0x62], 0x27
mov byte [esi + 0x63], 0xb3
mov byte [esi + 0x64], 0xe3
mov byte [esi + 0x65], 0xb1
mov byte [esi + 0x66], 0x20
mov byte [esi + 0x67], 0xbf
mov byte [esi + 0x68], 0x20
mov byte [esi + 0x69], 0xbd
mov byte [esi + 0x6a], 0x2d
mov byte [esi + 0x6b], 0xbb
mov byte [esi + 0x6c], 0xd0
mov byte [esi + 0x6d], 0xb9
mov byte [esi + 0x6e], 0x2f
mov byte [esi + 0x6f], 0xa7
mov byte [esi + 0x70], 0x32
mov byte [esi + 0x71], 0xa5
mov byte [esi + 0x72], 0xcf
mov byte [esi + 0x73], 0xa3
mov byte [esi + 0x74], 0x3f
mov byte [esi + 0x75], 0xa1
mov byte [esi + 0x76], 0xf1
mov byte [esi + 0x77], 0xaf
mov byte [esi + 0x78], 0xf7
mov byte [esi + 0x79], 0xad
mov byte [esi + 0x7a], 0xf6
mov byte [esi + 0x7b], 0xab
mov byte [esi + 0x7c], 0xf1
mov byte [esi + 0x7d], 0xa9
mov byte [esi + 0x7e], 0xf2
mov byte [esi + 0x7f], 0xd7
mov byte [esi + 0x80], 0x89
mov byte [esi + 0x81], 0xd5
mov byte [esi + 0x82], 0x8b
mov byte [esi + 0x83], 0xd3
mov byte [esi + 0x84], 0x95
mov byte [esi + 0x85], 0xd1
mov byte [esi + 0x86], 0x97
mov byte [esi + 0x87], 0xdf
mov byte [esi + 0x88], 0x87
mov byte [esi + 0x89], 0xdd
mov byte [esi + 0x8a], 0x82
mov byte [esi + 0x8b], 0xdb
mov byte [esi + 0x8c], 0x86
mov byte [esi + 0x8d], 0xd9
mov byte [esi + 0x8e], 0x85
mov byte [esi + 0x8f], 0xc7
mov byte [esi + 0x90], 0x9b
mov byte [esi + 0x91], 0xc5
mov byte [esi + 0x92], 0x9b
mov byte [esi + 0x93], 0xc3
mov byte [esi + 0x94], 0x85
mov byte [esi + 0x95], 0xc1
mov byte [esi + 0x96], 0x90
mov byte [esi + 0x97], 0xcf
mov byte [esi + 0x98], 0x9e
mov byte [esi + 0x99], 0xcd
mov byte [esi + 0x9a], 0xcc
mov byte [esi + 0x9b], 0xcb
mov dword [esi + 0x9c], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0x70
jae 0x40ac40
jmp 0x40abfa
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx ecx, byte [esi + ecx + 0x30]
mov edx, eax
add edx, 0xcc7ee471
and edx, ecx
lea eax, [eax + ecx - 0x33811b8f]
add edx, edx
sub eax, edx
mov dword [esi + 0x160], eax
mov eax, dword [esi + 0x160]
add al, 0xe9
mov ecx, dword [esi + 0x14]
mov byte [esi + ecx + 0x30], al
mov eax, dword [esi + 0x14]
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0x70
jb 0x40abfa
jmp 0x40ac40
lea eax, [esi + 0x30]
lea ecx, [esi + 0xb8]
lea edx, [esi + 0x14c]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040bcb0
add esp, 0xc
jmp 0x40ac67
test al, 1
jne 0x40ac70
jmp 0x40b14d
mov byte [esi + 0xf], 0
mov al, byte [esi + 0xac]
mov byte [esi + 0xc8], al
mov byte [esi + 0xf0], 0x10
mov byte [esi + 0xf1], 0xda
mov byte [esi + 0xf2], 0xc2
mov byte [esi + 0xf3], 0xd2
mov byte [esi + 0xf4], 0xc2
mov byte [esi + 0xf5], 0x11
mov byte [esi + 0xf6], 0xd1
mov byte [esi + 0xf7], 0xdb
mov byte [esi + 0xf8], 0xd5
mov byte [esi + 0xf9], 0xc2
mov byte [esi + 0xfa], 0xcd
mov byte [esi + 0xfb], 6
mov byte [esi + 0xfc], 0x1e
mov byte [esi + 0xfd], 0xd8
mov byte [esi + 0xfe], 0xd9
mov byte [esi + 0xff], 0xcb
mov byte [esi + 0x100], 0xc9
mov byte [esi + 0x101], 0xdc
mov byte [esi + 0x102], 0xee
mov byte [esi + 0x103], 0xe0
mov byte [esi + 0x104], 0xf0
mov byte [esi + 0x105], 0xe4
mov byte [esi + 0x106], 0xf0
mov byte [esi + 0x107], 0xf0
mov byte [esi + 0x108], 0xf7
mov byte [esi + 0x109], 0xf7
mov byte [esi + 0x10a], 0xeb
mov byte [esi + 0x10b], 0xe8
mov byte [esi + 0x10c], 0xfa
mov byte [esi + 0x10d], 0xe8
mov byte [esi + 0x10e], 0xe3
mov byte [esi + 0x10f], 0xea
mov byte [esi + 0x110], 0x2a
mov byte [esi + 0x111], 0xf
mov byte [esi + 0x112], 0x52
mov dword [esi + 0x11a], 0
mov dword [esi + 0x117], 0
mov dword [esi + 0x113], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmp eax, 0x2e
jae 0x40adf3
jmp 0x40ada4
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 0x18]
movzx ecx, byte [esi + eax + 0xf0]
mov eax, edi
add eax, 0xce
and eax, ecx
mov edx, 0xa76cde31
sub edx, edi
or edx, ecx
not edx
add edx, ecx
sub edx, eax
mov dword [esi + 0x164], edx
mov eax, dword [esi + 0x164]
add al, 0x5e
mov ecx, dword [esi + 0x18]
mov byte [esi + ecx + 0xf0], al
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
cmp eax, 0x2e
jb 0x40ada4
jmp 0x40adf3
mov eax, dword [esi + 0xb8]
lea ecx, [esi + 0xf0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c610
add esp, 8
mov dword [esi + 0xb0], eax
cmp dword [esi + 0xb0], 0
setne al
test al, 1
jne 0x40ae2a
jmp 0x40b111
mov al, byte [esi + 0xa8]
mov byte [esi + 0xcc], al
mov byte [esi + 0x120], 0x42
mov byte [esi + 0x121], 0xb4
mov byte [esi + 0x122], 0x79
mov byte [esi + 0x123], 0x73
mov byte [esi + 0x124], 0x6d
mov byte [esi + 0x125], 0x73
mov byte [esi + 0x126], 0x42
mov byte [esi + 0x127], 0x8f
mov dword [esi + 0x128], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
cmp eax, 0xc
jae 0x40aef6
jmp 0x40ae89
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
movzx edi, byte [esi + eax + 0x120]
mov edx, ecx
add edx, 0xa6bc7f41
lea eax, [ecx + edi - 0x594380bf]
and edx, edi
mov ebx, 0x594380be
sub ebx, ecx
or ebx, edi
add ebx, ecx
mov edi, ebx
add edi, edx
lea ecx, [edx + ebx - 0x594380be]
xor ecx, eax
mov edx, 0x594380bd
sub edx, edi
and edx, eax
add edx, edx
sub edx, ecx
mov dword [esi + 0x168], edx
mov eax, dword [esi + 0x168]
add al, 0x39
mov ecx, dword [esi + 0x1c]
mov byte [esi + ecx + 0x120], al
mov eax, dword [esi + 0x1c]
inc eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, 0xc
jb 0x40ae89
jmp 0x40aef6
mov eax, dword [esi + 0xb0]
lea ecx, [esi + 0x120]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c610
add esp, 8
mov dword [esi + 0x13c], eax
cmp dword [esi + 0x13c], 0
setne al
test al, 1
jne 0x40af2d
jmp 0x40b111
mov eax, dword [esi + 0x13c]
mov byte [eax], 0
mov eax, dword [esi + 0xb0]
add eax, 0x22
mov dword [esi + 0x138], eax
jmp 0x40af47
jmp 0x40af49
mov eax, dword [esi + 0x138]
sub esp, 4
mov dword [esp], eax
call fcn.00408f70
add esp, 4
mov dword [esi + 0x134], eax
mov ecx, dword [esi + 0x20]
jmp 0x40af68
mov dword [esi + 0x24], 0
jmp 0x40af71
jmp 0x40af73
mov eax, dword [esi + 0x24]
cmp eax, dword [esi + 0x134]
setb al
jmp 0x40af81
test al, 1
jne 0x40af95
jmp 0x40af87
mov dword [esi + 8], 4
jmp 0x40af90
jmp 0x40b01c
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x24]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x148]
mov byte [ecx], al
movsx eax, byte [ecx]
cmp eax, 0x61
jl 0x40aff1
mov al, byte [ecx]
movsx eax, al
cmp eax, 0x7a
setle al
jmp 0x40afbe
test al, 1
jne 0x40afc4
jmp 0x40aff1
mov al, byte [ecx]
movsx eax, al
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0x61
and eax, 0xffffff9e
sub eax, ecx
sub eax, 0xb
add eax, 0x1a
mov ecx, 0x1a
cdq
idiv ecx
xor ecx, ecx
sub ecx, edx
add ecx, 0xffffff9f
xor eax, eax
sub eax, ecx
jmp 0x40aff5
mov al, byte [ecx]
jmp 0x40aff5
mov ecx, dword [esi + 0x24]
mov byte [esi + ecx + 0x174], al
mov eax, dword [esi + 0x24]
mov ecx, eax
and ecx, 1
shl ecx, 1
xor eax, 1
add eax, ecx
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0x20]
jmp 0x40b017
jmp 0x40af73
mov eax, dword [esi + 0x134]
mov byte [esi + eax + 0x174], 0
lea edi, [esi + 0x174]
add ecx, 0x80
mov dword [esi + 0x28], ecx
mov ecx, edi
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b03b
sub eax, edi
mov ebx, edi
add ebx, eax
mov dword [esi + 0x144], 0
mov edx, dword [esi + 0x28]
add edx, 0xfffffffe
cmp ebx, edi
mov ecx, dword [esi + 0x20]
mov eax, ecx
jbe 0x40b0d3
mov dword [esi + 0xa0], ecx
jmp 0x40b06e
cmp byte [edi], 0
jne 0x40b07b
mov eax, dword [esi + 0xa0]
jmp 0x40b0d3
sub esp, 0xc
lea eax, [esi + 0x144]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esi + 0x28], edx
call fcn.0040ef00
add esp, 0xc
add edi, eax
mov cx, word [esi + 0x144]
mov edx, dword [esi + 0xa0]
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, ebx
setb dl
and cl, dl
mov edx, dword [esi + 0x28]
test cl, 1
mov ecx, dword [esi + 0x20]
mov dword [esi + 0xa0], eax
jne 0x40b06e
mov word [eax], 0
sub esp, 4
mov dword [esp], ecx
call fcn.0040b170
add esp, 4
test al, 1
jne 0x40b0ec
jmp 0x40b10f
lea eax, [0x4476cc]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 4], eax
call fcn.0040bc70
add esp, 8
mov byte [esi + 0xf], 1
jmp 0x40b10d
jmp 0x40b10f
jmp 0x40b111
mov eax, dword [esi + 0xb8]
sub esp, 4
mov dword [esp], eax
call fcn.00437830
add esp, 4
test byte [esi + 0xf], 1
je 0x40b138
mov byte [esi + 7], 1
mov dword [esi + 8], 1
jmp 0x40b13f
mov dword [esi + 8], 0
jmp 0x40b141
mov eax, dword [esi + 8]
jmp 0x40b146
cmp eax, 0
jne 0x40b158
jmp 0x40b14d
mov byte [esi + 7], 0
mov dword [esi + 8], 1
jmp 0x40b15a
jmp 0x40b15c
mov al, byte [esi + 7]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret