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

Disassembly:
push 0xffffffffffffffff
push 0x4ec512
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.00449130
add esp, 4
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x49b37e
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.00443850
mov eax, dword [esp + 0x120]
add esp, 4
cmp eax, edi
jne 0x49b3e3
push esi
call fcn.004216e2
mov esi, dword [esi + 0x2c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x11c], esi
jne 0x49b3e3
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x49b3d9
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x80070057
jmp 0x49bbc9
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 0x49b422
xor eax, eax
mov ax, word [ebp]
cmp ax, di
je 0x49b422
cmp ax, 0x2c
je 0x49b422
mov ax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x49b410
mov dx, word [esi]
mov word [esi], di
cmp word [ebp], 0x2d
push ebx
mov word [esp + 0x24], dx
jne 0x49b5f3
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 0x49b48e
dec edx
jns 0x49b450
mov ax, word [eax]
cmp ax, 9
jb 0x49b476
cmp ax, 0xd
jbe 0x49b481
cmp ax, 0x20
je 0x49b481
test ax, ax
jne 0x49b48e
mov dword [esp + 0x14], 0x40000000
jmp 0x49b598
push 6
push ebp
push str._right
call fcn.00444970
add esp, 0xc
test al, al
je 0x49b4af
mov dword [esp + 0x14], 0x20000000
jmp 0x49b598
push 5
push ebp
push str._left
call fcn.00444970
add esp, 0xc
test al, al
je 0x49b4d0
mov dword [esp + 0x14], SysReAllocStringLen
jmp 0x49b598
push 8
push ebp
push str._bupdate
call fcn.00444970
add esp, 0xc
test al, al
je 0x49b4f1
or dword [esp + 0x1c], 0x100
jmp 0x49b598
push 9
push ebp
push str._numicong
call fcn.00444970
add esp, 0xc
test al, al
je 0x49b513
mov eax, dword [esp + 0x10]
or eax, 0x100011
jmp 0x49b594
push 8
push ebp
push str._numicon
call fcn.00444970
add esp, 0xc
test al, al
je 0x49b532
mov eax, dword [esp + 0x10]
or eax, 0x100001
jmp 0x49b594
push 7
push ebp
push str._numbmp
call fcn.00444970
add esp, 0xc
test al, al
je 0x49b551
mov eax, dword [esp + 0x10]
or eax, 0x100002
jmp 0x49b594
push 5
push ebp
push str._num:
call fcn.004449d0
add esp, 0xc
test al, al
je 0x49b598
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x124]
add ebp, 0xa
push ecx
mov dword [esp + 0x128], ebp
call fcn.0044ce60
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 0x49b5c6
cmp ax, 9
jb 0x49b5ad
cmp ax, 0xd
jbe 0x49b5bf
cmp ax, 0x20
je 0x49b5bf
mov ax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x49b5a1
mov dword [esp + 0x120], ebp
mov ax, word [ebp]
cmp ax, 9
jb 0x49b5d6
cmp ax, 0xd
jbe 0x49b5dc
cmp ax, 0x20
jne 0x49b5e1
add ebp, 2
jmp 0x49b5c6
cmp word [ebp], 0x2d
mov dword [esp + 0x120], ebp
je 0x49b440
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 0x4efd50
mov dword [esp + 0x20], edx
call ebx
lea esi, [eax + eax + 2]
lea ecx, [esi + 2]
push ecx
call fcn.00449130
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4efd50
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 0x4efd50
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00449130
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4efd50
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 0x4efd50
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00449130
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4efd50
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 0x4efd50
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00449130
mov ecx, esi
mov edx, ecx
mov ebx, eax
shr ecx, 2
mov esi, 0x4efd50
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 0x49b730
lea eax, [esp + 0x120]
add ebp, 2
push eax
mov byte [esp + 0x1f], 1
mov dword [esp + 0x124], ebp
call fcn.00443850
add esp, 4
push 0x2c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x128]
push edx
call fcn.0044c770
mov ecx, dword [esp + 0x38]
add esp, 0xc
push 1
lea eax, [esp + 0x18]
push eax
call fcn.004166b6
mov ecx, dword [esp + 0x120]
cmp word [ecx], 0x2c
je 0x49b7e5
test ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49b781
mov edx, dword [0x51d3c8]
add ebx, 0xfffffff8
push ebx
push 0
push edx
call esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x49b797
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call esi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49b7ae
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49b7c5
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49b7db
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call esi
mov eax, 1
jmp 0x49bbc7
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.00459430
push eax
call fcn.0045c3e0
mov eax, dword [esp + 0x134]
add esp, 0x14
cmp word [eax], 0x2c
jne 0x49b86a
push 1
push 0x2c
lea ecx, [esp + 0x128]
add eax, edi
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x12c], eax
call fcn.00459430
xor ebp, ebp
push ebp
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0044c770
add esp, 0xc
jmp 0x49b86c
xor ebp, ebp
mov eax, dword [esp + 0x20]
push eax
call fcn.00422077
mov ecx, dword [esp + 0x124]
add esp, 4
cmp word [ecx], 0x2c
mov edi, eax
mov dword [esp + 0x40], edi
jne 0x49b949
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.0044c950
mov ecx, dword [esp + 0x12c]
add esp, 0xc
cmp word [ecx], 0x2c
jne 0x49b949
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.00459430
push ebp
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.0044c770
mov edx, dword [esp + 0x12c]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x49b945
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.00459430
push 0x2c
lea ecx, [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
call fcn.0044ca90
add esp, 0xc
cmp eax, ebp
jle 0x49b945
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x120]
push edx
mov dword [esp + 0x124], ebx
call fcn.00443850
mov eax, dword [esp + 0x124]
add esp, 4
cmp word [eax], 0x23
je 0x49b982
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.0044ce90
add esp, 8
lea eax, [esp + 0x120]
push eax
call fcn.00443850
mov ecx, dword [esp + 0x124]
add esp, 4
cmp word [ecx], 0x23
jne 0x49b9be
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x124]
add ecx, 2
push eax
mov dword [esp + 0x128], ecx
call fcn.0044ce90
add esp, 8
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x49bad9
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 0x49b9f2
mov edi, 3
jmp 0x49ba03
cmp eax, 2
jne 0x49b9fb
mov edi, eax
jmp 0x49ba03
cmp eax, ebp
jne 0x49ba03
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 0x49ba30
lea edx, [esp + 0x48]
push edx
push 0x45a0f0
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.00448be0
cmp ebx, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49ba7f
mov ecx, dword [0x51d3c8]
add ebx, 0xfffffff8
push ebx
push ebp
push ecx
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x49ba95
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x49baaa
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
cmp edi, ebp
je 0x49babc
mov ecx, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push ebp
push ecx
call esi
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x49bbc5
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
jmp 0x49bbc3
push edi
lea ecx, [esp + 0x14]
call fcn.004134f5
mov al, byte [esp + 0x1b]
test al, al
mov byte [esp + 0x118], 5
je 0x49baf9
mov eax, dword [esp + 0x2c]
jmp 0x49bb06
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.004984d0
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49bb5d
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
cmp ebx, ebp
je 0x49bb6e
mov eax, dword [0x51d3c8]
add ebx, 0xfffffff8
push ebx
push ebp
push eax
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x49bb84
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x49bb9a
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x49bbaf
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x49bbc5
mov ecx, dword [0x51d3c8]
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