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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
mov esi, ecx
push str.DISPLAY
call dword [0x476018]
mov ebp, eax
lea eax, [esp + 0x48]
push 0x482210
push eax
call dword [0x4760e8]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x48]
push ecx
push edx
call dword [0x4760ec]
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
push eax
mov ebx, dword [esp + 0x74]
push 0
push 0
push 0
neg edi
push 0
push 0x80
sbb edi, edi
push 0
and edi, 0x2bc
push 0
push ecx
push edi
push 0
and ebx, 0xffff
push 0
push 0
push ebx
call dword [0x476024]
lea edx, [esp + 0x48]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
push edx
push 0
push 0
push 0
push 0
push 0x80
push 0
push 0
push eax
push edi
push 0
push 0
push 0
push ebx
call dword [0x476024]
mov ecx, dword [esp + 0x78]
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x18], eax
je 0x45f086
mov ecx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], eax
mov word [esp + 0x24], dx
mov word [esp + 0x26], dx
mov word [esp + 0x28], dx
mov word [esp + 0x2a], 0xffff
mov word [esp + 0x2c], dx
mov word [esp + 0x2e], 1
mov word [esp + 0x30], dx
mov word [esp + 0x32], dx
jmp 0x45f0bb
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x70], eax
mov eax, 1
mov word [esp + 0x24], dx
mov word [esp + 0x26], ax
mov word [esp + 0x28], dx
mov word [esp + 0x2a], dx
mov word [esp + 0x2c], dx
mov word [esp + 0x2e], dx
mov word [esp + 0x30], dx
mov word [esp + 0x32], ax
push ecx
push ebp
call dword [0x476030]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
push ecx
lea ebx, [esi + 8]
push 0
push 0
and eax, 0xffff
push ebx
push 6
push eax
push ebp
mov dword [esp + 0x88], eax
call dword [0x476040]
mov edi, eax
test edi, edi
je 0x45f29e
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45f29e
push edi
call fcn.00463c77
add esp, 4
lea edx, [esp + 0x24]
mov dword [esp + 0x10], eax
push edx
push eax
mov eax, dword [esp + 0x74]
push edi
push ebx
push 6
push eax
push ebp
call dword [0x476040]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 4]
lea ecx, [edx + esi + 4]
mov edx, dword [esi + 0xc]
push edx
mov edx, dword [ebx]
push edx
call dword [eax + 0xe8]
mov eax, edi
xor edx, edx
div dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 4]
lea ecx, [ecx + esi + 4]
call dword [edx + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
xor edx, edx
test eax, eax
mov dword [esp + 0x7c], edx
jbe 0x45f1e6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [ebx]
mov edi, dword [esp + 0x1c]
mov ecx, eax
imul ecx, edx
lea ecx, [edi + ecx*4]
xor edi, edi
test eax, eax
jbe 0x45f1c6
add ecx, 2
mov eax, dword [esp + 0x80]
xor edx, edx
add ecx, 4
mov dl, byte [eax + edi]
mov eax, edx
shl eax, 8
sub eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sar eax, 3
mov byte [ecx - 6], al
mov byte [ecx - 5], al
mov byte [ecx - 4], al
mov eax, dword [ebx]
inc edi
cmp edi, eax
jb 0x45f190
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x80]
mov eax, dword [esi + 0xc]
inc edx
add edi, ecx
cmp edx, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edi
jb 0x45f179
mov edx, dword [esp + 0x70]
mov edi, dword [0x476030]
push edx
push ebp
call edi
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push edx
push ebp
call dword [0x476040]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45f22e
mov ax, word [esp + 0x46]
mov ecx, dword [esi + 0x14]
mov word [esi + 0x18], ax
movsx eax, ax
add ecx, eax
mov dword [esi + 0x14], ecx
jmp 0x45f237
mov cx, word [esp + 0x44]
mov word [esi + 0x1a], cx
mov edx, dword [esp + 0x10]
push edx
call fcn.00463db1
mov eax, dword [esp + 0x18]
add esp, 4
push eax
push ebp
call edi
push ebp
call dword [0x476014]
mov ecx, dword [esp + 0x74]
mov edi, dword [0x476020]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call edi
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x84]
push eax
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 4]
call fcn.00442740
mov eax, dword [esi + 4]
push 0x16
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 4]
lea ecx, [ecx + esi + 4]
call dword [edx + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 4]
lea ecx, [ecx + esi + 4]
call dword [edx + 0xc]
mov eax, dword [esp + 0x14]
push eax
push ebp
call dword [0x476030]
push ebp
call dword [0x476014]
mov ecx, dword [esp + 0x74]
mov esi, dword [0x476020]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c