Function at 0x47bdc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe4
mov esi, ecx
mov eax, dword [0x8e4a3c]
xor eax, esp
mov dword [esp + 0xe0], eax
push dword [0x91b060]
call fcn.004ac390
add esp, 4
cmp dword [eax], 0
je 0x47be60
mov edi, eax
cmp dword [eax + 4], 0
je 0x47be24
mov eax, dword [0x91b060]
mov eax, dword [eax]
movsx ecx, word [eax + 2]
movsx eax, word [eax]
imul eax, ecx
cmp dword [edi + 0xc], eax
jne 0x47be60
jmp 0x47be24
mov eax, dword [0x91b060]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x47be24
push ecx
call eax
add esp, 4
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x47be10
mov eax, dword [0x91b060]
mov eax, dword [eax]
test byte [eax + 0x10], 0x40
je 0x47be60
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x20]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x47be51
push edi
push dword [ecx + 8]
push eax
call edx
add esp, 0xc
jmp 0x47be60
lea eax, [edi + edi*2]
push eax
push dword [ecx + 8]
call fcn.004af4b0
add esp, 8
push dword [0x91b060]
call fcn.0046e840
add esp, 4
mov ecx, dword [esi + 4]
mov edx, eax
call fcn.0047c890
mov edi, eax
mov eax, dword [0x91b060]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x47be92
mov ecx, dword [esi + 4]
call fcn.0047c890
mov ebx, eax
jmp 0x47be94
xor ebx, ebx
mov eax, edi
or eax, ebx
jne 0x47bf2f
push dword [0x91b060]
call fcn.004ac2c0
add esp, 4
mov ebp, eax
dec ebp
push dword [0x91b060]
call fcn.004ac290
add esp, 4
dec eax
movsx ecx, bp
lea edx, [esp + 0xa0]
cwde
push ecx
push eax
push 0
push 0
push edx
call fcn.004ad0a0
add esp, 0x14
cmp dword [esi + 0x2c], 0
je 0x47c128
lea ebp, [esp + 0xa8]
push ebp
call fcn.00480110
add esp, 4
mov eax, dword [0x91b060]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0xb8], ecx
movzx ecx, byte [eax + 0x29]
mov byte [esp + 0xc2], cl
movzx eax, word [eax + 0x2a]
mov word [esp + 0xac], ax
mov byte [esp + 0xab], cl
lea eax, [esp + 0xa0]
push eax
push ebp
push esi
call dword [esi + 0x2c]
add esp, 0xc
mov eax, dword [0x91b060]
test byte [eax + 0x28], 1
jne 0x47bf5b
mov edx, dword [eax + 0x14]
test edx, edx
je 0x47bf4d
test ebx, ebx
cmovne edx, ebx
mov ecx, esi
call fcn.0047c950
test edi, edi
jne 0x47bf7c
mov eax, dword [0x91b060]
mov edi, dword [eax + 0x10]
jmp 0x47bf7c
test edi, edi
jne 0x47bf62
mov edi, dword [eax + 0x10]
mov ecx, esi
mov edx, edi
call fcn.0047c950
mov eax, dword [0x91b060]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x47bf85
test ebx, ebx
cmovne edi, ebx
mov ecx, esi
mov edx, edi
call fcn.0047c950
push dword [0x91b060]
call fcn.0046e8c0
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.0047c950
push dword [0x91b060]
call fcn.0046e900
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.0047c950
mov esi, dword [0x91b060]
push esi
call fcn.004ac390
add esp, 4
mov ebx, eax
mov dword [esp + 0x50], esi
mov eax, dword [esi]
mov esi, dword [eax + 0x3c]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x47bfda
push esi
call eax
add esp, 4
cmp dword [ebx], 0
je 0x47c01d
cmp dword [ebx + 4], 0
je 0x47c01d
mov eax, dword [0x91b060]
mov eax, dword [eax]
movsx ecx, word [eax]
movsx eax, word [eax + 2]
imul eax, ecx
cmp dword [ebx + 0xc], eax
je 0x47c01d
nop dword [eax + eax]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x47c01d
mov eax, dword [0x91b060]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x47c000
push ecx
call eax
add esp, 4
jmp 0x47c000
mov dword [ebx + 0x10], 1
mov eax, dword [0x91b060]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test dword [ecx + 0x18], 1
je 0x47c045
mov eax, 1
test dword [ecx + 0x18], 2
jne 0x47c047
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x47c0e6
mov edx, dword [ecx + 0x10]
mov edi, dword [esi]
mov dword [esp + 8], edi
mov esi, dword [esi + 4]
mov dword [esp], esi
test dl, 0x30
je 0x47c0b6
and edx, 4
je 0x47c0b6
mov eax, dword [0x91b060]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
mov ecx, dword [ecx + 0x10]
mov edx, ecx
not edx
test dl, 6
jne 0x47c18b
push str.cannot_rotate_a_full_refreshed_display_
push str.draw_buf_rotate
push 0x443
push str.....lvgl_srccorelv_refr.c
push 3
call fcn.004ae560
add esp, 0x14
jmp 0x47c0e6
movd xmm0, dword [ecx + 8]
pshufd xmm0, xmm0, 0
mov edx, dword [esp]
movq xmm1, qword [edx]
paddw xmm1, xmm0
movq qword [esp + 0xa8], xmm1
lea edx, [esp + 0xa8]
push dword [esp + 8]
push edx
push ecx
call eax
add esp, 0xc
mov eax, dword [ebx]
test eax, eax
je 0x47c10f
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x47c10f
mov edx, dword [esp + 0x50]
mov edx, dword [edx]
test byte [edx + 0x10], 1
je 0x47c106
cmp dword [esp + 0x78], 0
je 0x47c10f
cmp dword [ebx + 8], eax
cmovne ecx, eax
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.004c0e60
add esp, 0xe4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x91b060]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x47c7a2
lea ecx, [esp + 0x9c]
push ecx
push eax
call fcn.00481530
add esp, 8
cmp al, 1
jne 0x47c7dd
lea ebp, [esp + 0xa8]
push ebp
call fcn.0047d300
add esp, 4
mov eax, dword [0x91b060]
movzx ecx, byte [eax + 0x29]
mov byte [esp + 0xb3], cl
push dword [eax + 0x2c]
lea eax, [esp + 0xa4]
push eax
push ebp
push esi
call fcn.0047d330
add esp, 0x10
jmp 0x47bf2f
shr ecx, 4
and ecx, 3
cmp ecx, 1
mov dword [esp + 0x30], ebx
je 0x47c218
cmp ecx, 3
je 0x47c218
cmp ecx, 2
jne 0x47c0e6
mov ecx, dword [esp]
movzx edx, word [ecx + 4]
movzx eax, word [ecx]
mov edi, edx
sub edi, eax
inc edi
movzx esi, word [ecx + 6]
movzx ecx, word [ecx + 2]
mov ebx, esi
sub ebx, ecx
inc ebx
movsx ebp, di
movsx edi, bx
imul edi, ebp
dec edi
je 0x47c81a
mov eax, 1
mov esi, dword [esp + 8]
nop dword [eax]
movzx ecx, word [esi + edi*2]
movzx edx, word [esi + eax*2 - 2]
mov word [esi + edi*2], dx
mov word [esi + eax*2 - 2], cx
dec edi
lea ecx, [eax + 1]
cmp edi, eax
mov eax, ecx
ja 0x47c1e0
mov ebp, dword [esp]
movzx esi, word [ebp + 6]
movzx eax, word [ebp]
movzx ecx, word [ebp + 2]
movzx edx, word [ebp + 4]
mov ebx, dword [esp + 0x30]
jmp 0x47c821
push eax
call fcn.004ac390
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
movzx esi, word [eax + 4]
movzx ecx, word [eax]
mov edx, esi
sub edx, ecx
inc edx
movzx edi, word [eax + 6]
movzx ebp, word [eax + 2]
mov eax, ebp
mov dword [esp + 0x2c], ebp
sub edi, ebp
inc edi
mov dword [esp + 0x10], edx
movsx ebp, dx
mov eax, 0x1400
xor edx, edx
mov dword [esp + 0xc], ebp
div ebp
movsx edx, di
mov dword [esp + 0x14], edx
cmp eax, edx
mov dword [esp + 0x48], edi
mov edx, edi
cmovl edx, eax
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x10]
and edi, 0x30
mov ebp, esi
mov eax, esi
mov esi, ecx
cmp edi, 0x10
jne 0x47c293
mov eax, ecx
not eax
mov esi, dword [esp + 4]
add ax, word [esi + 2]
mov esi, eax
sub esi, dword [esp + 0x10]
inc esi
mov edi, dword [esp]
mov word [edi + 6], ax
mov word [edi + 2], si
cmp word [esp + 0x48], 0
jle 0x47c0e6
movsx eax, dx
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0x10]
movzx eax, dx
shr eax, 1
mov dword [esp + 0x94], eax
mov esi, dword [esp + 0xc]
lea eax, [esi + 1]
shr eax, 0x1f
add eax, esi
inc eax
sar eax, 1
mov dword [esp + 0x98], eax
mov eax, 1
sub eax, edx
mov dword [esp + 0x6c], eax
mov edi, dword [esp + 0x2c]
not edi
mov eax, ebp
sub eax, ecx
not ebp
add ebp, ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x74], eax
movzx eax, ax
inc eax
mov dword [esp + 0x88], eax
and eax, 0xfffffff8
lea ecx, [edx - 1]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x2c]
add ecx, edx
dec ecx
mov dword [esp + 0x64], ecx
lea ecx, [esi - 1]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], edi
movzx ecx, di
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], eax
add eax, eax
mov dword [esp + 0x84], eax
xor ecx, ecx
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x18], 0
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x14]
jmp 0x47c384
imul edi, dword [esp + 0xc]
mov eax, dword [esp + 8]
lea eax, [eax + edi*2]
mov dword [esp + 8], eax
mov eax, ebp
shl eax, 0x10
movsx ecx, bp
mov esi, dword [esp + 0x14]
cmp ecx, esi
jge 0x47c800
mov dword [esp + 0x58], ecx
sub esi, ecx
mov ecx, dword [esp + 0x80]
cmp esi, ecx
cmovge esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x10], 1
test eax, eax
jne 0x47c4c0
mov eax, dword [esp + 0x48]
cmp ax, word [esp + 0x10]
jl 0x47c4c0
mov esi, dword [edx + 0x10]
cmp word [esp + 0x10], 2
jl 0x47c68b
and esi, 0x30
xor edx, edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], esi
jmp 0x47c3f6
mov edx, dword [esp + 0x24]
inc edx
cmp edx, dword [esp + 0x94]
mov ecx, dword [esp + 0xc]
je 0x47c680
mov eax, dword [esp + 0x5c]
sub eax, edx
cwde
mov dword [esp + 0x20], eax
imul eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edx
imul edx, ecx
mov dword [esp + 0x3c], edx
xor ebx, ebx
jmp 0x47c48c
movsx edi, dx
mov ebp, edi
imul ebp, dword [esp + 0xc]
add ebp, dword [esp + 0x24]
mov edx, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x44]
movzx esi, word [ecx + eax*2]
mov word [esp + 0x28], si
imul edx, dword [esp + 0xc]
add edx, dword [esp + 0x34]
movzx esi, word [ecx + edx*2]
mov word [ecx + eax*2], si
add edi, dword [esp + 0x40]
movzx eax, word [ecx + edi*2]
mov word [ecx + edx*2], ax
movzx eax, word [ecx + ebp*2]
mov word [ecx + edi*2], ax
movzx eax, word [esp + 0x28]
mov word [ecx + ebp*2], ax
inc ebx
movsx ebx, bx
cmp dword [esp + 0x98], ebx
mov esi, dword [esp + 0x38]
jle 0x47c3e0
mov edx, dword [esp + 0x5c]
sub edx, ebx
mov eax, dword [esp + 0x3c]
add eax, ebx
cmp esi, 0x30
mov dword [esp + 0x44], eax
jne 0x47c420
mov ebp, ebx
imul ebp, dword [esp + 0xc]
add ebp, dword [esp + 0x20]
movsx edi, dx
mov edx, edi
mov eax, dword [esp + 0x24]
jmp 0x47c434
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47c4dd
push 0x2800
call fcn.004aeb40
mov edx, dword [esp + 8]
add esp, 4
mov dword [esp + 0x18], eax
mov ebp, dword [edx + 0x10]
test si, si
mov edi, esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x7c], edi
jle 0x47c657
and ebp, 0x30
movsx eax, di
mov ecx, eax
imul ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, eax
imul ecx, dword [esp + 0x70]
mov dword [esp + 0x40], ecx
cmp word [esp + 0x74], 0xf
setae dl
mov ecx, eax
neg ecx
cmp ebp, 0x30
cmove ecx, eax
movzx eax, di
mov dword [esp + 0x34], eax
cmp ecx, 1
sete al
and al, dl
mov byte [esp + 0x3c], al
imul esi, ecx
mov dword [esp + 0x38], esi
mov eax, ecx
shl eax, 4
mov dword [esp + 0x8c], eax
add ecx, ecx
xor edx, edx
mov esi, dword [esp + 8]
mov dword [esp + 0x20], ebp
jmp 0x47c573
mov edi, esi
mov edx, dword [esp + 0x44]
inc edx
mov esi, edi
cmp edx, dword [esp + 0x34]
je 0x47c650
cmp word [esp + 0x10], 0
mov dword [esp + 0x44], edx
jle 0x47c560
mov eax, dword [esp + 0x40]
add eax, edx
mov edi, eax
not edi
add edi, dword [esp + 0x24]
cmp ebp, 0x30
cmovne edi, eax
cmp byte [esp + 0x3c], 0
je 0x47c5c0
mov ebp, dword [esp + 0x18]
mov edx, edi
lea edi, [edi*2]
add edi, ebp
sub edi, esi
xor eax, eax
cmp edi, 0x10
jae 0x47c5f4
mov dword [esp + 0x28], edx
mov edi, esi
mov ebp, dword [esp + 0x20]
jmp 0x47c5c8
mov dword [esp + 0x28], edi
xor eax, eax
mov edi, esi
add eax, dword [esp + 0x90]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
lea edx, [esi + edx*2]
nop word [eax + eax]
movzx esi, word [edi]
add edi, 2
mov word [edx], si
add edx, ecx
inc ax
jne 0x47c5e0
jmp 0x47c562
lea ebx, [edx + edx]
add edx, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x84]
add edi, esi
add ebx, ebp
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x8c]
nop word cs:[eax + eax]
movdqu xmm0, xmmword [esi + eax*2]
movdqu xmmword [ebx], xmm0
add eax, 8
add ebx, edx
cmp ebp, eax
jne 0x47c620
mov eax, ebp
cmp dword [esp + 0x88], ebp
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
je 0x47c562
jmp 0x47c5c8
mov edx, dword [esp + 4]
mov ebp, dword [edx + 0x10]
mov edi, dword [esp + 0x4c]
and ebp, 0x30
cmp ebp, 0x10
mov esi, dword [esp + 0x7c]
jne 0x47c6b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
add eax, ecx
mov ecx, dword [esp]
mov word [ecx], ax
add eax, esi
dec eax
mov word [ecx + 4], ax
jmp 0x47c6f0
mov edx, dword [esp + 4]
mov esi, dword [edx + 0x10]
mov ebx, dword [esp + 0x30]
and esi, 0x30
cmp esi, 0x10
jne 0x47c6d0
mov ecx, dword [esp]
mov eax, dword [esp + 0x2c]
mov word [ecx], ax
mov eax, dword [esp + 0x64]
mov word [ecx + 4], ax
jmp 0x47c6ea
movzx eax, word [edx]
mov ecx, dword [esp + 0x60]
sub ecx, edi
add ecx, eax
mov eax, dword [esp]
mov word [eax + 4], cx
sub ecx, esi
inc ecx
mov word [eax], cx
mov ecx, eax
jmp 0x47c6f0
movzx eax, word [edx]
add ax, word [esp + 0x68]
mov ecx, dword [esp + 0x6c]
add ecx, eax
mov esi, dword [esp]
mov word [esi + 4], ax
mov word [esi], cx
mov ecx, esi
mov eax, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
movsx edi, si
mov esi, dword [esp + 0x58]
add esi, edi
mov ebp, esi
cmp esi, eax
jl 0x47c730
mov eax, dword [esp + 0x1c]
test dword [eax + 0x18], 1
je 0x47c730
mov eax, 1
mov esi, dword [esp + 0x1c]
test dword [esi + 0x18], 2
jne 0x47c732
nop word cs:[eax + eax]
xor eax, eax
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
test eax, eax
cmove eax, dword [esp + 8]
movd xmm0, dword [edx + 8]
pshufd xmm0, xmm0, 0
movq xmm1, qword [ecx]
paddw xmm1, xmm0
movq qword [esp + 0xa8], xmm1
push eax
lea eax, [esp + 0xac]
push eax
push edx
mov eax, dword [esp + 0x10]
call dword [eax + 0x14]
mov edx, dword [esp + 0x10]
add esp, 0xc
mov eax, dword [esi + 0x10]
jmp 0x47c787
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x47c360
mov eax, dword [edx + 0x28]
test eax, eax
je 0x47c780
push edx
call eax
mov edx, dword [esp + 8]
add esp, 4
jmp 0x47c780
lea ebp, [esp + 0xa8]
push ebp
call fcn.00480110
add esp, 4
mov eax, dword [0x91b060]
movzx ecx, word [eax + 0x2a]
mov word [esp + 0xac], cx
movzx eax, byte [eax + 0x29]
mov byte [esp + 0xab], al
push dword [esi + 4]
push ebp
push esi
call fcn.00480170
jmp 0x47bf2c
push str.Cant_draw_the_background_image
push str.refr_area_part
push 0x2a0
push str.....lvgl_srccorelv_refr.c
push 2
call fcn.004ae560
add esp, 0x14
jmp 0x47bf2f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47c0e6
push eax
call fcn.004aedf0
add esp, 4
jmp 0x47c0e6
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp]
not ecx
mov edi, dword [esp + 4]
add cx, word [edi + 2]
not esi
mov word [ebp + 6], cx
add si, word [edi + 2]
not eax
mov word [ebp + 2], si
add ax, word [edi]
not edx
mov word [ebp + 4], ax
add dx, word [edi]
mov word [ebp], dx
movd xmm0, dword [edi + 8]
pshufd xmm0, xmm0, 0
movd xmm1, edx
pinsrw xmm1, esi, 1
pinsrw xmm1, eax, 2
pinsrw xmm1, ecx, 3
paddw xmm1, xmm0
movq qword [esp + 0xa8], xmm1
lea eax, [esp + 0xa8]
push dword [esp + 8]
push eax
push edi
call dword [edi + 0x14]
jmp 0x47c0e3