Function at 0x4be4e0
Capabilities:
Query environment variable
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
movzx eax, word [ebp - 0x74]
mov ecx, 0x7d
sub ecx, eax
mov dword [ebp - 0x9c], ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
cmp dword [ebp - 0x88], 6
jbe 0x4be51b
cmp dword [ebp - 0x40], 0
je 0x4be52b
cmp dword [ebp - 0x3c], 0xe
jbe 0x4be52b
mov dx, word [ebp - 0xec]
mov word [ebp - 0xcc], dx
jmp 0x4be53f
mov eax, 0xaf
sub eax, dword [ebp - 0x48]
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xb4], 0
jne 0x4be570
cmp dword [ebp - 0xd4], 0x41
jb 0x4be570
cmp dword [ebp - 0x50], 0xe0
je 0x4be570
movzx ecx, word [ebp - 0xa4]
mov edx, dword [ebp - 0x40]
lea eax, [ecx + edx + 0xe0]
mov byte [ebp - 0x7d], al
jmp 0x4be57c
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x28]
lea ecx, [eax + edx + 0x74]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x64]
sub edx, 0x41
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0xc4]
sub eax, 0xb7
mov byte [ebp - 0xcd], al
mov dword [ebp - 0x88], 0xe3
cmp dword [ebp - 0x28], 0
jne 0x4be5c5
mov ecx, dword [ebp - 0xc4]
add ecx, 0xb0
mov word [ebp - 0x4c], cx
jmp 0x4be5d1
mov edx, dword [ebp - 0x9c]
sub edx, 0x62
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x40]
sub eax, 0x100
mov dword [ebp - 0xe0], eax
movzx ecx, byte [ebp - 0x2d]
test ecx, ecx
je 0x4be601
cmp dword [ebp - 0x38], 0
jne 0x4be601
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0xe0]
add edx, dword [ebp - 0x38]
mov dword [ebp - 0xc8], edx
jmp 0x4be60d
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x50], 0x5b
je 0x4be62e
movzx ecx, byte [ebp - 0xd]
movzx edx, word [ebp - 0x74]
cmp ecx, edx
je 0x4be625
cmp dword [ebp - 4], 0x4d
jae 0x4be62e
cmp dword [ebp - 0xdc], 0
je 0x4be640
movzx eax, byte [ebp - 0x75]
sub eax, dword [ebp - 0x24]
shr eax, 0x50
mov dword [ebp - 0xd4], eax
jmp 0x4be646
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x28]
lea ecx, [eax + edx - 0x23]
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x64], 0x89
ja 0x4be672
mov edx, dword [ebp - 0xb4]
sub edx, dword [ebp - 0x7c]
sub edx, 0x94
mov word [ebp - 0x1c], dx
jmp 0x4be68c
mov ecx, dword [ebp - 0xe0]
add ecx, 0x9e
mov eax, dword [ebp - 0xec]
shl eax, cl
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x84], 0
jne 0x4be6a7
movzx ecx, word [ebp - 0xd8]
cmp dword [ebp - 0x58], ecx
ja 0x4be6a7
cmp dword [ebp - 0x44], 0
je 0x4be6bb
mov edx, dword [ebp - 0x48]
add edx, 0x2d
movzx eax, byte [ebp - 0x75]
sub edx, eax
mov dword [ebp - 0xec], edx
jmp 0x4be6c4
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xb8], 0xf6
jae 0x4be6e6
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x9c]
shl edx, cl
mov byte [ebp - 0x92], dl
jmp 0x4be6f4
mov eax, dword [ebp - 0x38]
add eax, 0xf1
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xf4]
sub edx, 0x20
mov dword [ebp - 0xf4], edx
cmp dword [ebp - 0xf4], 0x8f
ja case.0x4be728.1
mov eax, dword [ebp - 0xf4]
movzx ecx, byte [eax + 0x4bf0b4]
jmp dword [ecx*4 + 0x4bf098]
mov edx, 0xd
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x88], edx
jmp 0x4be79b
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xe0]
mov word [ebp - 0x70], ax
jmp 0x4be79b
mov ecx, dword [ebp - 0xc8]
sub ecx, 0x63
sub ecx, dword [ebp - 8]
mov dword [ebp - 0xa0], ecx
jmp 0x4be79b
movzx edx, word [ebp - 0xa8]
mov dword [ebp - 0xc8], edx
jmp 0x4be79b
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x48], eax
jmp 0x4be79b
mov dword [ebp - 0xc8], 0x17d
jmp 0x4be79b
mov dword [ebp - 0xd4], 0x98
movzx ecx, word [ebp - 0x70]
add ecx, 0x173
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0xdc]
sub edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
shl edx, cl
mov dword [ebp - 0x84], edx
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xb8]
add eax, 0xc2
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc4], 0
jae 0x4be7fb
cmp dword [ebp - 0x9c], 0
je 0x4be7fb
movzx ecx, word [ebp - 0x18]
cmp ecx, 0x7d
jg 0x4be7fb
cmp dword [ebp - 0x54], 0
jne 0x4be804
mov dword [ebp - 0xc], 0xdd
jmp 0x4be813
mov edx, dword [ebp - 0xa0]
add edx, dword [ebp - 0x40]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x34], 0
movzx eax, word [ebp - 0xbc]
mov dword [ebp - 0x44], eax
movzx ecx, word [ebp - 0xa8]
test ecx, ecx
jne 0x4be844
cmp dword [ebp - 0x44], 0
je 0x4be844
cmp dword [ebp - 0xc], 0
jne 0x4be844
cmp dword [ebp - 0xdc], 0
jae 0x4be855
movzx edx, word [ebp - 0x1c]
mov eax, dword [ebp - 0xec]
sub eax, edx
mov dword [ebp - 0x3c], eax
jmp 0x4be866
mov ecx, 0xd
sub ecx, dword [ebp - 0xb4]
mov byte [ebp - 0xed], cl
mov edx, dword [ebp - 0x3c]
sub edx, 0x15
mov dword [ebp - 0x40], edx
movzx eax, word [ebp - 0x1c]
sub eax, dword [ebp - 0xc4]
mov word [ebp - 0xe4], ax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0xa0]
sub ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x88], ecx
movzx edx, byte [ebp - 0x92]
mov eax, dword [ebp - 4]
lea ecx, [edx + eax + 0x10]
mov dword [ebp - 0xb8], ecx
cmp dword [ebp - 0x48], 0x4b
ja 0x4be8be
cmp dword [ebp - 0x28], 0
je 0x4be8c9
movzx edx, word [ebp - 0xa8]
test edx, edx
jne 0x4be8d8
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x3c]
lea edx, [ecx + eax + 0xb]
mov dword [ebp - 0x50], edx
jmp 0x4be8e2
movzx eax, word [ebp - 0xb0]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x28], ecx
movzx edx, byte [ebp - 0x1e]
mov dword [ebp - 0x9c], edx
mov eax, 0xf4
mov word [ebp - 0x18], ax
movzx ecx, word [ebp - 0xcc]
mov dword [ebp - 0x9c], ecx
movzx edx, word [ebp - 0xcc]
mov eax, dword [ebp - 0x88]
lea ecx, [eax + edx + 0xac]
mov dword [ebp - 0xe0], ecx
movzx edx, word [ebp - 0x4c]
cmp edx, 0xc8
jge 0x4be93a
cmp dword [ebp - 4], 0xe9
je 0x4be943
cmp dword [ebp - 0x88], 0
je 0x4be94e
mov eax, dword [ebp - 0x98]
mov dword [ebp - 8], eax
jmp 0x4be964
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x38]
movzx edx, word [ebp - 0xe8]
add ecx, edx
mov word [ebp - 0xa8], cx
movzx eax, word [ebp - 0xcc]
test eax, eax
je 0x4be980
mov ecx, dword [ebp - 0x40]
add ecx, 0xa8
mov dword [ebp - 0xb4], ecx
jmp 0x4be99c
movzx edx, word [ebp - 0xcc]
sub edx, 0x8b
movzx eax, word [ebp - 0x8c]
sub edx, eax
mov dword [ebp - 0x98], edx
mov ecx, 0x95
sub ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0xdc]
mov byte [ebp - 0xbd], cl
mov edx, dword [ebp - 0xec]
add edx, 0xca
mov dword [ebp - 8], edx
movzx eax, word [ebp - 0x5c]
movzx ecx, byte [ebp - 0x1e]
add eax, ecx
sub eax, dword [ebp - 0xc]
mov word [ebp - 0x74], ax
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xb8]
je 0x4be9f0
movzx eax, word [ebp - 0x6c]
movzx ecx, word [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 0x84], eax
jmp 0x4be9fc
mov edx, dword [ebp - 0x50]
sub edx, 0x5e
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x48], 0x62
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x5e], 0xcb
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
movzx eax, byte [esp - 0x20]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x4bea35
mov dword [ebp - 0xdc], 1
cmp dword [ebp - 0x44], 0
jbe 0x4bea44
mov dword [ebp - 0x14], 0xc
jmp 0x4bea4d
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xc8], ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x48], 0xb7
jne 0x4bea69
cmp dword [ebp - 0xd4], 0
jbe 0x4bea7d
cmp dword [ebp - 0xc8], 0
jae 0x4bea86
movzx edx, word [ebp - 0x90]
test edx, edx
jne 0x4bea86
mov dword [ebp - 0x68], 0xf4
jmp 0x4bea95
movzx eax, byte [ebp - 0x91]
or eax, 0xef
mov byte [ebp - 0xe], al
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x40], ecx
movzx edx, word [ebp - 0x4c]
mov dword [ebp - 0xb8], edx
movzx eax, word [ebp - 0x8c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x84]
add ecx, 0x98
or ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x98], edx
mov byte [ebp - 0xcd], 0x26
movzx eax, word [ebp - 0xbc]
movzx ecx, word [ebp - 0x70]
sub eax, ecx
mov byte [ebp - 0xbd], al
movzx edx, byte [ebp - 0xe]
movzx eax, word [ebp - 0x8c]
add eax, dword [ebp - 4]
and edx, eax
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0x7c], 0xf8
ja 0x4beb33
cmp dword [ebp - 0x98], 0
je 0x4beb33
cmp dword [ebp - 0x48], 0
jb 0x4beb33
mov edx, 0xfd
mov ecx, dword [ebp - 0xe0]
shl edx, cl
mov dword [ebp - 8], edx
jmp 0x4beb47
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x50]
shr eax, cl
mov byte [ebp - 0x93], al
mov ecx, dword [ebp - 0x24]
add ecx, 0xcd
mov byte [ebp - 0xcd], cl
mov edx, 3
sub edx, dword [ebp - 0xec]
mov dword [ebp - 8], edx
movzx eax, byte [ebp - 0x93]
add eax, dword [ebp - 0x50]
mov word [ebp - 0x6c], ax
push 0
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf8]
sub edx, 0x1c
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0xcf
ja case.0x4bebae.1
mov eax, dword [ebp - 0xf8]
movzx ecx, byte [eax + 0x4bf15c]
jmp dword [ecx*4 + 0x4bf144]
mov edx, dword [ebp - 0x98]
add edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x9c]
mov byte [ebp - 0x1e], dl
jmp 0x4bec22
mov eax, 0x11
sub eax, dword [ebp - 0xd4]
mov word [ebp - 0x90], ax
jmp 0x4bec22
mov ecx, dword [ebp - 0xb4]
add ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x44]
mov byte [ebp - 0x1e], cl
jmp 0x4bec22
mov edx, dword [ebp - 0xdc]
xor edx, 0xf6
mov dword [ebp - 4], edx
jmp 0x4bec22
mov dword [ebp - 0x98], 0xb6
jmp 0x4bec22
mov ecx, dword [ebp - 0xe0]
sub ecx, 0xab
mov eax, dword [ebp - 0xb4]
shr eax, cl
mov dword [ebp - 0x44], eax
mov ecx, 0x174
sub ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x68], ecx
movzx edx, byte [ebp - 0xd]
sub edx, 0xcc
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x68], 0
je 0x4bec6c
movzx eax, word [ebp - 0xe8]
cmp eax, 0xb5
je 0x4bec6c
cmp dword [ebp - 0x14], 0xdc
ja 0x4bec75
movzx ecx, byte [ebp - 0xa9]
cmp ecx, 0xf1
jne 0x4bec75
mov dword [ebp - 0xc], 0xce
jmp 0x4bec7e
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x88], 0
je 0x4bec96
cmp dword [ebp - 0x54], 0x65
jb 0x4bec96
movzx eax, byte [ebp - 0x7d]
cmp eax, 0x77
jne 0x4bec9c
cmp dword [ebp - 0x7c], 0
jne 0x4becb0
mov ecx, dword [ebp - 0x84]
add ecx, 0x83
mov dword [ebp - 0xc4], ecx
jmp 0x4becbb
mov dx, word [ebp - 0x84]
mov word [ebp - 0x74], dx
cmp dword [ebp - 0xc], 0x88
jne 0x4bece0
movzx eax, word [ebp - 0xe4]
test eax, eax
jle 0x4bece0
mov ecx, dword [ebp - 0xd4]
add ecx, dword [ebp - 0x84]
mov dword [ebp - 0x58], ecx
jmp 0x4becf2
mov edx, dword [ebp - 0x98]
sub edx, dword [ebp - 0x50]
add edx, 8
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0x44], 0
jne 0x4bed0d
cmp dword [ebp - 0x7c], 0x5d
je 0x4bed0d
cmp dword [ebp - 0xc], 0xba
je 0x4bed1d
cmp dword [ebp - 0x64], 0
jne 0x4bed1d
mov ax, word [ebp - 0xb8]
mov word [ebp - 0x90], ax
jmp 0x4bed27
mov dword [ebp - 0xc4], 0xd1
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebp - 0x34]
ja 0x4bed4c
movzx edx, byte [ebp - 0xd]
test edx, edx
jle 0x4bed4c
cmp dword [ebp - 0xa0], 0
jne 0x4bed4c
mov dword [ebp - 0x7c], 0x36
jmp 0x4bed56
mov eax, dword [ebp - 0x64]
add eax, 0x22
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 0xa9], 0x3d
cmp dword [ebp - 0x48], 0xe4
ja 0x4bed84
cmp dword [ebp - 0xc8], 0
jne 0x4bed84
cmp dword [ebp - 0x3c], 0
jbe 0x4bed9d
cmp dword [ebp - 0x48], 0
je 0x4bed9d
mov edx, 0xc5
sub edx, dword [ebp - 0x98]
add edx, dword [ebp - 0xc8]
mov dword [ebp - 0x9c], edx
jmp 0x4bedb3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xb8]
lea edx, [ecx + eax + 0xb1]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xdc]
add eax, 0x7f
mov dword [ebp - 0xc4], eax
mov ecx, 0xa7
sub ecx, dword [ebp - 0x24]
sub ecx, 0x39
mov word [ebp - 0x70], cx
cmp dword [ebp - 0x9c], 0
jne 0x4bedec
mov dword [ebp - 0xec], 0x7c
jmp 0x4bedfc
movzx edx, word [ebp - 0xb0]
add edx, dword [ebp - 0xb4]
mov dword [ebp - 0x28], edx
mov eax, 0x85
mov word [ebp - 0x2c], ax
movzx ecx, word [ebp - 0xbc]
add ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 8]
mov dword [0x51ef58], edx
mov dword [ebp - 0x84], 0x32
mov eax, dword [ebp - 8]
sub eax, 0x3f
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x9c]
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 0x44]
mov byte [ebp - 0xed], dl
movzx eax, word [ebp - 0x4c]
cmp eax, 0x1d
jl 0x4bee6f
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [ebp - 0x44]
je 0x4bee6f
cmp dword [ebp - 0x84], 0
je 0x4bee6f
mov byte [ebp - 0xa9], 0xa8
jmp 0x4bee82
movzx edx, word [ebp - 0xbc]
add edx, 0x3e
sub edx, dword [ebp - 0x58]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp + 0xc]
mov dword [0x51ef5c], eax
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xe0], ecx
movzx edx, byte [ebp - 0xe]
mov eax, 0x1e
sub eax, edx
movzx ecx, word [ebp - 0x6c]
sub eax, ecx
mov word [ebp - 0xbc], ax
mov edx, dword [ebp + 0x10]
mov dword [0x51ef60], edx
cmp dword [ebp - 0x7c], 0
je 0x4beee1
movzx eax, word [ebp - 0xe8]
cmp dword [ebp - 0x44], eax
ja 0x4beee1
movzx ecx, word [ebp - 0x2c]
add ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x64], ecx
jmp 0x4beeeb
movzx edx, word [ebp - 0x74]
mov dword [ebp - 0x88], edx
movzx eax, word [ebp - 0x1c]
add eax, 0xb4
movzx ecx, word [ebp - 0xa4]
sub eax, ecx
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0x7c]
add edx, 0x25
mov byte [ebp - 0xaa], dl
cmp dword [ebp - 0x64], 0xf5
jne 0x4bef24
cmp dword [ebp - 0xec], 0xb2
jne 0x4bef2d
cmp dword [ebp - 0x68], 0xe7
jne 0x4bef38
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc8], eax
jmp 0x4bef3f
movzx ecx, word [ebp - 0x2c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xb4]
sub edx, 0x44
sub edx, dword [ebp - 0x28]
mov word [ebp - 0xcc], dx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xa0]
lea edx, [ecx + eax - 0xf]
mov dword [ebp - 0xc], edx
mov eax, 0x29
mov word [ebp - 0x4c], ax
mov ecx, dword [ebp - 0xa0]
sub ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc8], edx
cmp dword [ebp - 0xdc], 0
jne 0x4bf090
movzx eax, byte [ebp - 0x2d]
cmp eax, 0xd6
jne 0x4befb3
cmp dword [ebp - 0x40], 0x78
jne 0x4befb3
cmp dword [ebp - 0x14], 0xe3
ja 0x4befb3
cmp dword [ebp - 0xb8], 2
jne 0x4befc1
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x88]
mov byte [ebp - 0x5d], cl
jmp 0x4befd0
mov edx, dword [ebp - 0x24]
sub edx, 0x8f
mov dword [ebp - 0xec], edx
movzx eax, byte [ebp - 0xe]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0xa0]
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x54], 0
jae 0x4bf00e
cmp dword [ebp - 0xe0], 0x4c
je 0x4bf00e
movzx edx, word [ebp - 0xa4]
add edx, dword [ebp - 0x88]
mov byte [ebp - 0x91], dl
jmp 0x4bf01a
mov eax, 0xc3
mov word [ebp - 0x90], ax
call fcn.004c9040
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x9c]
jne 0x4bf049
movzx edx, word [ebp - 0xa4]
cmp edx, dword [ebp - 0xe0]
jne 0x4bf049
mov ax, word [ebp - 0x54]
mov word [ebp - 0xbc], ax
jmp 0x4bf05b
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x68]
movzx edx, word [ebp - 0x8c]
add ecx, edx
mov byte [ebp - 0x5d], cl
mov dword [ebp - 0xe0], 0xd
mov eax, dword [ebp - 0xec]
mov byte [ebp - 0x2d], al
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, 0x51ef08
call dword [ebp - 0x54]
mov dx, word [ebp - 0x90]
mov word [ebp - 0xb0], dx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc