Function at 0x49bc00
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e82c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push esi
push edi
mov esi, ecx
xor edi, edi
push 2
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x49bc3e
mov word [eax], di
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
lea eax, [esp + 0x118]
push eax
mov dword [esp + 0x114], edi
call fcn.0043f2e0
mov eax, dword [esp + 0x120]
add esp, 4
cmp eax, edi
jne 0x49bca3
push esi
call fcn.0041fca8
mov esi, dword [esi + 0x2c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x11c], esi
jne 0x49bca3
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x49bc99
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x80070057
jmp 0x49c489
push ebp
mov ebp, dword [esp + 0x11c]
cmp ebp, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov esi, ebp
je 0x49bce2
xor eax, eax
mov ax, word [ebp]
cmp ax, di
je 0x49bce2
cmp ax, 0x2c
je 0x49bce2
mov ax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x49bcd0
mov dx, word [esi]
mov word [esi], di
cmp word [ebp], 0x2d
push ebx
mov word [esp + 0x24], dx
jne 0x49beb3
lea esp, [esp]
mov eax, ebp
mov ecx, str._center
mov edx, 6
lea esp, [esp]
movzx edi, word [eax]
movsx ebx, byte [ecx]
or edi, 0x20
or ebx, 0x20
add eax, 2
inc ecx
cmp ebx, edi
jne 0x49bd4e
dec edx
jns 0x49bd10
mov ax, word [eax]
cmp ax, 9
jb 0x49bd36
cmp ax, 0xd
jbe 0x49bd41
cmp ax, 0x20
je 0x49bd41
test ax, ax
jne 0x49bd4e
mov dword [esp + 0x14], 0x40000000
jmp 0x49be58
push 6
push ebp
push str._right
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49bd6f
mov dword [esp + 0x14], 0x20000000
jmp 0x49be58
push 5
push ebp
push str._left
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49bd90
mov dword [esp + 0x14], SysReAllocStringLen
jmp 0x49be58
push 8
push ebp
push str._bupdate
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49bdb1
or dword [esp + 0x1c], 0x100
jmp 0x49be58
push 9
push ebp
push str._numicong
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49bdd3
mov eax, dword [esp + 0x10]
or eax, 0x100011
jmp 0x49be54
push 8
push ebp
push str._numicon
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49bdf2
mov eax, dword [esp + 0x10]
or eax, 0x100001
jmp 0x49be54
push 7
push ebp
push str._numbmp
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49be11
mov eax, dword [esp + 0x10]
or eax, 0x100002
jmp 0x49be54
push 5
push ebp
push str._num:
call fcn.00440450
add esp, 0xc
test al, al
je 0x49be58
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x124]
add ebp, 0xa
push ecx
mov dword [esp + 0x128], ebp
call fcn.00449a60
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x128]
add esp, 8
or eax, 0x100000
mov dword [esp + 0x10], eax
mov ax, word [ebp]
test ax, ax
je 0x49be86
cmp ax, 9
jb 0x49be6d
cmp ax, 0xd
jbe 0x49be7f
cmp ax, 0x20
je 0x49be7f
mov ax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x49be61
mov dword [esp + 0x120], ebp
mov ax, word [ebp]
cmp ax, 9
jb 0x49be96
cmp ax, 0xd
jbe 0x49be9c
cmp ax, 0x20
jne 0x49bea1
add ebp, 2
jmp 0x49be86
cmp word [ebp], 0x2d
mov dword [esp + 0x120], ebp
je 0x49bd00
mov dx, word [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov word [esi], dx
mov edx, dword [esp + 0x1c]
or edx, eax
push 0x4ebd38
mov dword [esp + 0x20], edx
call ebx
lea esi, [eax + eax + 2]
lea ecx, [esi + 2]
push ecx
call fcn.00445f00
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4ebd38
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], eax
push 0x4ebd38
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00445f00
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4ebd38
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x40], eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x20], eax
push 0x4ebd38
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00445f00
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4ebd38
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x58], eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x28], eax
push 0x4ebd38
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00445f00
mov ecx, esi
mov edx, ecx
mov ebx, eax
shr ecx, 2
mov esi, 0x4ebd38
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x3c], ebx
xor eax, eax
xor esi, esi
cmp word [ebp], 0x2a
mov byte [esp + 0x118], 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1b], 0
jne 0x49bff0
lea eax, [esp + 0x120]
add ebp, 2
push eax
mov byte [esp + 0x1f], 1
mov dword [esp + 0x124], ebp
call fcn.0043f2e0
add esp, 4
push 0x2c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x128]
push edx
call fcn.00449370
mov ecx, dword [esp + 0x38]
add esp, 0xc
push 1
lea eax, [esp + 0x18]
push eax
call fcn.004152c8
mov ecx, dword [esp + 0x120]
cmp word [ecx], 0x2c
je 0x49c0a5
test ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49c041
mov edx, dword [0x51927c]
add ebx, 0xfffffff8
push ebx
push 0
push edx
call esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x49c057
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49c06e
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49c085
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49c09b
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
mov eax, 1
jmp 0x49c487
mov ecx, dword [esp + 0x120]
mov edi, 2
add ecx, edi
mov dword [esp + 0x120], ecx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 1
push 0x2c
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x4c]
call fcn.0045a420
push eax
call fcn.0045d3f0
mov eax, dword [esp + 0x134]
add esp, 0x14
cmp word [eax], 0x2c
jne 0x49c12a
push 1
push 0x2c
lea ecx, [esp + 0x128]
add eax, edi
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x12c], eax
call fcn.0045a420
xor ebp, ebp
push ebp
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00449370
add esp, 0xc
jmp 0x49c12c
xor ebp, ebp
mov eax, dword [esp + 0x20]
push eax
call fcn.0042063d
mov ecx, dword [esp + 0x124]
add esp, 4
cmp word [ecx], 0x2c
mov edi, eax
mov dword [esp + 0x40], edi
jne 0x49c209
mov edx, ecx
add edx, 2
mov dword [esp + 0x120], edx
push 0x2c
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x128]
push eax
call fcn.00449550
mov ecx, dword [esp + 0x12c]
add esp, 0xc
cmp word [ecx], 0x2c
jne 0x49c209
push 1
mov eax, ecx
mov ebx, 2
push 0x2c
lea edx, [esp + 0x128]
add eax, ebx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x12c], eax
call fcn.0045a420
push ebp
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.00449370
mov edx, dword [esp + 0x12c]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x49c205
mov eax, edx
add eax, ebx
push 1
mov dword [esp + 0x124], eax
push 0x2c
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x3c]
call fcn.0045a420
push 0x2c
lea ecx, [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
call fcn.00449690
add esp, 0xc
cmp eax, ebp
jle 0x49c205
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x120]
push edx
mov dword [esp + 0x124], ebx
call fcn.0043f2e0
mov eax, dword [esp + 0x124]
add esp, 4
cmp word [eax], 0x23
je 0x49c242
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.00449a90
add esp, 8
lea eax, [esp + 0x120]
push eax
call fcn.0043f2e0
mov ecx, dword [esp + 0x124]
add esp, 4
cmp word [ecx], 0x23
jne 0x49c27e
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x124]
add ecx, 2
push eax
mov dword [esp + 0x128], ecx
call fcn.00449a90
add esp, 8
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x49c399
movzx eax, al
cmp eax, 1
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], SysReAllocStringLen
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov edi, 0xe
jne 0x49c2b2
mov edi, 3
jmp 0x49c2c3
cmp eax, 2
jne 0x49c2bb
mov edi, eax
jmp 0x49c2c3
cmp eax, ebp
jne 0x49c2c3
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
push 2
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebp
je 0x49c2f0
lea edx, [esp + 0x48]
push edx
push 0x45b0e0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
push eax
mov ecx, 0x7fffffff
sub ecx, esi
push ecx
lea edx, [esp + 0x78]
push str._d__d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
add esp, 0x10
lea eax, [esp + 0x70]
push eax
push edi
call fcn.00444550
cmp ebx, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49c33f
mov ecx, dword [0x51927c]
add ebx, 0xfffffff8
push ebx
push ebp
push ecx
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x49c355
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x49c36a
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push ebp
push eax
call esi
cmp edi, ebp
je 0x49c37c
mov ecx, dword [0x51927c]
add edi, 0xfffffff8
push edi
push ebp
push ecx
call esi
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x49c485
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
jmp 0x49c483
push edi
lea ecx, [esp + 0x14]
call fcn.004127a5
mov al, byte [esp + 0x1b]
test al, al
mov byte [esp + 0x118], 5
je 0x49c3b9
mov eax, dword [esp + 0x2c]
jmp 0x49c3c6
mov eax, dword [esp + 0x124]
mov eax, dword [eax + 0x13c]
mov ecx, dword [esp + 0x1c]
push ecx
push esi
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x14c]
push eax
call fcn.00498330
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49c41d
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
cmp ebx, ebp
je 0x49c42e
mov eax, dword [0x51927c]
add ebx, 0xfffffff8
push ebx
push ebp
push eax
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x49c444
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x49c45a
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x49c46f
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push ebp
push eax
call esi
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x49c485
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
xor eax, eax
pop ebx
pop ebp
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10c
ret 8